A Smart Light Bulb Running Doom Is A Pretty Bright Idea

A light bulb might seem like an unlikely platform for gaming, but we’re living in the future now, so anything is possible. And with enough know-how, it turns out that an RGB light bulb can indeed be modified to run Doom.

[Ed note: The project pages and video got pulled right when this went to press. Nicola received a takedown notice.  We’ll let you know more when we do. The main link has been updated to the Wayback Machine.]

That’s not to say that the Ikea TRÅDFRI light bulb is the only thing [Nicola Wrachien] needed to accomplish the hack. But the bulb, specifically this addressable GU10 RGB LEB bulb, donated the most critical component, a Silicon Labs MGM210L wireless microcontroller, with enough processing power to run vanilla Doom. Added to the microcontroller was a TFT display, a controller made from a handful of buttons and a shift register, and a few odds and ends to stitch it all together. Some more memory was needed, though, so [Nicola] used an 8 MB QSPI flash memory and a couple of neat tricks to reduce latency and improve bandwidth. There are a lot of neat tricks with this one, but the coolest thing might just be that the whole footprint of the build isn’t that much bigger than the original bulb. Check out the surprisingly smooth gameplay in the video below.

This is a nice addition to the seemingly neverending “Will it Doom?” series. We’ve seen the classic game ported to everything from a GPS to a kitchen “bump bar” computer and even to an oscilloscope.

Continue reading “A Smart Light Bulb Running Doom Is A Pretty Bright Idea”

Spam Caught, In A Tin Of Spam

We’ve seen many inventive enclosures for single board computers over the years: some are decorative, others utilitarian, and yet more tailored to an application. This one from [Daniel Hepper] manages to be all three: a practical enclosure for an OrangePi Zero LTS running the PiHole web spam filter, enclosed in a seemingly unopened Spam tin.

The inspiration came from an out-of-date tin of Spam, a souvenir that had lain around for a decade. It had a paper label that could be carefully removed, after which a Dremel was used to cut an aperture in the reverse of the tin. The tasty-but-expired luncheon meat could then be scooped out, and a 3D-printed carrier for the OrangePi slid in. The label reattached, it looks for all the world like an unopened tin of Spam with a PoE cable emerging from its behind.

The constant war on spam has seen many creative attempts at a solution from within our community, and it’s certain that PiHole is one of the better ways to deal with its web-borne variants. It is however not unknown for a Hackaday scribe to play a part in delivering it.

Z80 Family Reunion Discovered In Old PoS Card Swiper

[Ben Heck] found an old card-swipe point-of-sale box at the Goodwill store, took it home, and tore it down to see what was inside. He found a completely serviceable single board computer based on the Z80. In fact, there’s a whole family of four Z80 chips: the CPU itself, the DART chip (dual UART), the PIO chip (parallel input/output interface), and the CTC chip (counter/timer circuit). That’s not all — there’s a landline telephone modem, a real time clock, 32K of RAM and UV-EPROM. The second PCB of this assembly holds a hefty sixteen-key keypad and a sixteen-character vacuum fluorescent alphanumeric display. All this for the bargain price of $2.99.

Surely [Ben] will dig into the Z80 system in the future, but in this video he tries to make the display work. An OKI Semiconductor controller drives the VFD. After tracking down the data sheet, [Ben] wires it up to an Arduino and writes a quick program. Only a few YouTube minutes later, he conquers the display, drawing sample text anywhere he wants on the screen with any brightness he desires.

You never know what you may find lurking inside old equipment like this. You might find a proprietary ASIC with no documentation, or like [Ben] did here, you could find a fully functioning embedded computer. If [Ben] can whip up a RAM-based emulator to replace the 32K UV-EPROM, he’ll have a perfect evaluation board for Z80 projects.

Let us know in the comments if you have found any treasures like this. Also, how would you use this board if you had found it? Thanks to reader [Nikša Barlović] for sending in the tip.

Continue reading “Z80 Family Reunion Discovered In Old PoS Card Swiper”

Smooth 3D Prints With Alcohol

There was a time when most 3D printers used ABS, which is a great plastic for toughness, but is hard to print with since it tends to warp. Worse still, it stinks and the fumes may be bad for you. Most people have switched over to printing in PLA these days, but one thing you might miss with this more forgiving plastic is vapor smoothing with acetone; a smoothed print doesn’t show layer lines and looks more like plastic part that didn’t go through a nozzle.

[Major Hardware] likes the look of vapor smoothed parts, but doesn’t like working with ABS and acetone fumes, so he’s started using Polysmooth. As you can see in the video below, the results look good, but be warned that the filament is relatively pricey. Plus you need to use a $300 machine that atomizes your alcohol into a mist. We feel certain you could do the same thing for less since it appears to just be like a humidifier, but we’d also suggest being careful putting flammable substances in a consumer-grade humidifier and certainly don’t use a vaporizer.

The filament sounds like it is on par with PLA for ease of printing. The material has a higher glass temperature than PLA but less than ABS. The tensile strength and Young’s modulus (a measure of stiffness) numbers are comparable to ABS. Although all smoothing has some imperfections and you probably need to experiment with times and other parameters. The smoothing did fuse some movable joints, so anything that moves or fits together is probably a bad candidate for this process. We’ve also heard that thin-walled parts can get soft in water due to alcohol residue, but you can dry or soak the part clean to avoid that.

If you want to try your own hand at making a mist, this might get you started. After all, if it can handle acetone, we imagine alcohol isn’t any worse. While it isn’t as easy to handle as alcohol, we hear the solvents such as THF or ethyl acetate can smooth regular PLA. Heat guns and open flames are popular, too.

Continue reading “Smooth 3D Prints With Alcohol”

Friendly Webcam Robot Keeps An Eye On Privacy

Wouldn’t it be nice if every webcam had a hardware switch? Especially for those built-in webcams like the one in your laptop. Since they don’t have switches yet, we’re just stuck trying to remember to turn them off or re-apply the sticker after every meeting. [Becky Stern] was tired of trying to remember to blind the all-seeing eye, and decided to make a robot companion that would do it for her.

Essentially, a servo-driven, 3D-printed eyelid covers the eye’s iris and also the web cam directly underneath. At first, we though [Becky] had liberated the business parts of a cheap webcam and built it into the eyeball, but this is far less intrusive. The eyeball simply sits atop the monitor, and [Becky] can control the eyelid two ways: she can set a timer with the potentiometer to close it automatically after some number of minutes, or else do it on demand using the momentary button. We’d love to see it tied directly to Zoom and or whatever else [Becky] uses regularly. Be sure to check out the build and demo video after the break to see it in action.

We love this cute and friendly reminder that the camera could be watching us. It’s way less creepy than this realistic eyeball webcam that looks around and blinks.

Continue reading “Friendly Webcam Robot Keeps An Eye On Privacy”

Custom Firmware Teaches USB Relay Board New Tricks

If you’re looking for a quick and easy way to control a few devices from your computer, a cheap USB relay board might be the ideal solution. These are fairly simple gadgets, consisting of little more than a microcontroller and a handful of relays. But that doesn’t mean there isn’t room for improvement, and as [Michał Słomkowski] recently demonstrated, flashing these boards with a custom firmware allows the user to modify their default functionality.

In his case, [Michał] wanted to build a power strip that would cut the power to any devices plugged into it once his computer went to sleep. Unfortunately, he couldn’t just check to see if there was 5 V on the line as his motherboard kept the USB ports powered up all the time. But with some modifications to the relay board’s firmware, he reasoned he should be able to detect if there was any USB activity by watching for the start-of-frame packet that goes out every millisecond when the bus is active.

Wiring up the ATtiny45 for flashing.

Now [Michał] isn’t claiming to be the first person to come up with a custom firmware for one of these boards, in fact, he credits an existing open source firmware project as an inspiration for his work. But he did create an entirely new GPLv3 firmware for these ATtiny45 powered devices, which includes among other improvements the latest version of V-USB. As it so happens, V-USB includes start-of-frame packet detection out of the box, which made it much easier to implement his activity detection code.

With the new firmware flashed to the relay board’s chip, [Michał] put it in an enclosure and wired up the outlets. But there was still one missing piece of the puzzle. It seems that Linux won’t actually send out the start-of-frame packets unless its actively communicating with a USB device, as part of the so-called “selective suspend” power saving feature. Luckily there is support for disabling this feature for specific devices based on their Vendor/Product ID pair, so after a little udev fiddling, everything was working as expected.

We love custom firmware projects here at Hackaday. Not only do they keep proprietary software out of our devices, but they often unlock new and expanded capabilities which otherwise would be hidden behind artificial paywalls.

Digital X-Ray Scanner Teardown Yields Bounty Of Engineering Goodies

We’ll just go ahead and say it right up front: we love teardowns. Ripping into old gear and seeing how engineers solved problems — or didn’t — is endlessly fascinating, even for everyday devices like printers and radios. But where teardowns really get interesting is when the target is something so odd and so specialized that you wouldn’t normally expect to get a peek at the outside, let alone tramp through its guts.

[Mads Barnkob] happened upon one such item, a Fujifilm FCR XG-1 digital radiography scanner. The once expensive and still very heavy piece of medical equipment was sort of a “digital film system” that a practitioner could use to replace the old-fashioned silver-based films used in radiography, without going all-in on a completely new digital X-ray suite. It’s a complex piece of equipment, the engineering of which yields a lot of extremely interesting details.

The video below is the third part of [Mads]’ series, where he zeroes in on the object of his desire: the machine’s photomultiplier tube. The stuff that surrounds the tube, though, is the real star, at least to us; that bent acrylic light pipe alone is worth the price of admission. Previous videos focused on the laser scanner unit inside the machine, as well as the mechatronics needed to transport the imaging plates and scan them. The video below also shows experiments with the PM tube, which when coupled with a block of scintillating plastic worked as a great radiation detector.

We’ve covered a bit about the making of X-rays before, and a few of the sensors used to detect them too. We’ve also featured a few interesting X-ray looks inside of tech, from a Starlink dish to knock-off adapters.

Continue reading “Digital X-Ray Scanner Teardown Yields Bounty Of Engineering Goodies”