ESP32 DevKit Becomes Retro-Style Desk Gadget

Some days you want to break out KiCAD and go an an epic journey of hardware hacking. Other days, you look at the myriad dev kits on the market, and one of them makes you say “I can work with that”– and the Phosphor desk gadget, by [melihkoray] and his imaginary amigo Claude, was evidently conceived on one of those days.

The only hardware here is the Waveshare ESP32-S3-Touch-LCD-3.49, which provides a beyond-ultrawide 640×172 candybar-shaped touchscreen with, well, you guessed it — an ESP32-S3, plus a few buttons and an accelerometer, all of which this project uses. Along with the almost-requisite clock, timer and weather display, there’s also an internet radio player and a handful of games. We particularly like the use of the accelerometer in the blackjack game, where you hit or sit by knocking the table.

Continue reading “ESP32 DevKit Becomes Retro-Style Desk Gadget” →

Repurposing Lava Lamps To Cook Dinner

Should you cook anything with a lava lamp? Probably not. Can you? Well, [Nate Scovill] seemed to think he could, and he set out to demonstrate just that.

From the factory, lava lamps ship containing a bunch of wax sitting in chemically-treated water. Heat from a bulb in the base melts the wax, and causes blobs of it to float up and down the water column as the relative density of the wax and the fluid changes. None of this is conducive to cooking.

[Nate] decided he’d figure out how to use this unlikely apparatus to cook turkey, buttermilk squash, mash potato, apple cider, pumpkin pie—that is, a full Thanksgiving dinner. Or, more accurately, he decided to build lava lamps full of food instead of wax. He used lava lamp bases with sealed jars on top. The lava lamp bulbs heated the jars and their contents, cooking them, with aluminium foil used as insulation to ensure the jars got up to safe cooking temperatures.

Ultimately, the hack was vaguely successful. The light bulbs produced heat which cooked the various foods, with the squash and mashed potatoes being particularly edible. However, the rig that [Nate] built didn’t exactly look or operate like a lava lamp—there were no gloopy blobs of potato floating up and down in the jars to pleasant visual effect.

We wouldn’t recommend cooking with lamps as it’s just tiresome compared to using a proper oven or air fryer. But you know, sometimes it’s fun to try something weird for the bit. Video after the break.

Continue reading “Repurposing Lava Lamps To Cook Dinner” →

ESP32 Remote Access Done Light

The team behind Pinscope had a problem. They needed an ESP32 to stay securely connected to a server, but they didn’t have enough spare RAM on the chip to do TLS, what with everything else going on. Thus, they whipped up a useful workaround to get remote access on an ESP32 without TLS.

The team noted they didn’t need the general functionality of TLS. See, TLS is great for connecting any client and server securely with certificates, but it’s a bit heavy when you’re working with a device that only needs to connect to one server for maintenance. The team decided the device just needed to ID whether it was talking to the real server, it must ensure credentials are sent over the wire encrypted, and messages should not be able to be replayed, read, reordered, or otherwise changed while in transit.

The solution to this problem was the Noise protocol. Specifically, Noise_NK_25519_ChaChaPoly_SHA256, where the server uses a static key which the device knows in advance. Since only the holder of the server’s private key can properly finish a handshake, the device knows it’s talking to the real server, and the entire handshake takes just 0.3 seconds on the ESP32, with just 100 bytes sent over the wire. The results are compelling. The ESP32 needed 23.6 KB of RAM to stay connected via TLS, while this dropped to just 9.4 KB using the Noise protocol.

If you need to lighten the burden on a remotely-connected ESP32, you might find this work very useful. Files are on Github for the curious.

Continue reading “ESP32 Remote Access Done Light” →

A Modular 6502 Computer

Back in the day, there were plenty of nice compact microcomputers out there that featured the 6502 CPU. There were also simpler computers that put the chip on a bare board and put you very closer to the bare metal. The 20c from [osolabs] is a bit more like that, but with a unique and appealing modular design.

At its heart, the 20c is a learning platform. The hardware is built out of interchangeable modules that each correspond to a key part of the computer’s architecture. There are swappable CPU modules for the 6502 or different variants like the 6510 and 8502, as well as ROM, RAM, and address and data bus modules. There are also modules for the clock, glue logic, and even I/O subsystems like the Commodore PIA, VIA, and CIA. Bits and pieces can be assembled and swapped in and out at will to build a different character of machine and learn about different hardware and the architecture as a whole.

If you’re wanting to get to grips with how computers work at the very low level, the 6502 and the 20c are a great place to start. Design files are on Github for the curious. You might want to take a look at a guide on 6502 assembly to get you started, too. If you’ve been cooking up similar homebrew computers in the lab, don’t hesitate to let us know on the tipsline. Video after the break.

Continue reading “A Modular 6502 Computer” →

Another Split Flap Display You Can Print Yourself

Split flap displays were once widely popular in everything from airport terminal displays to alarm clocks. Now they’re a little bit out of vogue in the mainstream, but that doesn’t mean you can’t play with them yourself. If the idea of building a big split flap display lights you up, consider the OpenFlaps project from [Ivan].

As the name implies, OpenFlaps is an open-source design for a 3D-printed split flap display. The brain of the build is a Raspberry Pi Pico W, which keeps time, coordinates flap movements, and serves up a Wi-Fi web interface for control. Each individual flap itself has an ATtiny85 microcontroller on a small board, along with a 28BYJ-48 stepper motor that drives a wheel with 45 individually printed flaps. There is also provision for a BME280 temperature, pressure, and humidity sensor, and the display can show everything from text to time and just about anything else.

If you’ve always wanted a big flappy display, this is probably a pretty fast way to build one. As a bonus, everything is released under a CC BY-SA 4.0 or MIT license, so you have plenty of flexibility to tweak and fiddle with the design if you want to make something similar that is more specific to your own needs. We’ve featured similar projects before, too. Video after the break.

Continue reading “Another Split Flap Display You Can Print Yourself” →

Daisy Chaining Stepper Motors

Let’s say you want to control a whole bunch of stepper motors. You can use a multi-channel controller board, or whip something up with a microcontroller or two. Or, you could look at [Josh Rogan’s] design for a system of daisy chainable stepper motors that can all be controlled together. 

The idea is simple enough—give each stepper motor a smart controller that can accept commands and also pass them on to other units in a daisy chain. It’s not unlike the idea behind addressable LED strings, but with stepper motors instead. [Josh] refers to it as the CANBUS Stepper project, and it’s designed for NEMA 17 steppers—putting everything necessary to drive one into a single compact board that sits on the back of the motor itself.  It’s built around the ESP32-S3 microcontroller, and the TCM2209 stepper driver chip. It’s intended that one node will be hooked up over USB, Wi-Fi, Serial, or CAN, and the rest of the steppers in the chain get commands passed down from the first node as needed.

We’ve seen [Josh]’s work before, too—with his earlier development of USB-PD powered steppers. It’s well worth checking out if you’re into this sort of thing. Video after the break.

Continue reading “Daisy Chaining Stepper Motors” →

Printable Homelab Racks You Can Design In A Browser

If you’re whipping up a homelab, you might find that you’ve got a mess of little machines and cables all over your desk or other working area. If you’re wanting to get all that organized and tidied away, a rack solution might be just what you’re looking for.

Printable Racks aims to provide a simple, accessible solution for just this situation. If you want to whip up a 10-inch rack for your homelab, you start by picking a frame from a range of printable or ready-made designs. Then you can drop in a variety of gear from the catalog of 700 parts, and use the browser-based tool to check for fit issues between all your different gear. You can even import your own parts if what you’re planning to use isn’t already in the catalog.

It’s not a do-everything tool; it only really allows you to check for basic physical fit between different components. Leaving room for cables is really up to you, as well as factors like airflow and such. But it’s still plenty useful when it comes to whipping up a tidy housing solution for all your little bits of gear.

Homelabbing is a fun hobby. We particularly love to see fun examples built in weird and wonderful ways. Send your very best to the tipsline, won’t you?