Talking Hamster Hack
![mainBubble1.jpg](/proxy/?url=https://content.instructables.com/FRZ/K07K/IW6PEDL8/FRZK07KIW6PEDL8.jpg&filename=mainBubble1.jpg)
This hack allows you to play your own custom messages through an animatronic talking Hamster. If you are unfamiliar, these hamster toys repeat everything you say in a cute cartoonish animal voice while bobbing up and down. By replacing the hamster's microphone input with an audio feed from an Adafruit Audio FX board, and using a vibration switch as a trigger, you can have the hamster basically say any prerecorded message you want when you tap its nose. This makes for a fun and easy personalized gift for children of all ages.
While this isn't a difficult electronics project, it does require some knowledge of electronics and soldering. To learn about both, check out the Electronics Class.
Materials
![1A.jpg](/proxy/?url=https://content.instructables.com/FTP/GVK9/IW5JBN9Y/FTPGVK9IW5JBN9Y.jpg&filename=1A.jpg)
To make your own, you will need:
(x1) Talking hamster
(x1) Audio FX board
(x1) Vibration switch
(x2) 10uF capacitors
(x1) 10K resistor
(x1) 1K resistor
(x1) Assorted shrink tube
(x1) 12" zip tie
(x3) AAA batteries
Skin the Hamster
![2A.jpg](/proxy/?url=https://content.instructables.com/F0F/ZAE7/IVO866CS/F0FZAE7IVO866CS.jpg&filename=2A.jpg)
![2B.jpg](/proxy/?url=https://content.instructables.com/FB3/I3I6/IVO866CW/FB3I3I6IVO866CW.jpg&filename=2B.jpg)
![2C.jpg](/proxy/?url=https://content.instructables.com/FTX/SZDU/IVO866D7/FTXSZDUIVO866D7.jpg&filename=2C.jpg)
Remove the hamsters little furry pelt by cutting the small zip tie holding it to the inner hard plastic enclosure.
This can be found in the back of the hamster near the base.
Open the Enclosure
![3A.jpg](/proxy/?url=https://content.instructables.com/F08/X17G/IW5JAWAM/F08X17GIW5JAWAM.jpg&filename=3A.jpg)
![3B.jpg](/proxy/?url=https://content.instructables.com/F32/72ON/IW5JAWBX/F3272ONIW5JAWBX.jpg&filename=3B.jpg)
Remove the screws holding the enclosure shut and set them aside for reassembly later.
Pull the back plastic shell away from the assembly to expose the circuit board.
Drill a Hole
![4A.jpg](/proxy/?url=https://content.instructables.com/F8E/QCCW/IW5JAX8C/F8EQCCWIW5JAX8C.jpg&filename=4A.jpg)
![4B.jpg](/proxy/?url=https://content.instructables.com/FAM/DQ5M/IW5JAX8V/FAMDQ5MIW5JAX8V.jpg&filename=4B.jpg)
Drill a 3/16" hole in the back enclosure shell. This will be used to pass through the wires from the audio FX board.
Wire the Switch
![5A.jpg](/proxy/?url=https://content.instructables.com/FCL/2S3L/IW5JAXQK/FCL2S3LIW5JAXQK.jpg&filename=5A.jpg)
![5B.jpg](/proxy/?url=https://content.instructables.com/FYY/PKKI/IW5JAXRU/FYYPKKIIW5JAXRU.jpg&filename=5B.jpg)
![5C.jpg](/proxy/?url=https://content.instructables.com/FPQ/XXMS/IW5JAXSP/FPQXXMSIW5JAXSP.jpg&filename=5C.jpg)
![5D.jpg](/proxy/?url=https://content.instructables.com/FRM/L5T0/IW5JAXTS/FRML5T0IW5JAXTS.jpg&filename=5D.jpg)
![5E.jpg](/proxy/?url=https://content.instructables.com/FV1/86VO/IW5JAXUR/FV186VOIW5JAXUR.jpg&filename=5E.jpg)
![5F.jpg](/proxy/?url=https://content.instructables.com/F5R/8GWH/IW5JAXV6/F5R8GWHIW5JAXV6.jpg&filename=5F.jpg)
The vibration switch needs to be wired in parallel to a capacitor in order to debounce the switch and ensure a clean trigger of the audio board.
So, to begin, solder a lead from the capacitor to one on the switch, and then solder the other pair together.
Take note of which pair is wired to the ground stripe and the capacitor, and solder a 4" black wire to this pair.
Solder a 4" green wire to the other pair of leads.
Slide shrink tube over each solder joint and melt it into place.
Bend the capacitor backwards such that it is in-line with the vibration switch. Slide a piece of shrink tube over it and melt it into place to insulate the assembly and hold everything firmly in place.
Record and Upload Audio
![Screen Shot 2016-11-30 at 6.31.25 PM.png](/proxy/?url=https://content.instructables.com/FGO/PVVB/IW5JAYSW/FGOPVVBIW5JAYSW.png&filename=Screen Shot 2016-11-30 at 6.31.25 PM.png)
Record a sound clip using your audio recording application of choice. Mine is Audacity. It is free and relatively easy to use.
You can record up to 10 audio tracks.
Some considerations to keep in mind when recording audio is that if there is a break in audio that extends more than a second or two, the Hamster might drop some of the words after the break. Thus, try to prevent dramatic pauses. Also, the Hamster will wait for the entire clip to play before repeating, so it is advisable not to make the clip too long. Another thing to keep in mind is that if the audio is too quiet, the Hamster will assume it is just background noise and not repeat it. Finally, leave a few seconds of silence at the end of each audio clip. This gives the animatronic motion time to stop and prevents it from re-triggering the audio board at the end of the clip.
When you are happy with all of your audio, export them as .WAV files and with the following naming convention:
T00RAND0.WAV
T00RAND1.WAV
T00RAND2.WAV
etc...
This naming convention will play the 10 files at random when pin 0 on the board gets grounded.
When all your files are saved, connect the Audio FX board to your computer via the USB port. It should show up as a regular hard drive. Simply copy your audio files onto the FX board and eject it from your computer.
Check out the full Audio FX board documentation if you are confused.
Wire It Up
![6A.jpg](/proxy/?url=https://content.instructables.com/FL1/L362/IW5JAXYM/FL1L362IW5JAXYM.jpg&filename=6A.jpg)
![schematic.jpg](/proxy/?url=https://content.instructables.com/FBO/JEYA/IW6PES6A/FBOJEYAIW6PES6A.jpg&filename=schematic.jpg)
Connect the green wire from the switch assembly to pin 0 on the audio board, and the black wire to ground on the audio board.
Solder a 6" red wire to the Vin pin on the audio board.
Solder a 6" black wire to the ground pin on the audio board.
Solder a 6" green wire to the L (audio channel) pin on the audio board.
Solder a 6" black wire to the ground terminal next to the L terminal.
Cut the Microphone Wires
![7A.jpg](/proxy/?url=https://content.instructables.com/F0K/VBUV/IW5JAYB3/F0KVBUVIW5JAYB3.jpg&filename=7A.jpg)
Cut the red and black electret microphone wires away from the circuit board.
Insert the Wires
![8A.jpg](/proxy/?url=https://content.instructables.com/FUS/G21I/IW5JAYD7/FUSG21IIW5JAYD7.jpg&filename=8A.jpg)
Pass the four 6" wires from the audio board through the hole drilled in the plastic shell from the outside in.
Power Wires
![8B.jpg](/proxy/?url=https://content.instructables.com/FYU/LMSW/IW5JAYDH/FYULMSWIW5JAYDH.jpg&filename=8B.jpg)
Solder the red power wire from the audio board to the same terminal on the hamster's circuit board that the red wire from the battery compartment is attached to.
Solder the black wire from the audio board to the terminal on the hamster's circuit board that the black wire from the battery compartment is attached to.
By doing this, when the power switch is toggled, it will turn on both the hamster's circuit board and the audio fx board.
1K Resistor
![9A.jpg](/proxy/?url=https://content.instructables.com/FQY/KXCA/IW5JAYMW/FQYKXCAIW5JAYMW.jpg&filename=9A.jpg)
Solder a 1K resistor between the terminals that the microphone was previously attached to.
Resistor and Capaictor
![10A.jpg](/proxy/?url=https://content.instructables.com/F5N/7K7Z/IW5JB0LU/F5N7K7ZIW5JB0LU.jpg&filename=10A.jpg)
![10B.jpg](/proxy/?url=https://content.instructables.com/FCC/OMSD/IW5JB0ML/FCCOMSDIW5JB0ML.jpg&filename=10B.jpg)
![10C.jpg](/proxy/?url=https://content.instructables.com/FKG/ITQT/IW5JB0N7/FKGITQTIW5JB0N7.jpg&filename=10C.jpg)
Solder a 10K resistor to the positive lead of a 10uF capacitor.
Bend back the negative lead of the capacitor and solder that to the 6" green wire from the audio board.
Finally, insulate most of this assembly with shrink tube, but leave the lead from the resistor sticking out the end.
Wire the Rest
![11A.jpg](/proxy/?url=https://content.instructables.com/FVV/D4FJ/IW5JB0X9/FVVD4FJIW5JB0X9.jpg&filename=11A.jpg)
Solder the remaining 6" black wire from the audio FX board to the lead of the 1K resistor attached to the electret microphone's negative terminal on the hamster's circuit board.
Solder the unconnected 10K lead to the other side of the 1K resistor that is connected to the electret microphone's positive terminal on the hamster's circuit board.
Hot Glue
![12A.jpg](/proxy/?url=https://content.instructables.com/FT7/0AXG/IW5JB174/FT70AXGIW5JB174.jpg&filename=12A.jpg)
Secure the resistor and capacitor to the surface of the circuit board with a little bit of hot glue. This will keep it in place and keep the connection from breaking.
Close the Case
![13A.jpg](/proxy/?url=https://content.instructables.com/FE3/FM5E/IW5JB1O8/FE3FM5EIW5JB1O8.jpg&filename=13A.jpg)
Reassemble the plastic casing using the screws you set aside earlier when you took it apart.
Insulate the FX Board
![14A.jpg](/proxy/?url=https://content.instructables.com/F0A/NGD5/IW5JB1VH/F0ANGD5IW5JB1VH.jpg&filename=14A.jpg)
Using a large 1" (or so) diameter piece of shrink tube, insulate the audio board to keep it from shorting, and to hold the wire securely in place.
Insert
![15A.jpg](/proxy/?url=https://content.instructables.com/F6F/NM55/IW5JB29G/F6FNM55IW5JB29G.jpg&filename=15A.jpg)
Insert the sensor into the hamster's cute little nose, and the audio board up into it's soft little head.
![15C.jpg](/proxy/?url=https://content.instructables.com/FS7/03TI/IW6PEF4O/FS703TIIW6PEF4O.jpg&filename=15C.jpg)
![15B.jpg](/proxy/?url=https://content.instructables.com/FLC/WDTG/IW5JB2A1/FLCWDTGIW5JB2A1.jpg&filename=15B.jpg)
![15D.jpg](/proxy/?url=https://content.instructables.com/FX8/73IY/IW6PEF50/FX873IYIW6PEF50.jpg&filename=15D.jpg)
Slide the hamster's pelt back onto it's inner skeleton and use a new zip tie to secure it back into place.
Insert Batteries
![16A.jpg](/proxy/?url=https://content.instructables.com/FDT/FO2M/IW6PEFJA/FDTFO2MIW6PEFJA.jpg&filename=16A.jpg)
![16B.jpg](/proxy/?url=https://content.instructables.com/F6C/IFSB/IW6PEFKB/F6CIFSBIW6PEFKB.jpg&filename=16B.jpg)
![16C.jpg](/proxy/?url=https://content.instructables.com/F26/Q75J/IW6PEFL2/F26Q75JIW6PEFL2.jpg&filename=16C.jpg)
Insert batteries, close the lid, and turn your hamster on.
You're now done.
Enjoy!