The original lights were flourescent and quite badly fitted. They made a lot of buzzing noise and the bulbs didn't seem to last very long. I got fed up with them and decided that replacing them with LEDs was the way to go. My budget was small so I didn't want to buy expensive designer lights.
To add interest and a bit of practicality, I decided to add a fade-up effect when the lights switch on and have a half-bright mode for those special occasions where dimmer lighting is required.
Remove these ads by
Signing UpStep 1: LEDs
You want 5050 LEDs, preferably 3 to each 5cm / 60 per Meter, waterproof (they are covered in a flexible clear plastic and with a adhesive backing.
I got a 5M strip plus power supply from a seller on eBay. Total cost was UKP 50.00.
The LED strips can be cut every 5cm (or 3 LEDs) and are very bright. 5M of LEDs consumes approx 3A (36W at 12V). This is less than the 4 flourescent strips they are replacing.










































Visit Our Store »
Go Pro Today »




tl;dr: Bleh, that went into a whole long rant. RGB leds are for creating any color you want. Not just white, red, green, or blue.
Quick question, any idea why this MOSFET wouldn't work in this scenario...
http://www.futurlec.com/Transistors/IRF510.shtml
These are ones they stock at the local 'Shack, and it seemed capable, but some of the specs I don't really understand. Any thoughts?
I'm using a 12V strip, just like you...powered by an old 'Xbox HD-DVD' power brick, on a regular Arduino, programmed to Pin 9.
I wasn't grounding my Arduino and my PS together. Once I did that, I am in business and fading. Now I just need to try and get the first couple of levels to not look so 'steppy' and more smooth and I'll be golden.
(thanks for the ideas and replying, btw. I really want to get this to work)
Cheers Jim.
I used the Arduino environment. You can use the 168 with an internal oscillator but you need to remember to take into account that it is running at half of the speed Arduino expects. I edited the devices file to add an internally clocked 168 so that it would all make sense.
http://www.yupgift.com is my suppliers
I know it would be messy to implement without parting with PWM, but couldn't you use some sort of capacitor so to have a fade-out effect when turning the power off?
Again Great Job keep up the good work
Dan
* could you provide a parts list to go with the schematic?
* did you connect the LED strip(s) to ATMEGA168 pin5, or where?
thanks!
I did neglect to properly list parts so here you go:
Processor is an ATMEGA168 in DIP package, although almost any AVR will do.
D2 is a regular LED on the board for a heartbeat indicator. It is optional as is
the 1K resistor.
H1 is a 'standard' AVR ISP programming header with 6 pins. You only need this if you are going to do In System Programming.
U1 is the MOSFET - a STP16NF06
U3 is a 5V regulator - LM05
D1 is actually the LED strip - obviously, there are a lot more diodes! It is connected to pin 5 of the processor via the MOSFET.
The other Rs and Cs are labelled.
So here it is how much current does the controller use and how does that contribute to the overall efficiency compared to just a pot as a dimer? I do appreciate doing the work and fun of doing the controller and how you can get "more light" from a LED by pulsing the voltage over just DC . just wondering . I just like to keep it simple.
I also think that some of the heat seen from those strips comes from the current limiting SM resistors that are on the strips.
Color is very important to how we see food next time you go to the supper market look at what color is in the meat and the produce departments they are not blue. think more along the lines to art and the need to have color accuracy. Same goes for the bathroom think what the lighting difference is between the bathroom in a high class restaurant and a serve-yourself gas-station. no woman is going to feel comfortable in a blueish lighted bathroom
great project and well executed.
uncle frogy
I don't have the analogue electronics design skills to produce an LED fader with a pot and most LED related controllers seem to use PWM - it is cheap and effective.
I agree on the colour - I tried a warm white LED but my wife didn't like the look. This colour suits us fine. Remember the rest of the room is lit differently and the camera is showing more blue than our eyes actually see.
Start reading.
Heat is still a big problem with store bought LEDs BUT DIY ones can be made with all the heat sink they need. I hope someday they will product less heat and more usable light.
The problem with store bough LEDs are they are trying to fit in old style bulbs, a tight space where you can only put a little bit.
The real problem is the lack of manufacturing, demand and competition. The LEDs are $3-5, the heat sink is $3-4, the driver is about $3. That's $12 at most, the rest is just markup because they are the new kids on the block.
http://www.ikea.com/ca/en/catalog/products/20119418 or
http://www.ikea.com/ca/en/catalog/products/60180767
Love the dimmer idea.