The Electrical Outlet and How It Got That Way

Right now, if you happen to be in Noth America, chances are pretty good that there’s at least one little face staring at you. Look around and you’ll spy it, probably about 15 inches up from the floor on a nearby wall. It’s the ubiquitous wall outlet, with three holes arranged in a way that can’t help but stimulate the facial recognition firmware of our mammalian brain.

No matter where you go you’ll find those outlets and similar ones, all engineered for specific tasks. But why do they look the way they do? And what’s going on electrically and mechanically …read more

Continue reading The Electrical Outlet and How It Got That Way

Mains Clocking A Microcontroller

[Lujji] is playing around with the STM8 microcontroller. In reviewing the official documentation for this chip, he read the external clock can be a sine wave, a triangle wave, or a square wave with a 50% duty cycle. The minimum CPU frequency is 0 Hz. [Lujji] doesn’t have a signal generator, and presumably, he’s all out of crystals. He does have mains AC, though, so why not clock a microcontroller with wall power?

Using mains power as a frequency standard is a concept a hundred years old. Synchronous motors turn at a rate proportional to the mains frequency, and this …read more

Continue reading Mains Clocking A Microcontroller

Mains Clocking A Microcontroller

[Lujji] is playing around with the STM8 microcontroller. In reviewing the official documentation for this chip, he read the external clock can be a sine wave, a triangle wave, or a square wave with a 50% duty cycle. The minimum CPU frequency is 0 Hz. [Lujji] doesn’t have a signal generator, and presumably, he’s all out of crystals. He does have mains AC, though, so why not clock a microcontroller with wall power?

Using mains power as a frequency standard is a concept a hundred years old. Synchronous motors turn at a rate proportional to the mains frequency, and this …read more

Continue reading Mains Clocking A Microcontroller

Hacking on the Weirdest ESP Module

Sometimes I see a component that’s bizarre enough that I buy it just to see if I can actually do something with it. That’s the case with today’s example, the ESP-14. At first glance, you’d ask yourself what AI Thinker, the maker of many of the more popular ESP8266 modules, was thinking.

The ESP-14 takes the phenomenally powerful ESP8266 chip and buries it underneath one of the cheapest microcontrollers around: the 8-bit STM8S003 “value line” chip. Almost all of the pins of the ESP chip are locked inside the RF cage’s metal tomb — only the power, bootloader, and serial …read more

Continue reading Hacking on the Weirdest ESP Module

Tripping Out: A Field Guide to Circuit Protection

My introduction to circuit protection came at the tender age of eight. Being a curious lad with an inventive – and apparently self-destructive – bent, I decided to make my mother a lamp. I put a hose clamp around the base of a small light bulb, stripped the insulation off an old extension cord, and jammed both ends of the wires under the clamp. When I plugged my invention into an outlet in the den, I saw the insulation flash off the cord just before the whole house went dark. Somehow the circuit breaker on the branch circuit failed and …read more

Continue reading Tripping Out: A Field Guide to Circuit Protection

Upcycle An Isolation Transformer

There are several reasons you should have an isolation transformer. They can prevent ground loops and also prevent a device under test from having a DC path to ground (or isolate an oscilloscope from DC ground, which can be dangerous in its own right, but that’s another discussion). [Tanner_tech] noticed that finding ballast transformers for sodium vapor street lights is getting easier as more street lights move to LED technology. What to do with these transformers? Build an isolation transformer, of course.

Of course, your dumpster transformer might be a little different than the one shown in the post (and …read more

Continue reading Upcycle An Isolation Transformer