Skip to content
Stephan Martin edited this page Nov 25, 2018 · 7 revisions

PCB

The PCB should be 1,6mm thick i order to hide the components inside.

I had them made here: http://dirtypcbs.com/store/designer/details/20546/6202/2d-christmas-tree-decoration-item

They handle the castellation well, if you order them somewhere else check their rules about this.

The Files are made with KiCad 5.0.1

Partlist

Reference Type Quantity Reference Value Footprint RS Digikey
BT 2 BT1-BT2 Battery_Cell CR2016 - -
C 1 C1 22µF 0805 790-0682 1276-6786-1-ND
D 20 D1-D20 LED 0805 176-6117 516-1431-1-ND
J 1 J1 ISP - -
R 5 R1-R5 75 0805 - RR12Q75DCT-ND
R 1 R6 10k 0805 125-1189 RR12P10.0KDCT-ND
SW 1 SW1 SW_SPDT PCM12SMTR 793-1721 401-2016-1-ND
U 1 U1 ATTINY25-20SU SOIC8 133-1611 ATTINY25-20SU-ND

Software

Arduino IDE is used to programm the ATtiny, you will need to import the ATtiny with the board manager to get support for it.

To burn it onto the AVR an ISP programmer is needed. That can be done with ArduinoISP https://www.arduino.cc/en/Tutorial/ArduinoISP

Arduino as ISP to programm the 2d xmas tree

Clone this wiki locally