Power LED mood Lamp

  
A good way to mount the circuit board is to use a hot glue gun to `mold` the circuit underneath the lamp housing. There is plenty of space there for your board. At the next photos you can see the circuit board mounted on the small 31cm IKEA Mylonit Lamp. It's clear that current changes as colors are changing. As you can see the max current needed is 232mA. You should keep in mind that this depends on the led you have and the power resistors you choose. As a conclusion a power supply rated at 5V/500mA will be sufficient. The schematic used is shown in the next image. It's as simple as it shows. Take care on the correct transistor mount and correct polarity of power source.
Power LED mood Lamp - schematic

Programming the PIC16F628 can be achieved using this very simple pic programmer and a program called ic-prog. Just use your programmer and upload the .hex file on your PIC. For successful results you should pay attention on the fuse bits. You should enter the correct fuses as noted on the following table. Here is a list of the components i used for making the led mood lamp. - 3 x NPN transistors capable of driving 500 mA, for example the BC337 - one PIC 16F628(A) and a programmer - a small perforated circuit board - 7 x 10K resistors (1/4W) - some 1 watt resistors (4,7, 10 and 15 Ohm) and a DIP switch - a power supply (5 volts, 500 mA) - Ikea Mylonit lamp or other housing - silicon paste from your local DIY shop (if you want to use a heatsink) - one z-power 3 watt rgb led - a little heatsink and some cooling paste (if you want to use a heatsink)



Leave Comment

characters left:

New Circuits

.