3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Universal High-Power LED Driver with 3D-printable Case

Universal High-Power LED Driver with 3D-printable Case
*** There's a firmware update. Please check out! ***

LEDs are taking over conventional lighting every day. High-power LEDs over 1W are becoming more and more affordable, and I wanted to start using them to replace the lighting fixtures around me. However I realize that finding and configuring the power supply was a bit of a pain, since I wanted to use different LEDs in different configurations depending on what the lighting was for. Power supply needs to regulate the current that goes though the LEDs. With higher current that high-power LEDs require, active constant current circuit is the only practical option. Commercially available buck regulators are easy to use, however, they are usually made for a specific current and voltage range. For me that means having to purchase variety of buck drivers.

Also, most of LED drivers lack dimming function, or have poorly functioning dimmers. I think dimming is essential for modern lighting, and I want smooth control of brightness.
So I decided to develop a universal, dimmerable high-power LED controller. It has taken me four months to develop this controller. Although it's still in development, I think it's quite useful to all DYI'ers with LED lighting projects.

I made this an Open Source project. Both hardware and software are open - please use, and extend this project and share the knowledge. A 3D printable enclosure as well as couple of LED mounting hardware is also available as Open Source, download-able at Thingverse. Together you can really kick start LED conversion of your household lighting!

 
Remove these adsRemove these ads by Signing Up
 

Step 1Features

Features
Here's the list of main features:
  • Inductor "switch mode" controller for high energy efficiency.
  • Wide supply voltage range of 5 to 18V (can go higher, but not tested). Great with batteries as well as AC adapters.
  • Up to 20W maximum output power (can go higher with active cooling). (at supply voltage 12V or above)
  • Constant current (pulsed) - configurable up to 3A peak current.
  • Selectable between buck-boost and boost mode.
  • Analog style dimmer control (smooth, flicker-free continuous adjustment)
  • IR remote receiver - controllable via Sony IR remote control
  • Digitally controlled dimming - via external microcontroller including Arduino.
  • Master/slave gang dimming - connect multiple units together and control the dimming from any one of the units.
  • High frequency pulse drive - 32kHz to 175kHz - no flicker even in video!
« Previous StepDownload PDFView All StepsNext Step »
22 comments
Feb 20, 2012. 2:44 AMsangyue says:
Hi Aki,

Thank your very to share your projects. It really brings a lot of fun to my life. I made your universal High-Power LED Driver and it is working great. I bought a PICKIT3 from Microchip and tried to add some code for the IR remote control function. Now I could use '0-9' button to adjust the brightness to the pre-set value and turning on the light by cliking the 'Power' button.

I am a novice for the PIC micro-controller, I am not quite clear about how the A/D and comparator usage. I want to use 2 or 3 18650 lithium battery to provide the power. I want to add the low voltage shutdown function to prevent battery overdischage. Could help to give some code example about this function? Say I want to shutdown the light when the supply voltage is under 6V(2 18650) or 9V(3 18650).

I saw the 'shutdown_vol2 equ 24' in your code, but I did not figure out how to check the supply voltage and make action to turndown the light when the supply voltage is too high.
Feb 20, 2012. 2:42 AMsangyue says:
Hi Aki, Thank your very to share your projects. It really brings a lot of fun to my life. I made your universal High-Power LED Driver and it is working great. I bought a PICKIT3 from Microchip and tried to add some code for the IR remote control function. Now I could use '0-9' button to adjust the brightness to the pre-set value and turning on the light by cliking the 'Power' button.

I am a novice for the PIC micro-controller, I am not quite clear about how the A/D and comparator usage. I want to use 2 or 3 18650 lithium battery to provide the power. I want to add the low voltage shutdown function to prevent battery overdischage. Could help to give some code example about this function? Say I want to shutdown the light when the supply voltage is under 6V(2 18650) or 9V(3 18650).

I saw the 'shutdown_vol2 equ 24' in your code, but I did not figure out how to check the supply voltage and make action to turndown the light when the supply voltage is too high.
Feb 9, 2012. 1:51 PMcaptain Jack says:
Very nice!
Jan 1, 2012. 7:24 PMtphillips2 says:
Amazing! Now I can start converting my lighting at home and the studio. Impressive job in detailing. Look forward to getting started!
Jan 5, 2012. 2:17 PMPedroDaGr8 says:
Excellent instructable! As someone who is designing a low current higher voltage (into the 100s of V) boost converter it is interesting to read someone going through similar things that I am. That being said, your design makes mine look like crap! Yours is much nicer and much more fancy. Mine is very basic to solve a simple problem.

The only additional thing that would be nice to see is you do a follow up project for converting mains to either 12V (for this) or do a mains powered version of this. Obviously, it would b significantly bigger but it would have a bit more application for this. Either that or since this is OpenSource I may build off your design. I guess its based on what time/funds will allow.

Jan 6, 2012. 12:31 PMPedroDaGr8 says:
Its not much above 100V actually (around 120-130V) I just realized I worded that kinda wrong. No transformer, just an inductor.Otherwise pretty much a standard constant current boost circuit. Nothing too special, just designed to work on 8-24V.

Yeah, if I do modify your design to work on household voltages I def will post it on here.
Jan 6, 2012. 6:14 AMJVC-Force says:
Can it be used with voltage variable dimmer (1~10V DC) that Lutron sells?
Jan 6, 2012. 10:08 AMJVC-Force says:
It is just a simple 0-10 VDC lighting control dimmer, voltage variable lighting control signaling system.
Jan 2, 2012. 7:41 AMsmldis says:
Hello,
What software did you use for that schematic?
I'm searching for a publication quality schematic editor and that seems to suit my needs!
Thankyou
Jan 2, 2012. 3:29 PMrocketman221 says:
A couple of good editors are TinyCad which is completely free and Eagle, however the free version of Eagle only lets you make a single page schematic.
Eagle is cross platform, TinyCad is only for winblows but it runs fine under wine.
Jan 2, 2012. 2:38 PMsmldis says:
I use pretty much the same setup, because I use inkscape and I use symbols generated from circuit-macros for LaTeX.
I'm happy to know that someone else use this solution,
I haven't find out a better approach. (output quality does matter in my cases)

Samu
Jan 1, 2012. 6:18 PMReffner says:
This is fantastic. Adding LED lighting and replacing many of the incandescent lights around my house is something I've been wanting to do for a while, but controllers have been the weak link. I'm definitely going to look further into this. Good job!
Jan 2, 2012. 4:54 AMjeff-o says:
Wow, these are some killer controllers! Very nice work.
Jan 1, 2012. 8:14 PMazarpisces says:
Looks great project. I m gona explore it further..........

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
186
Followers
13
Author:ledartist(Visit TheLEDart.com for more)
I work with LEDs and microcontrollers to create beautiful objects.