Scott Swaaley On High Voltage

If you were to invent a time machine and transport a typical hardware hacker of the 1970s into 2018 and sit them at a bench alongside their modern counterpart, you’d expect them to be faced with a pile of new things, novel experiences, and exciting possibilities. The Internet for all, desktop computing fulfilling its potential, cheap single-board computers, even ubiquitous surface-mount components.

What you might not expect though is that the 2018 hacker might discover a whole field of equivalent unfamiliarity while being very relevant from their grizzled guest. It’s something Scott Swaaley touches upon in his Superconference talk:  “Lessons Learned in Designing High Power Line Voltage Circuits” in which he describes his quest for an electronic motor brake, and how his experiences had left him with a gap in his knowledge when it came to working with AC mains voltage.

When Did You Last Handle AC Line voltages?

If you think about it, the AC supply has become something we rarely encounter for several reasons. Our 1970s hacker would have been used to wiring in mains transformers, to repairing tube-driven equipment or CRT televisions with live chassis’,  and to working with lighting that was almost exclusively provided by mains-driven incandescent bulbs. A common project of the day would have been a lighting dimmer with a triac, by contrast we work in a world of microcontroller-PWM-driven LEDs and off-the-shelf switch-mode power supplies in which we have no need to see the high voltages. It may be no bad thing that we are rarely exposed to high-voltage risk, but along the way we may have lost a part of our collective skillset.

Scott’s path to gaining his mains voltage experience started in a school workshop, with a bandsaw. Inertia in the saw kept the blade moving after the power had been withdrawn, and while that might be something many of us are used to it was inappropriate in that setting as kids are better remaining attached to their fingers. He looked at brakes and electrical loads as the solution to stopping the motor, but finally settled on something far simpler. An induction motor can be stopped very quickly indeed by applying a DC voltage to it, and his quest to achieve this led along the path of working with the AC supply. Eventually he had a working prototype, which he further developed to become the MakeSafe power tool brake.

Get Your AC Switching Right First Time

The full talk is embedded below the break, and gives a very good introduction to the topic of switching AC power. If you’ve never encountered a thryristor, a triac, or even a diac, these once-ubiquitous components make an entrance. We learn about relays and contactors, and how back EMF can destroy them, and about the different strategies to protect them. Our 1970s hacker would recognise some of these, but even here there are components that have reached the market since their time that they would probably give anything to have. We see the genesis of the MakeSafe brake as a panel with a bunch of relays and an electronic fan controller with a rectifier to produce the DC, and we hear about adequate safety precautions. This is music to our ears, as it’s a subject we’ve touched on before both in terms of handling mains on your bench and inside live equipment.

So if you’ve never dealt with AC line voltages, give this talk a look. The days of wiring up transformers to power projects might be largely behind us, but the skills and principles contained within it are still valid.

Continue reading “Scott Swaaley On High Voltage”

A Sub-$1000, Non-X86 Motherboard

If you’re building a computer, your options are nearly limitless. You can get a motherboard with red LEDs, with blue LEDs, green LEDs, or if you’re feeling spendy, RGB LEDs. You can get custom-milled heat spreaders in any shape you want, as long as it’s angular and screams ‘gamer’. If you want a motherboard that doesn’t use x86 — either AMD or Intel — you’re kind of out of luck. Either it doesn’t exist, or it’s going to cost a small fortune.

Raptor Engineering have just released a motherboard that isn’t x86 and doesn’t cost as much as a cheap car. The Blackbird mainboard is designed for an IBM Power9 CPU and it only costs $800. Add in a four-core CPU and the total cost comes out to about $1200. Add in some ECC RAM and you’re still under two grand. Building with a non-x86 CPU has never been cheaper. This is a significant change from earlier releases from Raptor Engineering, where just the motherboard cost $3700.

The Blackbird mainboard features dual DDR4 ECC DIMM slots, one PCI Express 4.0 x16 slot, one PCI Express 4.0 x8 slot, dual Gigabit Ethernet ports, 4 x SATA 3.0 ports, 4 x USB 3.0 ports, 1 x USB 2.0 port, and an HDMI display output.

The only reason you would build a Power9-based computer is simply to get around the black box that has become Intel and AMD CPUs. No one is really sure what’s going on in the Intel Management Engine, AMD has similar black boxes littered around. However, using a Power9 CPU has a secure boot mode and provided your computer is physically secure, you’re more or less assured you’re running your firmware and your kernel and your userspace apps. It’s security for the security-minded. RISC architecture is going to change everything.

Weather Station Is A Tutorial In Low Power Design

Building your own weather station is a fun project in itself, but building it to be self-sufficient and off-grid adds another set of challenges to the mix. You’ll need a battery and a solar panel to power the station, which means adding at least a regulator and charge controller to your build. If the panel and battery are small, you’ll also need to make some power-saving tweaks to the code as well. (Google Translate from Italian) The tricks that [Danilo Larizza] uses in his build are useful for more than just weather stations though, they’ll be perfect for anyone trying to optimize their off-grid projects for battery and solar panel size.

When it comes to power conservation, the low-hanging fruit is plucked first. [Danilo] set the measurement intervals to as long as possible and put the microcontroller (a NodeMCU) to sleep in between. Removing the power from the sensors when the microcontroller was asleep was another easy step, but the device was still crashing overnight. Then he turned to a hardware solution and added a more efficient battery charger to the setup, which saved even more power. This is all the more impressive because the station communicates via WiFi which is notoriously difficult to run in low-power applications.

Besides the low power optimizations, the weather station itself is interesting for its relative simplicity. It could be built with things most of us have knocking around. Best of all, [Danilo] published the source code on his site, so most of the hard work has been done already. If you’re thinking he seems a little familiar, it’s because we’ve featured some of his projects before, like his cheap WiFi extender antenna and his homemade hybrid tube amplifier.

Sidney Darlington

In a field where components and systems are often known by sterile strings of characters that manufacturers assign or by cutesy names that are clearly products of the marketing department and their focus groups, having your name attached to an innovation is rare. Rarer still is the case where the mere mention of an otherwise obscure inventor’s name brings up a complete schematic in the listener’s mind.

Given how rarely such an honor is bestowed, we’d be forgiven to think that Sidney Darlington’s only contribution to electronics is the paired transistor he invented in the 1950s that bears his name to this day. His long career yielded so much more, from network synthesis theory to rocket guidance systems that would eventually take us to the Moon. The irony is that the Darlington pair that made his name known to generations of engineers and hobbyists was almost an afterthought, developed after a weekend of tinkering.

Continue reading “Sidney Darlington”

Save Fingers, Save Lives With A No-Voltage Release For The Shop

Imagine the scenario: you’re spending some quality time in the shop with your daughter, teaching her the basics while trying to get some actual work done. You’re ripping some stock on your cheap table saw when your padiwan accidentally hooks the power cord with her foot and pulls out the plug. You have a brief chat about shop safety and ask her to plug it back in. She stoops to pick up the cord and plugs it back in while her hand is on the table! Before you can stop the unfolding tragedy, the saw roars to life, scaring the hell out of everyone but thankfully doing no damage.

If that seems strangely specific it’s because it really happened, and my daughter was scared out of the shop for months by it. I’ll leave it to your imagination what was scared out of me by the event. Had I only known about no-voltage release switches, or NVRs, I might have been able to avoid that near-tragedy. [Gosforth Handyman] has a video explaining NVRs that’s worth watching by anyone who plugs in anything that can spin, cut, slice, dice, and potentially mutilate. NVRs, sometimes also called magnetic contactors, do exactly what the name implies: they switch a supply current on and off, but automatically switch to an open condition if the supply voltage fails.

Big power tools like table saws and mills should have them built in to prevent a dangerous restart condition if the supply drops, but little tools like routers and drills can still do a lot of damage if they power back up while switched on. [Gosforth] built a fail-safe power strip for his shop from a commercial NVR, and I’d say it’s a great idea that’s worth considering. Amazon has a variety of NVRs that don’t cost much, at least compared to the cost of losing a hand.

True, an NVR power strip wouldn’t have helped me with that cheap table saw of yore, but it’s still a good idea to put some NVR circuits in your shop. Trust me, it only takes a second’s inattention to turn a fun day in the shop into a well-deserved dressing down by an angry mother. Or worse.

Continue reading “Save Fingers, Save Lives With A No-Voltage Release For The Shop”

PTPM Energy Scavenger Aims For Maintenance-Free Sensor Nodes

[Mile]’s PTPM Energy Scavenger takes the scavenging idea seriously and is designed to gather not only solar power but also energy from temperature differentials, vibrations, and magnetic induction. The idea is to make wireless sensor nodes that can be self-powered and require minimal maintenance. There’s more to the idea than simply doing away with batteries; if the devices are rugged and don’t need maintenance, they can be installed in locations that would otherwise be impractical or awkward. [Mile] says that goal is to reduce the most costly part of any supply chain: human labor.

The prototype is working well with solar energy and supercapacitors for energy storage, but [Mile] sees potential in harvesting other sources, such as piezoelectric energy by mounting the units to active machinery. With a selectable output voltage, optional battery for longer-term storage, and a reference design complete with enclosure, the PPTM Energy Scavenger aims to provide a robust power solution for wireless sensor platforms.

Beats An Extension Cord

What does your benchtop power supply have that [Pete Marchetto]’s does not? Answer: an extension cord draped across the floor. How often have you said to yourself, “I just need to energize this doodad for a couple seconds,” then you start daisy chaining every battery in the junk drawer to reach the necessary voltage? It is not uncommon to see battery packs with a single voltage output, but [Pete] could not find an adjustable one, so he built his own and put it on Tindie.

Presumably, the internals are not going to surprise anyone: an 18650 battery, charging circuit, a voltage converter, display, adjustment knob, and a dedicated USB charging port. The complexity is not what intrigues us, it is the fact that we do not see more of them and still wind up taping nine-volt batteries together. [Editor’s note: we use one made from an old laptop battery.]

This should not replace your benchtop power supply, it does not have the bells and whistles, like current regulation, but a mobile source of arbitrary voltage does most of the job most of the time. And it’s what this build hasn’t got (a cord) that makes it most useful.