Here is the finished product.
The Christmas tree is made with an arduino ATMEGA-168 chip.
I used it as a belated christmas gift for someone in a gift exchange.
First instructable so please take it easy on me should i do something blaringly wrong.
Attatched are the scematic and the PCB Layout in PDF and EAGLE format.
Also attatched is the program i used for the ATMEGA-168
Step 1: Materials
Stiff Stainless Steel Baling Wire
14 cut and stripped 5" segments of hookup wire (red)
An Arduino ATMEGA-168 Chip
A specified PCB (file attatched)
An old USB Cord
A Piezo Speaker
14 100 ohm Resistors
2 22pF Capacitors
1 100nF Capacitor
7 Red LEDs (diffused)
6 Green LEDs (diffused)
1 Amber LED (diffused)
A 16MHZ crystal oscillator
2 3 pin ICSP (in-circuit serial programming) headers *six pins total
A Lid to an old can or tin.
Step 2: Coil the Wire Frame
Step 3: Board Assembly: Capacitors
*note: the capacitors shown are not the ones used in the actual board.
Step 4: Board Assembly: Resistors
*Note: the resistor showed in the picture is not the one used in the actual board
Step 5: Board Assembly: ATMEGA-168
*Note the chip shown in the picture is not the actual chip used in the board. The ATMEGA-168 goes out much further than the one shown. use your imagination.
The second Picture gives you a better idea as for the size of the actual chip and its placement
Step 6: Board Assembly: Crystal
Step 7: Board Assembly: ICSP Header Pins
Note: When putting on the ISCP headers, it is very important that they are put on straight and vertical.
Step 8: USB Cable: Preparation
*note when cutting off the data wires, cut them off at different levels so they dont short out on your computer or usb outlet.
Finally, strip the black and red wires and solder them in the shown position.
Step 9: Board Assembly: Piezo Speaker and USB Cable
Step 10: Board Assembly: LEDs
After doing this to each LED, solder each to the PCB in the correct positions. The thicker etchings on the PCB are ground or +5V(ground in this case) and the thinner ones are connected to the ATMEGA-168
Step 11: Making the Base
Step 12: Soldering the LEDs to the Wire Frame
Step 13: Programming
In order to program the ATMEGA-168 using the ICSP headers, you need an ICSP AVR programmer
By using the commands make (which compiles it) and make upload (which downloads it) in command prompt/terminal you can put your program on your ATMEGA-168 chip.