Get The Heartduino DIY Kit
First, get yourself a Heartduino kit at the LucidTronix store
. You will also need a soldering iron, solder, pliers and wire cutters or cutting pliers. Some scotch tape and a damp sponge to clean your iron will also be handy. Make sure your soldering area is well-ventilated and use eye-protection when cutting metal with the wire cutters.
Insert all 10 ohm resistors
Insert all the 10-ohm resistors. Their are 11 slots, but you should have 12 in the kit, in case one gets misplaced. The 10 ohm reistors have a brown band follow by two black bands and then a gold band. Resistors are symmetric so the orientation you insert it in doesn't matter.
Insert all 10K resistors
Now insert the 10K-ohm resistors, in their 10 slots. The 10K resistors have color bands brown black orange and then gold. The orange stands for the 3rd exponent of ten, and the brown and black make 10, so we end up with 10,000 ohms. More about resistor color codes here
Solder the resistors down
Now you can solder the resistors in place. Feel free to solder them on the same side you inserted them, as shown in the image. This way you wont mess up the nice clean white of the silkscreened circles.
Insert and solder Thumb wheel Potentiometer
Now is a good time to insert the thumbwheel potentiometer. It is the black and white knob looking thing with the philips-head screw scores on its front, and three pins coming out. You definitely need to insert this before you solder the shift registers down, otherwise you wont be able to reach the pots pins to solder.
Clip the Thumbwheels pins
Make sure to clip the pins of the thumbwheel with your cutting pliers after it is soldered down. Otherwise those pins will prevent the 74HC595 shift register from fitting snugly in its footprint.
Insert and Solder 74HC595 Shift Registers
Speaking of the 74HC595 shift registers, lets go ahead and insert those guys and solder them down. These are the 3 ICs in the kits with two rows of 8 legs. Keep in mind you may want to pinch those rows of pins together with a ruler or a stapler before you try to insert them in the PCB. Also here orientation DOES matter. The silkscreened 1 on the PCB has to match up with pin one on the IC. Pin 1 is the pin directly to the left of the U-shaped depression at the top of the shift register. Use the image as a guide.
Insert the LM386 Audio Amplifier Chip
Now to make the Heartduino sound-sensitive we msut amplify the small signal from the electret microphone. We use the LM386 audio amplifier to do this. This chip has 8 legs in two rows of four. Pinch those rows together and insert the LM386 so that the circular depression at top left lines up with the '1' silkscreened on the PCB.
Insert the 16Mhz Crystal
For the arduino to keep up with the constant updates of the LED dot matrix we need a quick heart beat for our circuits brain.. The silver 16Mhz crystal oscillator gives the nice steady clock signal to our Atmega328 MCU.
Insert the 22pf Capacitors
Now insert the 22 pico farad capacitors on either side of the crystal. These yellow capacitors have the number 220 printed on them. Their legs are bent into corners that you may want to straighten to more easily slip them into the PCB. These guys help maintain a nice steady clock signal. Engineer's Secret: sometimes you can get away without these caps, but its a good idea to have them just in case.
Now add the 10uf and 0.047uf capacitor
The 10uf capacitor is blue. You may have a ceramic one or a little radial electrolytic one, both work fine. The 0.047 capacitor is yellow with corner-bent legs and the number 473 printed on it.
Last Capacitors: 0.1uf
Finally, insert you two yellow 0.1uf capacitors. These guys have the numbers 104 on onse side and 232 on the other. They are yellow with straight legs.
Chop Off Their Legs!!
Now, time to be an electronic lumberjack and chop all those metal legs of with your cutting pliers. Use eye-protection and gloves.. Be careful friends!
Insert the first LED matrix in the Correct Orientation.
Insert one of the LED matrices in the orientation shown in the photo. The matrix must be on the same side of the PCB as the silkscreen and the letters printed on the side of the PCB should be facing the same way as the image shows.
Insert the other LED Matrix in the Same Orientation.
Now insert the second LED Dot Matrix in the same orientation as the first one.
Tape the matrices down
This step is optional, but its a good idea to tape the LED matrices down so that they aligned together nicely before you solder them in. After they are soldered, it will be difficult to fix a small gap between them.
Insert the MODE and SELECT buttons
Insert the two buttons under the silkscreened labels 'MODE; and 'SELECT'. The buttons have four legs and a little black circular depressor.
Insert the switch and the Electret Condenser Microphone
Now place the power switch and the electret condenser microphone into their proper spots as shown in the labelled image and solder them down.
Last Step: battery clip and Battery Pack
Almost done!! Just pop the little white plastic JST battery connector in the spot labelled at the Heartduino's side. Load the battery pack with 3, AAA batteries and get ready for some wearable electric bling! Congratulations! If you got the kit from us, your Atmega has been pre-programmed with the code below. If you are rolling your own, than you will need to upload the code onto the Atmega328, using the 6 ISP pins. Either way, if you want to hack the Heartduino use the code below as a starting point.