With the cost of high-brightness LEDs coming down, Andrew Morris decided he wanted a dimmable LED desk lamp. Yet he found the ones on the market were very expensive, and few of them were dimmable. So he decided to use his engineering skills to build his own.
He installed his circuit into a fluorescent desk lamp he had picked up years ago at a flea market. He also discovered the LED driver circuit was dirt cheap and simple to assemble.
Andrew Morris designed a dimmable LED driver circuit that is simple and energy efficient. He then installed the circuit into a portable fluorescent lamp.
The dimmable LED driver circuit inside the desk lamp.
I just modified the lamp from Amazon. The head is almost identical to the one in the video, but the design of the weight and the ballast coil in the base are different. You have a lot less room to work in the new base, but because the electronics is so simple and produces no heat, I was able to do it. Amazon is currently out of the lamps, but will email me when they come in. I'll keep this blog apprised. Then you can email me for a photo and a layout drawing of the new circuit board.
Yep - born & raised Dutch, but now Californian resident.
Clarification for others not familiar with the term - Elco means Electrolytic Capacitor. I was not aware that it is a typical Dutch expression.
Re: isolated, I referred to the housing, indeed the electronics are "hot" so it is required that it cannot be touched anywhere, including at openings for trimming pots to select sensitivity and timeout of the PIR detector. Unfortunately that are typical locations where (rain)water gets in, causing the demise of the detector. Usually it first starts acting weird, switching the light on and off randomly before finally failing completely.
"geisoleerd" is indeed the Dutch word for "isolated" and essentially means separated, so this can mean either the galvanic isolation from the grid or the protection of a "hot" circuit from touch by a non-conducting enclosure. So a further qualification is needed and I forgot to re-read my typing so I did not catch that my statement was ambiguous.
Most likely you found the same type of rope light that I had a section fail in.
cvandewater, I see from your name, that you must be Dutch. The last time I heard the word "Elco" used to reference an electrolytic capacitor was during my military service in Holland 38 years ago. I was in my early 20's. I learned the language and I had the time of my life. Holland was a great place to be if you are into electronics.
You mentioned that similar capacitor coupled power supplies are used in commercial products that are isolated. What do you mean? PIR motion detectors are not isolated from the power line (mains), but as with all electrical appliances, are insulated from the user. My Dutch is rusty, but I think the word "geisoleerd" would be used to describe both, but they are not the same in this context. The output of such a power supply is not galvanically isolated from the mains.
Also, I think I saw a Chinese-made LED rope light in a store that used a series string of white LEDs wired in anti-parallel configuration, like you mentioned. I couldn't see inside the molded-on power plug, but there wouldn't have been room enough inside it for anything but a series resistor. It had no visible electronics.
Similar circuits are used in commercial products that are isolated, such as PIR motion detectors in outdoor lights (I had one that stopped working, a great way to learn how the darn thing is designed)
That circuit is actually simpler - after the 100 Ohm that limits inrush, it has a film cap and a bridge rectifier with a zener and Elco at its DC outputs, that is all.
With the right value film cap you can select the current, I once built a 40 LED light with the circuit, omitting the zener and using a 200V Elco.
I like to make things as simple as possible while retaining safety and functionality. This dimmable light not only has a cool factor but also re-purposes a desk light, one of the other things that I like.
Maybe I will try a design that I have been toying with for some time, by having 2 LED strings anti-parallel, so you'd only need the 100 Ohm limit resistor and foil cap. Maybe have a gas discharge tube (that I have in abundance from line protection units) across the LEDs to catch any spikes that could otherwise ruin them. These 3 component is about as simple as it gets while keeping things work reasonably well, unlike the cheap Christmas light LED string that simply has a series of LEDs hard-connected to the incoming AC, which explains why part of that string it already dead (one series string apparently did not survive a spike).
Tool_maker, Thanks for the kind words. White superbright LEDs really have gotten cheaper. Most, if not all, are made overseas. I've seen a 27 LED flashlight for $5. All the parts in this project came from Allied Electronics but few, if any, were made in the US. The LED manufacturer has a California address, but I've seen almost identical LEDs elsewhere, for the same price, made in Taiwan. The brightness control pot (R6) is made in Mexico. I think only the 10-ohm carbon composition resistor, R1 is made in the US. That resistor costs $0.45 at Allied, whereas the other (foreign-made) resistors cost $0.015 each.
We can't have it both ways. We can't have cheap products made in the US by people earning high wages.
That is one cool light you made and I am impressed by your apparent knowledge of all things electronic. What you did is way over my head. My questions: Whenever I read about alternative lighting LEDs are alway associated with high cost, yet you appear to be able to construct this light for a very reasonable sum. Are they coming down in price or are they only cheap for an EE that has the knowledge to build them? How many of the components are made in the USA and are American made components availble? If so, how would that impact on the bottom line?
Adding series and parallel resistors was what I meant when I said that fixing the peak currents will complicate the circuit, especially if you have a lot of steps. And yes, the capacitors will not be very big unless you have a lot of them. While there may be many different ways to power and dim LEDs, I can think of no other continuously dimmable approach with this combination of simplicity and energy efficiency.
Using the rotary to switch through different current limiting caps would work butthe author is right, the caps would hold a charge. So when switching from one to another, the peak (in the US) is 170V and if you switch back to that cap when the AC is at the opposite peak, it's now trying to switch a 340V potential with a large rush of current, which will pit and eat contacts.
Just add a 15k resistor across each cap to bleed it down and you are good to go!
For industrial control applications, or even a simple assembly line, that machine can go almost 24/7 without a break. But what happens when the task is a little more complex? That’s where the “smart” machine would come in. The smart machine is one that has some simple (or complex in some cases) processing capability to be able to adapt to changing conditions. Such machines are suited for a host of applications, including automotive, aerospace, defense, medical, computers and electronics, telecommunications, consumer goods, and so on. This radio show will show what’s possible with smart machines, and what tradeoffs need to be made to implement such a solution.