An ESP Will Read Your Meter For You

As home automation starts to live up to its glossy sci-fi promise there remains a deficiency when it comes to interfacing between the newer computerised components and legacy items from a previous age. A frequent example that appears in projects on Hackaday is the reading of utility meters, and in that arena [jomjol] has a very neat solution involving an ESP32 camera module and a software neural network to identify meter readings directly.

The ESP and camera sit at the top of a 3D-printed housing that fits over the meter. The clever trick comes as each photo’s orientation is determined, and not only is OCR used to read digits but also figures are derived from small dial meters and other indicators on the meter face. It’s a very well-thought-out system, with a web-based configuration tool that allows full customisation of the readable zones and how they should be treated.

This project makes full use of the ESP32’s capabilities, and the attention to detail that has gone into making it usable is particularly impressive. It certainly raises the bar against previous OCR meter reading projects.

[Thanks for the tip Sascha]

Ice40 Runs DOOM

Spec sheets are an important tool in determining the performance of a given part or system, but they’re not the be all and end all when it comes to engineering. However, specs alone don’t prove whether a given system can complete a given task. Sometimes, you need to actually do the work to prove it instead – as [Sylvain] has done, running DOOM on the iCE40 FPGA.

DOOM’s minimum specifications demand a 386 with 4MB RAM minimum, but it’s commonly agreed that a 486 DX2 running at 66MHz with 8MB of RAM is required to play the game smoothly. With an iCEBreaker v1.0b running a RISC V softcore at 25MHz, it may seem like a difficult task, but the RISC V core has the benefit that many instructions run in a single clock cycle that take many on the 486. While the iCEBreaker doesn’t have much RAM onboard, it’s a simple job to piggyback an 8MB SPI device on top of the existing flash storage. Control of the game is via keystrokes sent to the iCEBreaker over serial, while video is handled over a PMOD video interface with an HDMI connector.

[Sylvain] does a great job of explaining all the minute details of the work that was required to get things working, and has provided files on Github for those keen to replicate the feat or expand upon the code. Music is notably absent but MIDI output could likely be achieved without much hassle. “Does it run DOOM?” is still a question asked of many platforms, even the new Nintendo Game & Watch. Video after the break.

Continue reading “Ice40 Runs DOOM”

Sensing Danger With Spinach

Do you need more proof that we’re living in the future? A group of MIT engineers have found a way for spinach, aka Popeye’s favorite short-term strength booster, to send potentially lifesaving emails regarding explosives in the area.

As the team outlined in a paper published in 2016, the field of plant nanobionics uses nanotechnology to enhance the natural abilities of plants and make them do new tricks. Here’s how this one works: the roots of the spinach plants absorb nitroaromatic compounds such as picric acid from the groundwater, and these transpire up through the stem and into the leaves along with water and other nutrients. When the compounds reach the leaves, they accumulate in the plants’ mesophyll — the inner tissue of the leaves.

A pair of sensors made of single-walled carbon nanotubes are built into the leaves. One sensor is engineered to detect nitroaromatic compounds using near-infrared fluorescent emission, and the other is used as a reference signal. As the the compounds build up in the mesophyll, the IR signal gets stronger. This change is detected by a camera, which triggers an email alert to the researchers within a matter of minutes. After running the experiments with a fancy-pants indium-gallium-arsenide camera, the researchers were able to duplicate the results using a Raspberry Pi and a CCD camera module with the infrared filter removed.

Plants have an ear to the groundwater like none other and absorb a lot of information about the environment around them, so the researchers believe that detecting explosive materials is only the beginning — they could also be harbingers of pollution and other environmental concerns.

Even if there is no threat of landmines in the vicinity, weeds are a problem everywhere. There’s a Raspberry Pi-based solution for those, too.

GBA Gets Homebrew USB Charging Upgrade

Sure there are pre-made kits to add a rechargeable battery and USB-C compatibility to Nintendo’s venerable Game Boy Advance, but [HorstBaerbel] thought he could throw together something similar for a fraction of the price. Plus, he wouldn’t have to wait on shipping. The end result might not be quite as polished, but it’s certainly impressive for what’s essentially a junk bin build.

The star of the show is the popular TP4056 lithium-ion charger module. [HorstBaerbel] went with the more common micro USB version, but these boards are also available with USB-C should you want to embrace the future. The module fits nicely inside the original battery compartment while while still leaving room for a 1,000 mAh pouch cell. The 4.2 V output of the fully charged battery is a bit too high for the Game Boy’s liking, so he used the forward voltage drop of a diode to bring it down to a more acceptable 3.5 V.

Naturally this does waste a good deal of energy, especially compared to the DC-DC converters used in commercial offerings like the CleanJuice, but it still delivers a respectable seven hours of runtime. The only issue with this modification seems to be that you’ve got just five minutes to save your progress and shut down when the GBA’s low-battery light goes on; but what’s life without a little excitement?

While not nearly extreme as some of the other GBA modifications we’ve seen over the years, this project is yet another example of the seemingly unlimited hacking potential of Nintendo’s iconic Game Boy line.

The Future Of Hydrogen Power… Is Paste?

We’ve been promised hydrogen-powered engines for some time now. One downside though is the need for hydrogen vehicles to have heavy high-pressure tanks. While a 700 bar tank and the accompanying fuel cell is acceptable for a city bus or a truck, it becomes problematic with smaller vehicles, especially ones such as scooters or even full-sized motorcycles. The Fraunhofer Institute wants to run smaller vehicles on magnesium hydride in a paste form that they call POWERPASTE.

The idea is that the paste effectively stores hydrogen at normal temperature and pressure, where it stays chemically locked until mixed with water. The researchers note that it will decompose around 250 °C, but while your motorcycle may seem hot when parked in the sun, it isn’t getting quite to 250C.

Continue reading “The Future Of Hydrogen Power… Is Paste?”

PCB Bath Comes From Russia With Love

[Ruvin Kub] likes magnets, a lot. Most of his projects feature some sort of magnet and his PC board agitation bath is no exception. You can see a video about the device, below. We’ll admit our Russian is pretty rusty, but if you ask YouTube nicely it will translate the Russian subtitles into whatever language you like.

One of the things we liked about the video was that he uses hydrogen peroxide, citric acid, and salt as an etchant. We’ve seen the same mix with vinegar or muriatic acid instead of citric acid. We aren’t sure what the actual  translation is about why he doesn’t like ferric chloride, but YouTube says, “she’s too gloomy for my light souls.”

Continue reading “PCB Bath Comes From Russia With Love”

Cap-Gun Lighter Built From Scratch

For most of us, a lighter is a cheap $2 plastic tool that serves a purpose, and little more. Some of us may go so far as to have a nice Zippo, or perhaps a windproof lighter for better outdoor performance. But if you’re a machinist, you could consider whipping yourself up something special, like this build by [W&M Levsha].

There’s plenty to love here for those who love making chips. The body is crafted out of brass and copper, soldered together by blowtorch. The lighter works by an unusual mechanism. The fluid tank is stuffed with cotton wool and filled with lighter fluid, which feeds a wick, which by itself, is fairly ordinary. However, ignition is via a spring-loaded aluminium hammer, which fires off a paper cap, igniting the wick. The flame can then be extinguished by blowing it out.

It’s a lighter that’s sure to be a conversation piece, though we wonder how welcome it’s cracking report will be at a quiet, reserved cigar bar. The mechanism may have more consumables than a typical lighter, but that’s the price paid to be truly unique. There are other creative designs out there too, like this lighter which uses a platinum catalyst for ignition. Video after the break.

Continue reading “Cap-Gun Lighter Built From Scratch”