I know it doesn't look like much, but you'll be surprised when you here it talk! This was my latest creation for a Secret Santa gift exchange for the comedy site www.zug.com. I found this little talking toy duck at a local goodwill. When you pressed little button on it's foot, it would sing a silly song with it's mouth moving in sync with the words, and flap its wings. I wanted it to say something different, something funny. I used the following core components.
I picked the SOMO14D audio player because I've used them before and know how to code them. You can pick them up from Sparkfun for about $25. I picked the 16F628 because I happened to had a few laying around. This would turn out to be a mistake, as you will see later.
The stock duck works as follows: There are two DC motors and a bunch of gears. One motor for the mouth, and one that flaps the wings. The mouth motor has a spring that keeps it closed. Both motors go to a little pcb with a BBIC (Black Blob Integrated Circuit). The switch on the foot also goes to the pcb, and starts/stops the ducks routine.
One thing I learned from hacking these type of toys in the past is that it's best to use the stock PCB to drive the motors. And I did just that. It was a trivial task finding the signals for the mouth and wings on the stock PCB. I would tap into these and feed my own signals to the mouth and wings driver transistors. I would use the SOMO-14D to feed my own audio to the speaker. And wala! A hacked duck!
The audio in the video below is VERY NOT SAFE FOR WORK and has sexual language.