Power Supplies Without Transformers

For one-off projects or prototyping, it’s not too hard to find a wall wart or power supply to send a few joules of energy from the wall outlet to your circuit. Most of these power supplies use a transformer to step down the voltage to a more usable level and also to provide some galvanic isolation to the low voltage circuit. But for circuits where weight, volume, or cost are a major concern, a transformer may be omitted in the circuit design in favor of some sort of transformerless power supply.

While power supplies with this design do have many advantages, some care needs to be taken with regard to safety. The guide outlines four designs of increasing complexity which first puts out a basic transformerless power supply, using a series capacitor to limit current. To bring the voltage to an acceptable level, a recognizable bridge rectifier is paired with a capacitor as well as a zener diode. The second circuit presented adds voltage stabilization using a transistor and 78XX regulator. From there, zero-crossing detection is added to limit inrush surge currents, and the final design uses the venerable 555 timer to build a switching power supply.

Although it is noted several times throughout the guide, we’ll still point out here that transformerless designs like these introduce several safety issues since a mistake or fault can lead to the circuit being exposed to the mains voltage. However, with proper care and design it’s possible to make use of these designs to build more effective power supplies that can be safe to use for powering whatever circuit might energy but might not require the cost or weight of a transformer. For more on the theory of these interesting circuits and a few examples of where they are often found, check out the shocking truth about transformerless power supplies.

Thanks to [Stephen] for the tip!

Hackaday Podcast 013: Naked Components, Shocking Power Supplies, Eye-Popping Clock, And Hackaday Prize

Editors Mike Szczys and Elliot Williams geek out about all things hackerdom. Did you catch all of our April Fools nods this week? Get the inside scoop on those, and also the inside scoop on parts that have been cut in half for our viewing pleasure. And don’t miss Mike’s interview with a chip broker in the Shenzhen Electronics markets.

We rap about the newly announced Hackaday Prize, a word clock to end all other word clocks, the delights of transformerless power supplies, and tricks of non-contact voltage testers. You’ll even find an ode to the App Note, as well as a time when electronics came in wooden cases. And who doesn’t love a Raspberry Pi that grinds for you on Nintendo Switch games?

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 013: Naked Components, Shocking Power Supplies, Eye-Popping Clock, And Hackaday Prize”

The Shocking Truth About Transformerless Power Supplies

Transformerless power supplies are showing up a lot here on Hackaday, especially in inexpensive products where the cost of a transformer would add significantly to the BOM. But transformerless power supplies are a double-edged sword. That title? Not clickbait. Poking around in a transformerless-powered device can turn your oscilloscope into a smoking pile or get you electrocuted if you don’t understand them and take proper safety precautions.

But this isn’t a scare piece. Transformerless designs are great in their proper place, and you’re probably going to encounter one someday because they’re in everything from LED lightbulbs to IoT WiFi switches. We’re going to look at how they work, and how to design and work on them safely, because you never know when you might want to hack on one.

Here’s the punchline: transformerless power supplies are safely useable only in situations where the entire device can be enclosed and nobody can accidentally come in contact with any part of it. That means no physical electrical connections in or out — RF and IR are fair game. And when you work with one, you have to know that any part of the circuit can be at mains voltage. Now read on to see why!

Continue reading “The Shocking Truth About Transformerless Power Supplies”

Light Dimmer Shows How To Steal Power From AC Line

We see a lot of traffic on the tips line with projects that cover old ground but do so in an instructive way, giving us insight into the basics of electronics. Sure, commercial versions of this IR-controlled light dimmer have been available for decades. But seeing how one works might just help you design your Next Big Thing.

Like many electronic controls, the previous version of this hack required a connection to a neutral in addition to the hot. This version of the circuit relies on passing a small current through the light bulb the dimmer controls to avoid that extra connection. This design limits application to resistive loads like incandescent bulbs. But it’s still a cool circuit, and [Muris] goes into great detail explaining how it works.

We think the neatest bit is the power supply that actually shorts itself out to turn on the load. A PIC controls a triac connected across the supply by monitoring power line zero-crossing. The PIC controls dimming by delaying the time the triac fires, which trims the peaks off of the AC waveform. The PIC is powered by a large capacitor while the triac is conducting, preventing it from resetting until the circuit can start stealing power again. Pretty clever stuff, and a nice PCB design to boot.

Given the pace of technological and cultural change, it might be that [Muris]’ dimmer is already largely obsolete since it won’t work with CFLs or LEDs. But we can see other applications for non-switched mode transformerless power supplies. And then again, we reported on [Muris]’s original dimmer back in 2009, so the basic design has staying power.