Very soon will be come New Year, and offten you looking for something with LED lights. In this blog you can see Christams tree realized using PIC16F616 (internal osc 4MHz) and 24 LED's with different colors. Also, there is a buzzer which I used to play "Jingle ball" song in mono sound.
Scheme of this christams tree you can see below:
Christmas tree |
On scheme you can see transistors, that's BC848 (NPN), but I used BC549 (also NPN - 100mA), because I can't find BC848 like trough hole component. I used transistors, because microcontroler on it output have 20 mA, and that is not enough for 6 LED's on one pin. But when transistor placeing in circuit, you'll be have enough current for good light at LED's.
For SMD components I maded PCB, and use components like it is in scheme, but when I making in trough hole configuration, I used similar components, but result is same. Here is PCB:
Here you can see some of pistures of this Christmas tree.
Here is video of finished Christams tree, enjoy! :)