Making a "Singing Bass" (but without the fish)

These instructions are to create a box with a light sensor and buzzer that will play a single-note-at-a-time tune when a shadow is cast across it...such as from a passer by.  This is done using an Arduino.
Remove these adsRemove these ads by Signing Up

Step 1: Gather the materials

Picture of Gather the materials
You should be able to find most of this at radio shack, arbitrary electronic parts store, arbitrary tool stores, and/or walmart.

The 6.4Mohm resistor should probably be changed depending on your photoresistor.  Choose a resistor about halfway between the usual light and dark values of your photoresistor.

*Arduino board
*5" x 2.5" x 2" project box with metal insert. (like from radio shack)
*9V battery clip
* a radioshack piezolectric buzzer (no internal oscilator)
* 1x3 and 1x6 bits of pin header (http://en.wikipedia.org/wiki/Pin_header)
* 9V battery
* photoresistor (from radio shack, came in a variety pack)
* single pole double throw bat style switch (used and single pole single throw) (as in picture)
* resistors:  112ohm, 6.4Mohm.
* diode (1N4002) (may substitute some other power diode)
* stranded wire
* shrink tubing for just-in-case insulation since the parts are just freely connected.
* 2 sets of #2 machine screw and nut.  1/2" long.
* soldering iron and solder
* drill and assorted bits
* super glue
* a bit of pillow stuffing or something.

Step 2: The Wiring

Picture of The Wiring
Solder the circuit in the diagram to the pieces of pin header so you have connectors to your arduino board to this project.  I am using the arduino uno and I was able to use a 3x1 header and a 6x1 header to get the job done.  
You should be able to solder wire to wire when needed, and on parts that will be close (such as the leads coming out of the photoresistor) cover them with shrink tubing after soldering.
!!Remember to thread the shrink tubing on before closing off that part of the circuit!!
You will want to give extra wire to the photoresistor since it needs to be mounted in the top of the case and will want a little extra room to work with.
randofo3 years ago
This is a great Instructable, but you need to add a main image for the project, even if it's just a video that you're trying to publish.

Please do that, and leave me a message when you have so that we can publish your work.