loading

My apartment has terrible lighting in the kitchen. There is one big fluorescent light on the ceiling and then the two lights over the stove from the vent hood. The problem is that there is a big dead space on the counter near the sink where there isn't any good light. So I made an under-cabinet light using some LED strips.

Step 1: Parts and Tools List and Safety

I don't want to have to run this on batteries, and since outlets are abundant, I built it to run on AC mains voltage. That means that we are dealing with exposed AC lines, so take extra care around those wires. Make sure anyone who wanders into the room is aware of the danger. And soldering irons are hot, so don't burn yourself. Trust me on that one.

This is a really simple build with a short list of stuff you need. I get most of my small parts from salvaging old electronics.

Parts:

- 1 AC transformer. An output of 12VAC is what we are looking for, regardless of whether you have 110VAC or 220VAC.

- AC power cord (not pictured)

- 4 rectifier diodes. 1N4001, 1N4004, 1N4007 should all work here. They are rated for 1 amp, which is way more than we will need here, but check your LED specs to be safe. Alternatively, you could use a discrete bridge rectifier here as well.

- small PCB

- solid color LED lights. Multi-color RGB LEDs with only three copper pads won't work here without a microcontroller because you need a data signal. If you use RGB LEDs, they should have four copper pads, otherwise they should only have two pads. I bought these.

- 18 gauge speaker hook-up wire

- mounting hardware, e.g. double-sided tape, glue, screws etc.

- heat shrink

Normally I would use a plastic enclosure. However, I found a transformer that is completely sealed and the wires will be completely covered with either heat shrink or epoxy, so I didn't use one this time. You must ensure that you completely insulate against the AC power so there is no risk of exposure.

Tools: (These are just the tools I used. Make it work for you with whatever you need, just be safe)

- soldering iron and solder

- saw or rotary tool

- wire cutter/stripper

- drill bit

- hot air gun for heat shrink

- epoxy to seal it all up

Step 2: Design

The transformer should output about 12VAC. The LEDs I bought are rated for 12VDC. In order to convert AC to DC, the AC needs to be rectified using diodes. But LEDs are diodes (Light Emitting Diodes), so technically this circuit will work fine without even using the bridge rectifier. Just plug the LEDs to the transformer output and away we go. The problem is that the LEDs will flash about 50-60 times per second with each rise of the AC sine wave. When the AC voltage goes negative, the LEDs will turn off because that's how diodes work. You only get power through a diode in one direction not both. So they are flashing 50 times per second, but they aren't even on for the entire flash period, maybe about 40% or so. The point is that you will notice the flashing. The bridge rectifier makes all of the negative AC voltages turn positive, so the flashing is twice as fast and the lights are on for more time (as a percentage) per flash period. You can see the difference in the o-scope readout in image 2. The red line shows the full 12VAC wave going positive and negative. The blue line has been rectified so the voltage is always positive. If we wanted to fully convert to DC voltage, we would add a 470uF electrolytic capacitor across the DC output and then feed that signal into a voltage regulator. The output from that is a very clean and stable DC voltage. I used that design in this Instructable.

One thing to note with this project is that the power supply is unregulated, so any fluctuations in the grid will get sent straight to the LEDs. I don't expect them to survive a large spike, but it only cost me about $3 for the whole project, so I'm not really worried about it.

Step 3: Building

I always build on a breadboard before putting anything on a PCB. I recommend you do the same. The red and black wires in the image are simply to show where the relative positive and ground voltages are. This is not a clean signal by any means, but all voltage is now positive, so we do need to keep the two wires straight.

The LED strip has little copper pads spaced between every three LEDs. Cut it just to the left of those pads, cut off the plastic coating and tin the pads to make soldering to the wires easier. Make sure you tin the wires too. In my application I used two short pieces of the LED strip on each side of the cabinets. I had to turn the strip over and very carefully scrape away the plastic coating to expose the copper underneath. I then soldered to the back side of the first length of LEDs and then connected that to the front side of the next length.

You can connect several individual lengths of LEDs to the same output connections on the bridge rectifier. I made four different lengths of 18 LEDs, then put two together end to end to make two lengths of 36. Those two lengths are then connected together at the rectifier output, one strand off to the right, the other off to the left. Just keep in mind the power requirements for each LED and the limitations of the parts, specifically the diodes.

The last image shows the connections all nice and finished with the heat shrink. Be careful when handling the LED strip with wires soldered on. I had one of the copper pads break off with the wire and I lost connection. I was able to fix it by attaching the wires to the back instead. So get the heat shrink on as fast as you can to give the joint some strength.

Step 4: Finishing and Mounting

I finished mine with a thick coat of epoxy.

Once everything is connected right, the only thing left is to mount it. The LEDs come with 3M double-sided tape, but I used some more just to be sure. The transformer was screwed to the underside of the cabinet out of the way. At some point in the future I will be adding a microcontroller and proximity sensor to toggle the lights automatically, but for now I'm happy with the result. I will probably make a couple more versions, one for my desk and one for my wife's as well. If you don't want the microcontroller, you could very easily install an inline switch and mount it near the front of the cupboard as well for easy access. Play with it and see what works for you.

Please don't hesitate to ask questions, either below in the comments or PM. Have fun building!

EDIT: I decided that it wasn't bright enough, so I went back and used almost the whole 5 meter strand of lights, putting two on each side of the corner. Compare the last two images and tell me what you think. Two 4 ft. strands off to the left and two 3.5 ft. strands off to the right. I then added a rocker switch in line from the transformer to the rectifier and mounted it under the cabinet, up front where it is easy to get to but still tucked away. It makes such a big difference with more lights. And the wife is happy, so there's that!

Nice project. I am aiming to do the same thing but my project will cost more than 10USD regardless of the fact that I have everything but the LED strip. I've read that you need to watch the amount of current the LEDs draw as the current demand changes over time. The advice I read is to insert a current regulator to maintain the current constant. This can be achieved with a variable voltage regulator wired into current regulator configuration. The regulator cost pennies. <br><br>
you can get a five meter strip off eBay for about ten dollars. get a switching adapter from a second hand store rated for 1-2 amperes at twelve volts. I did this all about a year ago and used a pwm dimmer in the circuit. works very well and it gets used all the time.
That is a very good idea.
<p>Props for using a &quot;real&quot; transformer! I'm always too afraid of those and I usually use a &quot;wall-wart&quot; instead. Sweet apartment mod! Makes me want to pimp out my apartment too, thanks for the knowledge!</p>
Find a wall wart and crack it open, you'll find it's pretty simple inside. Or just about any consumer electronic that doesn't have a wall wart but is AC will have a transformer/rectifier circuit inside. As long as you keep track of your live AC wires, you've nothing to worry about. It took me some time to get used to it. Just don't get comfortable or complacent, because then you get hurt.
<p>Thanks for the advice! I have salvaged some transformers out of old clocks and amps a while back, ill give them a try.. carefully </p>
<p>Keep track of which side the mains comes in from the wall. The leads coming off the other side will be your output wires and can be any voltage. Get yourself a decent digital multimeter and do some testing on transformers to see what kind of step down/up they have. From there it's just a matter of figuring out what DC requirements your DC circuit needs and rectifying/regulating the AC to get there. </p><p>Some transformers will have multiple windings and each one will have it's own voltage/current characteristics. I tend to stay away from those ones though.</p><p><a href="https://www.youtube.com/watch?v=d5pGN6pqkyY" rel="nofollow">The King of Random</a> has some really <a href="https://www.youtube.com/watch?v=d5pGN6pqkyY" rel="nofollow">cool projects</a> he did with microwave transformers.</p>
<p>Very cool, that you used your own power supply!</p>
Thanks. It's really easy to put together, you just have to watch the polarity on the diodes really closely. Almost everything we use has one, whether it's the black box plugged into the wall or built inside.

About This Instructable

6,506views

74favorites

License:

Bio: I've always loved to figure out how things work, so hacking and making just fits for me. I'm a husband, a father, an ... More »
More by brmarcum:Programming Digilent FPGAs Using NI Multisim Monitoring Digital Circuits With the Digital Discovery Using the Voltmeter With the Analog Discovery 2 
Add instructable to: