It seems that one can buy cheap power meters online and, well, that’s it. They work just fine, but to use them for anything else (like datalogging or control or…) they need a bit more work. The good news is that [Thomas Scherrer], alias [OZ2CPU], just did that reverse engineering work for us.
Inside these budget power meters, you’ll find an LCD driver, a power-monitoring chip, and an STM32F030, which is a low-cost ARM Cortex M0 chip that’s fun to play with on its own. [Thomas] traced out the SPI lines that the power-monitoring chip uses to talk to the microcontroller and broke in to snoop on the signals. Once he got an understanding of all the data, tossing an ATmega88 chip on the SPI line lets him exfiltrate it over a convenient asynchronous serial interface.
If you’re going to do this hack yourself, you should note that the internals of the power meter run at line voltage — the 3.3 V that powers the microcontroller floats on top of the 230 V coming out of [Thomas]’s wall plug. He took the necessary precautions with an isolation transformer while testing the device, and didn’t get shocked. That means that to get the serial data out, you’ll need to use optoisolation (or radio!) on the serial lines.
Now that we know how this thing works on the inside, it’s open-season for power-management hacks. Toss a mains socket and an ESP8266 in a box and you’ve got a WiFi-logging power meter that you can use anywhere, all for under $20. Sweet.
Like every other component we use, we always think of them as perfect. But just like wires have resistance and inductance that we often ignore, capacitors have different imperfect characteristics that you need to be aware of.
Ceramic capacitors, for example, lose capacitance over time. Different ceramic material have different temperature sensitivity. Aluminum capacitors don’t last forever. Voltage applied to a capacitor can change its value as much as 50%.
[James] also talks about polymer electrolytics and super capacitors. His burning question: Is there any truth to the old guideline that you should derate capacitors by 50%? Want to know what he thinks? Watch the video below. Speaking of burning, he tackles the touchy subject of tantalum capacitors. The image at the top is a test Kemet ran on their own parts at reverse polarity well beyond spec. All of them are blown but only some look burnt. That’s a mystery well worth watching the talk.
We’re glad we’re not the only hacker-packrats out there! [Voja Antonic] recently stumbled on an EPROM emulator that he’d made way back in 1991. It’s a sweet build, so take your mind back 25 years if you can. Put on “Nevermind” and dig into a nicely done retro project.
The emulator is basically a PIC 16C54 microcontroller and some memory, with some buffers for input and output. On one side, it’s a plug-in replacement for an EPROM — the flash memory of a bygone era. On the other side, it connects via serial port to a PC. Instead of going through the tedious process of pulling the EPROM, erasing and reprogramming it, this device uploads new code in a jiffy.
No need to emulate ancient EPROMS? You should still check out this build — the mechanics are great! We love the serial-port backplane that is soldered on at a 90° angle. The joint is a card-edge connector electrically, but also into a nice little box, reminiscent of [Voja]’s other FR4 fabrication tricks. The drilled hole with the LED poking out is classy. We’re never going to make an EPROM emulator, but we’re absolutely going to steal some of the fabrication techniques.
[Evan] always wanted a trackball for his arcade cabinet. It’s hard to play Missile Command with anything else, and Centipede with any other controller is just stupid. So he bought one, jury-rigged a mounting bracket for it, and then fried it by plugging the wiring harness in backwards. Doh!
But proving Edison’s famous statement that innovation is 1% inspiration and 99% having the right stuff in your junk bin, [Evan] dug deep and came out with one of twenty (!) old ball mice that he had purchased for just such an occasion. (Yeah, right.) Since a ball mouse is essentially an upside-down trackball, all that remained for him to do was reverse-engineer the mouse and swap its controller in for the busted trackball.
A simple hack, born of necessity, and well done. If you’re stuck with a crate of optical mice instead, consider turning them instead into optical laser rangefinders.
If you build electronic circuits on a regular basis the chances are you will have used capacitors many times. They are a standard component along with the resistor whose values are lifted off the shelf without a second thought. We use them for power supply smoothing and decoupling, DC blocking, timing circuits, and many more applications.
A capacitor though is not simply a blob with two wires emerging from it and a couple of parameters: working voltage and capacitance. There is a huge array of capacitor technologies and materials with different properties. And while almost any capacitor with the right value can do the job in most cases, you’ll find that knowing more about these different devices can help you make something that doesn’t just do the job, but does the best possible job. If you’ve ever had to chase a thermal stability problem or seek out the source of those extra dBs of noise for example you will appreciate this.
It’s been a long wait, but our latest single board computer for review is finally here! The BBC micro:bit, given free to every seventh-grade British child, has landed at Hackaday courtesy of a friend in the world of education. It’s been a year of false starts and delays for the project, but schools started receiving shipments just before the Easter holidays, pupils should begin lessons with them any time now, and you might even be able to buy one for yourself by the time this article goes to press.
It’s a rather odd proposition, to give an ARM based single board computer to coder-newbie children in the hope that they might learn something about how computers work, after all if you are used to other similar boards you might expect the learning curve involved to be rather steep. But the aim has been to position it as more of a toy than the kind of development board we might be used to, so it bears some investigation to see how much of a success that has been.
Opening the package, the micro:bit kit is rather minimalist. The board itself, a short USB lead, a battery box and a pair of AAA cells, an instruction leaflet, and the board itself. Everything is child-sized, the micro:bit is a curved-corner PCB about 50mm by 40mm. The top of the board has a 5 by 5 square LED matrix and a pair of tactile switches, while the bottom has the surface-mount processor and other components, the micro-USB and power connectors, and a reset button. Along the bottom edge of the board is a multi-way card-edge connector for the I/O lines with an ENIG finish. On the card edge connector several contacts are brought out to wide pads for crocodile clips with through-plated holes to take 4mm banana plugs, these are the ground and 3V power lines, and 3 of the I/O lines.
Like the fictitious invention of the Hula Hoop in Hudsucker Proxy, [David Spinden]’s big idea is small and obvious once you’ve seen it. And we’re not saying that’s a bad thing at all. What he’s done is to make a new kind of prototyping connector; one that hooks into a through-plated hole like a pogo pin, but in the horizontal direction.
This means that your test-points can do double duty as header connectors, when you need to make something more permanent, or vice-versa. That’s a lot of flexibility for a little wire, and it takes one more (mildly annoying) step out of prototyping — populating headers.
[David] makes them out of readily available header pins that already have the desired spring-like profile, and simply cuts them out and connects them to a standard Dupont-style hookup wire. Great stuff.
When we opened up the “Anything Goes” category for the Hackaday Prize, we meant it. We’re excited to see people entering large and small ideas that improve the world, even if it’s just the world of hackers.