This Thermal Printer has Serious Game

[Dhole], like the fox, isn’t the first to connect his computer to a Game Boy printer but he has done a remarkable job of documenting the process so well that anyone can follow. The operation is described well enough that it isn’t necessary to scrutinize his code, so don’t be put off if C and Rust are not your first choices. The whole thing is written like a story in three chapters.

The first chapter is about hacking a link cable between two Game Boys. First, he explains the necessity and process of setting the speed of his microcontroller, a NUCLEO-F411RE development board by STMicroelectronics. Once the rate is set, he builds a sniffer by observing the traffic on the cable and listens in on two Game Boys playing Tetris in competition mode. We can’t help but think that some 8-bit cheating would be possible if Tetris thought your opponent instantly had a screen overflowing with tetrominoes. Spying on a couple of Game Boys meant that no undue stress was put on the printer.

Chapter two built on the first chapter by using the protocol to understand how the printer expects to be spoken to. There is plenty of documentation about this already, and it is thoughtfully referenced. It becomes possible to convince a Game Boy that the connected microcontroller is a printer so it will oblige by sending an image. Since there isn’t a reason to wait for printing hardware, the transfer is nearly instantaneous. In the image above, you can see a picture of [Dhole] taken by a Game Boy camera.

The final chapter, now that all the protocols are understood, is also the climax where the computer and microcontroller convince the printer they are a Game Boy that wants to print an image. In the finale, we get another lesson about measuring controller frequency without an oscilloscope. If you are looking for the hack, there it is. There is a handful of success in the form of old receipts with superimposed grayscale images since virgin thermal printer paper by Nintendo costs as much as a used printer.

This story had a happy ending but grab your reading glasses for the smallest Game Boy and here’s someone who wrote their own Game Boy color game.

Thermal Camera Diagnoses Thermal Issue on a Sonoff Switch

No matter what your experience level with troubleshooting, there’s always at least a little apprehension when you have to start poking through a mains powered device. A little fear is a good thing; it keeps you focused. For some, though, the aversion to playing with high voltage is too much, which can cause problems when something fails. So what do you do when you’re reluctant to even open the case? Easy — diagnose the problem with an infrared camera.

[Bald Engineer]’s electrophobia started early, with some ill-advised experiments in transcutaneous conduction. So when his new Sonoff WiFi switch failed soon after deploying it to control a lamp in his studio, popping the top while it was powered up was out of the question. The piquant aroma of hot plastic was his first clue to the problem, so he whipped out his Flir One Thermal Camera and watched the device as it powered up. The GIF nearby shows that there was clearly a problem, with a bloom of heat quickly spreading out from the center of the unit. A few IR images of the top and bottom gave him some clues as to the culprits, but probing the board in those areas once power was removed revealed no obviously damaged components.

[Bald Engineer] hasn’t yet gotten to the bottom of this, but his current thinking is that the NCP1117 regulator might be bad, since it rapidly spikes to 115°C. Still, we think this is a nifty diagnostic technique to add to our toolkit, and a great excuse to buy an IR camera. Or, we could go with an open-source thermal camera instead.

[via Dangerous Prototypes]

MIT Extracts Power from Temperature Fluctuations

As a civilization, we are proficient with the “boil water, make steam” method of turning various heat sources into power we feed our infrastructure. Away from that, we can use solar panels. But what if direct sunlight is not available either? A team at MIT demonstrated how to extract power from daily temperature swings.

Running on temperature difference between day and night is arguably a very indirect form of solar energy. It could work in shaded areas where solar panels would not. But lacking a time machine, or an equally improbable portal to the other side of the planet, how did they bring thermal gradient between day and night together?

This team called their invention a “thermal resonator”: an assembly of materials tuned to work over a specific range of time and temperature. When successful, the device output temperature is out-of-phase with its input: cold in one section while the other is hot, and vice versa. Energy can then be harvested from the temperature differential via “conventional thermoelectrics”.

Power output of the initial prototype is modest. Given a 10 degree Celsius daily swing in temperature, it could produce 1.3 milliwatt at maximum potential of 350 millivolt. While the Hackaday coin-cell challenge participants and other pioneers of low-power electronics could probably do something interesting, the rest of us will have to wait for thermal resonator designs to evolve and improve on its way out of the lab.

[via Engadget]

Simple Jig Gives Plastic Homes to Orphaned Projects

Look around your bench and chances are pretty good that there’s a PCB or scrap of perfboard or even a breadboard sitting there, wires and LEDs sprouting off it, doing something useful and interesting. Taking it to the next level with a snazzy enclosure just seems too hard sometimes, especially if you don’t have access to a 3D printer or laser cutter. But whipping up plastic enclosures can be quick and easy with this simple acrylic bending outfit.

At its heart [Derek]’s bending rig is not much different from any of the many hot-wire foam cutters we’ve featured. A nichrome wire with a tensioning spring is stretched across a slot in a flat work surface. The slot contains an aluminum channel to reflect the heat from the wire upward and to protect the MDF bed; we wonder if perhaps an angle section set in a V-groove might not be more effective, and whether more vertical adjustment range would provide the wider heating area needed for wider radius bends. It works great as is, though, and [Derek] took the time to build a simple timer to control the heating element, for which of course he promptly built a nice looking enclosure.

We can imagine the possibilities here are endless, especially if you use colored acrylic or Lexan and add in some solvent welding. We’ve covered acrylic enclosure techniques before; here’s a post that covers the basics.

Continue reading “Simple Jig Gives Plastic Homes to Orphaned Projects”

Thermal Panorama One Pixel At A Time

Inspiration can strike from the strangest places. Unearthing a forgotten Melexis MLX90614 thermopile from his  ‘inbox,’ [Saulius Lukse] used it to build a panoramic thermal camera.

[Lukse] made use of an ATmega328 to control the thermal sensor, and used the project to test a pair of two rotary stage motors he designed for tilt and pan, with some slip rings to keep it in motion as it captures a scene. That said, taking a 720 x 360 panoramic image one pixel at a time takes over an hour, and compiling all that information into an intelligible picture is no small feat either. An occasional hiccup are dead pixels in the image, but those are quickly filled in by averaging the temperature of adjoining pixels.

The camera  rig works — and it does turn out a nice picture — but [Lukse]  says an upgraded infrared camera to captured larger images at a time and higher resolution would not be unwelcome.

 

Another clever use of a thermopile might take you the route of this thermal flashlight. if you don’t build your own thermal camera outright.

[Thanks for the tip, Imn!]

Old Heatsink Lets Ham Push Duty Cycle for Digital Modes

Listen to the amateur radio bands long enough, and you’ll likely come to the conclusion that hams never stop talking. Of course it only seems that way, and the duty cycle for a transmitter operating in one of the voice modes is likely to be pretty low. But digital modes can up the duty cycle and really stress the finals on a rig, so this field-expedient heat sink for a ham transceiver is a handy trick to keep in mind.

This hacklet comes by way of [Kevin Loughin (KB9RLW)], who is trying to use his “shack-in-a-box” Yaesu FT-817 for digital modes like PSK31. Digital modes essentially turn the transceiver into a low-baud modem and thus messages can take a long time to send. This poses a problem for the 5-watt FT-817, which was designed for portable operations and doesn’t have the cooling fans and heavy heatsinks that a big base station rig does. [Kevin] found that an old 486 CPU heatsink clamped to a lug on the rear panel added enough thermal mass to keep the finals much cooler, even with a four-minute dead key into a dummy load at the radio’s full 5-watt output.

You may scoff at the simplicity of this solution, and we’ll concede that it’s far from an epic hack. But sometimes it’s the simple fixes that it pays to keep in mind. However, if your project needs a little less seat-of-the-pants and a little more engineering, be sure to check out [Bil Herd]’s primer on thermal management.
Continue reading “Old Heatsink Lets Ham Push Duty Cycle for Digital Modes”

Multi Sensor Security Camera Has You Covered

Security in the home — especially a new home — is a primary concern for many. There are many options for security systems on the market, but for those will the skills, taking matters into your own hands can add peace of mind when protected by a system of one’s own design. [Armagan C.] has created  their near-ideal multi-sensor security module to keep a watchful eye out for would-be burglars.

Upgrading from their previous Arduino + Ethernet camera — which loved to trigger false alarms — [Armagan] opted for a used Raspberry Pi model B+ camera module and WiFi connection this time around. They also upgraded the unit with a thermal sensor, LPG & CO2 gas sensor, and a motion tracking alarm. [Armagan] has also set up a live streaming  feature that records video in 1hr segments — deleting them daily — and circumvented an issue with file descriptor leak by using a crashed drone’s flight controller to route the sensor data via serial port. It is also proving superior to conventional alarms because the custom software negates the need to disarm security zones during midnight trips to the washroom.

Continue reading “Multi Sensor Security Camera Has You Covered”