Yes, Even a Clamp Meter Can Run Doom
By Nick Bild
Getting Doom to run on unusual hardware has become a favorite way for programmers and hardware hackers to show off their skills. Thanks to their efforts, this classic 1990s game has appeared on calculators, cameras, printers, and countless other devices that were never intended for gaming. Artur Bieniek has now found another one: a $30 digital clamp meter with just 32 KB of RAM. Normally used to measure current, voltage, and resistance, the inexpensive FNIRSI DMC-100 clamp meter doesn't look much like a gaming machine. It does, however, have several of the basic ingredients needed to become one. There's an LCD, a microcontroller, some buttons, internal flash storage, and a USB-C port. With custom firmware, Bieniek was able to put all of that hardware to work running Doom . The biggest challenge facing Bieniek was the memory constraints of the platform. Doom originally ran on PCs with megabytes of RAM, while the meter has only 32 KB available — even a Commodore 64 tops that! Yet Bieniek still got the game to run natively on the device. There is no other computer behind the scenes streaming video to the meter. Better still, turning the meter into a gaming machine doesn't require adding any additional components to the stock hardware. Bieniek starts by placing the device into its firmware update mode and connecting it to a computer over USB-C. He then flashes his custom Doom firmware onto the meter. The meter's internal storage is also erased and prepared to hold the game data. After transferring the required files, the computer reads them back to verify that everything was written correctly. The USB cable can then be disconnected and Doom launched directly on the meter. The built-in controls are enough to make the game playable, but just barely. Bieniek uses the meter's front-panel buttons to navigate Doom , with the flashlight button serving as the trigger for firing weapons. It's an awkward control scheme for dodging fireballs and blasting demons, so he eventually plugs a DJI drone controller into the meter's USB-C port. The custom firmware recognizes the controller, providing proper directional controls and making Doom much easier to play. Even the game's audio survived the move to electrical test equipment, although the meter doesn't have a speaker or audio amplifier. Instead, Doom's music and sound effects are pushed through the existing piezoelectric buzzer, giving them an eerily strange, high-pitched sound. Despite the severe hardware limitations, Doom runs quite well on the meter's little LCD. There isn't much practical reason for an electrician to start clearing demons between voltage measurements, of course. But with no internal hardware modifications required, Bieniek's project is a great example of just how much functionality can be squeezed out of a cheap piece of embedded hardware.Playing Doom on a clamp meter (📷: Artur Bieniek) A controller makes the game more fun (📷: Artur Bieniek)
↑ Back to top
Originally published by
Hackster News ↗
· rebuilt here from its own full-text RSS feed · all rights
remain with the publisher, please read and support them there.