My wife and I recently moved to a new apartment with our cat, Nymeria. This new apartment came with an extra houseguest – a small bird just outside our door. This bird happily chirps all day, which torments our cat who can’t find the source of the chirping. I decided to make a chirping toy using a few extra components I had on hand. I’m happy to report that our cat loves it and is quite fond of destroying the nest trying to get to her toy.
x1 microcontroller – I’m using a NODE MCU, but an Arduino would work just as well.
x1 ISD 1820 audio playback module (comes with an 8 Ohm speaker)
Soldering equipment and assorted wires – Male to Female wires will be quite handy
A device capable of playing sound for the recording
Optional parts for Power Amplifier
x1 LM386 Op amp
x2 100 uF (micro Farad) capacitors
x1 1000 uF (micro Farad) capacitor
x1 100 nF (nano Farad) capacitor
x1 10k potentiometer
A source of power. I recommend using a 9v battery + holder, but you could also use an old USB cable + rechargeable battery pack.
For the Toy:
x1 Empty cylindrical can – I recommend using an empty Oats cylinder
1-3 ft of hemp string / rope / twine
Step 1: Building the Nest and Housing
To build the nest, take a 1-2 ft piece of twine or string and begin to unravel it. Unravel it as finely as possible – check the pictures for an example of ideal thickness. Once you have a decent clump of material, begin pushing the strands together. Gently flatten the material and curl it around your fist, or use your thumbs to apply pressure to the center, while cupping the outsides.
In a small bowl, mix together one part wood glue with 2-3 parts water. Gently dip the outside of the nest in the water, and allow to dry around a bowl. This will help keep the nest together and prevent your cat from destroying it.
To prepare the container, simply measure the circumference of your speaker on the lid, and on the bottom of the container. Cut a hole in each. If the bottom of the container is metal, tape the edges to prevent injury.
Step 2: Prepare the ISD 1820 Module and Microcontoller
Prepare the ISD module by soldering the wire leads to the + and – speaker pads. Please note the positive and negative pins on the module. Plug in the speaker, apply 5v to the pin labeled VCC, and provide a ground connection to GND. Verify that you can successfully record sound and play it back.
This a good time to record your bird sound. The ISD module allows you to record 10 seconds at 6.4 kHz sample rate and 2.6 kHz bandwidth. Either record the full 10 seconds of bird song, or record a small sample to create your own chirp effect. This choice will determine which code you use later.
I recommend using this video:
Your recording will be saved after you remove the power.
At this point, you may want to remove the PlayE and PlayL pushbuttons. This will make it easier to add your control wire, though it is not required. To do this, simply clip the legs of the button. Use a pair of plyers to pull the metal leg while using a soldering iron to heat the hole.
Solder a wire to the PLAYE or PLAYL terminal (see image) and connect the other end to your microcontroller.
Step 3: Optional Step: Power Amplifier Circuit
A power amplifier is a simple circuit that amplifies the sound coming from the ISD 1820 module. To construct it, follow the circuit diagram pictured. I highly recommend using a potentiometer to control the volume of your incoming signal, as well as tone down some of the noise.
Once your main circuit is assembled, attach a female lead to your input (this will connect to the ISD module), and the speaker to your output.
Before moving on, I recommend testing your circuit. Connect the female lead to the positive speaker pin on your ISD module. Power the module, and verify that you can hear sound out of your speaker.
Full credit goes to abzza for the amplifier circuit shown here.
This Instructable is worth a read to learn more about audio amplification.
Read more: Modular Chirping Nest Toy for Cats