Sad clown holding melted ice cream cone

Freezing Out Ice Cream Machine Competition

We always knew that McDonald’s soft serve (you can’t really call it ice cream) machines are known to be finicky. There’s even a website that tracks where the machines are broken and, apparently, it is usually about 10% or more of them at any given time. But when we saw a news article about a judge issuing a restraining order, we knew there must be more to the story. Turns out, these $18,000 soft serve machines are in the heart of something we are very interested in: when do you own your own technology?

Cold Tech

There are apparently 13,000 or so of these machines and they are supposedly high-tech marvels, able to produce soft serve and milkshakes at the same time. However, they are also high maintenance. Cleaning the machine every two weeks (try not to think about that) involves a complete teardown. Worse, if anything breaks, you need a factory-authorized service person.

Continue reading “Freezing Out Ice Cream Machine Competition”

ESP32 Video Input Using I2S

Computer engineering student [sherwin-dc] had a rover project which required streaming video through an ESP32 to be accessed by a web server. He couldn’t find documentation for the standard camera interface of the ESP32, but even if he had it, that approach used too many I/O pins. Instead, [sherwin-dc] decided to shoe-horn a video into an I2S stream. It helped that he had access to an Altera MAX 10 FPGA to process the video signal from the camera. He did succeed, but it took a lot of experimenting to work around the limited resources of the ESP32. Ultimately [sherwin-dc] decided on QVGA resolution of 320×240 pixels, with 8 bits per pixel. This meant each frame uses just 77 KB of precious ESP32 RAM.

His design uses a 2.5 MHz SCK, which equates to about four frames per second. But he notes that with higher SCK rates in the tens of MHz, the frame rate could be significantly higher — in theory. But considering other system processing, the ESP32 can’t even keep up with four FPS. In the end, he was lucky to get 0.5 FPS throughput, but that was adequate for purposes of controlling the rover (see animated GIF below the break). That said, if you had a more powerful processor in your design, this technique might be of interest. [Sherwin-dc] notes that the standard camera drivers for the ESP32 use I2S under the hood, so the concept isn’t crazy.

We’ve covered several articles about generating video over I2S before, including this piece from back in 2019. Have you ever commandeered a protocol for “off-label” use?

Continue reading “ESP32 Video Input Using I2S”

Open-Source Insulin: Biohackers Aiming For Distributed Production

When you’ve got a diabetic in your life, there are few moments in any day that are free from thoughts about insulin. Insulin is literally the first coherent thought I have every morning, when I check my daughter’s blood glucose level while she’s still asleep, and the last thought as I turn out the lights, making sure she has enough in her insulin pump to get through the night. And in between, with the constant need to calculate dosing, adjust levels, add corrections for an unexpected snack, or just looking in the fridge and counting up the number of backup vials we have on hand, insulin is a frequent if often unwanted intruder on my thoughts.

And now, as my daughter gets older and seeks like any teenager to become more independent, new thoughts about insulin have started to crop up. Insulin is expensive, and while we have excellent insurance, that can always change in a heartbeat. But even if it does, the insulin must flow — she has no choice in the matter. And so I thought it would be instructional to take a look at how insulin is made on a commercial scale, in the context of a growing movement of biohackers who are looking to build a more distributed system of insulin production. Their goal is to make insulin affordable, and with a vested interest, I want to know if they’ve got any chance of making that goal a reality.

Continue reading “Open-Source Insulin: Biohackers Aiming For Distributed Production”

Math, Optics, And CNC Combine To Hide Secret Images In Acrylic

Magic mirrors, with an LCD panel hidden behind a partially reflectively mirror, are popular for a reason — they’re a good-looking way to display useful information. A “Magic Window,” however, is an entirely different thing — and from the look of it, a far cooler one.

If you’ve never seen a Magic Window before, don’t worry — it’s partially because you’re not supposed to see it. A Magic Window appears to be a clear piece of glass or plastic, one with a bit of a wave in it that causes some distortion when looking through it. But as [Matt Ferraro] explains, the distortion encodes a hidden image, visible only when light passes through the window. It looks a bit like a lithophane, but it’s projected rather than reflected, and it relies on an optical phenomenon known as caustics. If you’ve ever seen the bright and dark patches cast on the bottom of a swimming pool when sunlight hits the surface, you’ve seen caustics.

As for how to hide an image in a clear window, let’s just say it takes some doing. And some math; Snell’s Law, Fermat’s Theorem, Poisson’s Equation — all these and more are mentioned by [Matt] by way of explanation. The short story is that an image is morphed in software, normalized, and converted into a heightmap that’s used to generate a toolpath for a CNC router. The design is carved into a sheet of acrylic by the router and polished back to clarity with a succession of sandpaper grits. The wavy window is then ready to cast its hidden shadow.

Honestly, the results are amazing, and we marvel at the skills needed to pull this off. Or more correctly, that [Matt] was able to make the process simple enough for anyone to try.

Continue reading “Math, Optics, And CNC Combine To Hide Secret Images In Acrylic”

PS2 Gets The Ginger Portable Treatment

The first thing we notice about this portable PS2 is that the plastic looks like a consumer-grade shell, not a 3D printed case. It comes from [GingerOfOz], who has lots of portable conversions under his belt, so we are not surprised this looks like a genuine Sony device. When you are as experienced as he, details like plastic texture, and button selection, are solved problems, but shouldn’t be taken for granted by us mortals.

Of course, this isn’t just pretty, and if it weren’t functional, we wouldn’t be talking about it. The system plays nearly all PS2 titles from USB memory. The notable exceptions are the ones that refuse to load without a Dualshock controller. Rude. If you’re wondering if it plays games at full speed, yes. It achieves authentic speed because it uses a PS2 slim motherboard which gets cut down by a Dremel. Custom PCBs provide the rest of the hardware, like volume buttons and battery charging. There is no optical drive since they are power hogs, so your cinematic cut scenes may lag, and load times are a little longer.

Modern mobile phones are one of the most powerful gaming systems ever built, but there is something about purpose-built portable gaming hardware that just feels right. You know?

Continue reading “PS2 Gets The Ginger Portable Treatment”

Etch-a-sketch made with LEDs

RGB LED Matrix Helps Etch-a-Sketch Scratch Out A 21st Century Existence

We never did crack open our Etch-a-Sketch, but we did scrape out a window large enough to really check out the mechanism inside. [MrLangford] is bringing the Etch-a-Sketch into the 21st century while at the same time, bringing an even bigger air of mystery, at least for the normies.

Instead of scraping aluminum powder off of plastic by driving a stylus on an x-y gantry with a pair of knobs, this bad boy uses rotary encoders to move the cursor around and put down squares of colored light. The familiar movements are there — the left knob moves the cursor left and right, and the right knob moves it up and down. But this wouldn’t be a 21st century toy without newfangled features. Push the left encoder down and it cycles through eight color choices, or push the right one down to go through them backwards. We hope one of the colors is setting it back to darkness in case you screw up. And while we’re dreaming up improvements, it would be awesome to add an accelerometer so you could shake it clear like a standard Etch-a-Sketch.

Inside the requisite red enclosure with white knobs are an Arduino Nano and a 16×16 RGB LED matrix. The enclosure is four sheets of 6mm MDF glued together, and we like the use of protoboard to distribute GND and 5 V in the name of keeping the thing slim.

If you’re not much of an artist, here’s a TV-sized Etch-a-Sketch build that can draw by itself.

Nixie Robot Head with LED eyes and retro-futuristic design

Artful Nixie Bot Sculpture Sees, Thinks, And Talks

When [Tavis] and his father were inspired to lend their talents to building a robot sculpture, they split the duties. [Tavis]’ father built a robot head, and [Tavis] utilized designs old and new to breathe life into their creation.

Many a hardware hacker has been inspired by robotic art over the years. Whether it’s the vivid descriptions by the likes of Asimov and Clarke, the magnificent visuals from the formative 1927 film Metropolis, or the frantic arm-waving Robot from Lost In Space, the robots of Science Fiction have impelled many to bring their own creations to life.

For [Travis]’s creation, Two rare Russian Nixie Tubes in the forehead convey what’s on the robot’s mind, while dual 8×8 LED matrices from Adafruit give the imagination a window to the binary soul. A sound board also from Adafruit gives voice to the automaton, speaking wistful words in a language known only to himself.

A DC to DC converter raises the LiPo supplied 3.7v to the necessary 170v for the Nixies, and a hidden USB-C port charges the battery once its two-hour life span has expired. Two custom Nixie driver boards are each host to an Arduino Pro Micro, and [Tavis] has made the PCB design available for those wishing to build their own Nixie projects.

As you can see in the video below the break, the results are nothing short of mesmerizing!

Of course, we’re no strangers to robots here at Hackaday. Perhaps we can interest you in a drink created by the industrial-grade Robotic Bartender while you consider the best way to Stop the Robot Uprising. And remember, if you spot any awesome hacks, let us know via the Tip Line!

Continue reading “Artful Nixie Bot Sculpture Sees, Thinks, And Talks”