$10 Microcontroller Board Emulates Over 15 Classic Systems

Classic game consoles once existed at a balance between performance and what the market could reasonably bear in terms of price point. They generally cost a fair whack, meaning you had to choose your allegiances carefully. These days, you can turn a $10 microcontroller board into something that emulates a whole heap of classic systems, as [Fernando] demonstrates.

The build is based around the LILYGO ESP32 VGA, which combines the powerful ESP32 microcontroller with an on-board VGA video output. It also has classic PS/2 ports for plugging in a mouse and keyboard, as well as an SD card slot for storage.

[Fernando] compiled a list of over 15 machines that can be emulated on this hardware, including the Apple II, Atari 2600, ZX Spectrum, MSX 2, Commodore 64, and even the Macintosh Classic. You can throw in just about any other 8-bit machine from that era and stick it on the list, too. [Fernando] notes that part of what makes this setup viable is that there is very little overhead—the emulation is running in bare metal on the ESP32, without an OS getting in the way, taking up resources. Files are available online.

If you’ve wanted to emulate a bunch of old gear on the cheap on a device with a tiny form factor, this is a fun way to go. We’ve also seen some other fun feats with the ESP32 of late, like having it run the original Tomb Raider. Once, you needed a whole PlayStation just to play that! How times change.

Weather Dashboard Shows Off Satellite Data

Once upon a time, if you wanted to check out some satellite maps and learn about the weather, you’d switch on cable TV. These days, though, you can get the same sort of intel right on a neat weather dashboard that sits on your desk—like this one that [Mirko Pavleski] built!

[Mirko] started with the ELECROW CrowPanel 7-inch HMI display, which packs a nice bright color LCD into a sturdy acrylic case. It also packs in capactive touch capability, and an ESP32-S3 microcontroller which controls the screen. [Mirko] leveraged the microcontroller’s WiFi connectivity to get it online, such that it could pull down all sorts of useful data. In this regard, it’s a weather dashboard, so it reports 16-day forecasts from the Open-Meteo website. Current time is grabbed from an NTP server. As for the beautiful weather maps, those are from OpenWeatherMap and are pulled in via the site’s API.

Now, [Mirko] has an attractive desk ornament and can learn what’s happening weather-wise at a glance. You might also consider building your own weather station to log more localized data that’s relevant to your exact area. Video after the break.

Continue reading “Weather Dashboard Shows Off Satellite Data” →

Giant Tetris Built From LED Strips

There’s perhaps no more iconic video game than Tetris. First built for the Soviet Elektronika 60 computer, then ported to the IBM PC and, most famously, the NES and Game Boy, Tetris is available on essentially every computer platform, and it has an extremely competitive scene. It’s also adaptable to all kinds of displays. [Daniele Tartaglia] built this large version using special 3D-printed blocks and addressable LED strips, showing just how easy it is to build Tetris into a wide variety of environments.

The display is built on a wood base, with the LED strips laid down along it and with the wires connecting them running through the back. Each cell on the display uses 3D-printed diffuser cubes, printed in white to help diffuse each LED’s light, with a black layer between each to prevent light from bleeding into adjacent cubes. A smaller diffuser panel is added to the top, which shows the next piece and the score. The cover at the top is a custom graphic, and the entire build is run from an ESP32 microcontroller. There are a number of other games, such as Snake, that can be selected with a companion app, and the display can also be used as a clock or for ambiance.

Another part of the build is [Daniele]’s custom controller called RetroJoy, which is a wireless arcade-style controller with a joystick and buttons. It’s optional, though, as the games can be played on a smartphone through the app, but it’s also an interesting build he hopes to use in upcoming projects. Of course, [Daniele] is using a lot of high-dollar tools to build this project, like a UV printer, laser cutter, and a multi-color 3D printer. Also, the plans aren’t free, but this should give anyone thinking about a similar Tetris-style build a few ideas to work from, even if they choose not to buy the plans or are lacking in expensive tools. One of our favorites from the past was one built into a second-story window that let any passersby in on the fun.

Continue reading “Giant Tetris Built From LED Strips” →

ESP32-Powered Alarm Clock Gets A Comprehensive 2.0 Upgrade

[Mike Gassman] had an alarm clock, but his wife didn’t like the brightness or the sound. Thus, he set about building a more suitable replacement to fit his needs. The latest upgrade to the project is a significant one.

The Rouse Clock, as he calls it, is something we first saw a few months back in an earlier form. It’s built with the Waveshare ESP32-S3-Touch-LCD-3.5-C. It’s a horribly long part name, but it’s basically an ESP32-S3 microcontroller with a 3.5″ touchscreen LCD already stuck on the front of it. Armed with this, [Mike] already had much of the hardware he needed. Alternatively, the design also works with the Freenove FNK0104N or the CYD E32R35T. The hardware is wrapped up in a 3D-printed housing, with a nice big snooze bar on top so you can slap the clock to quiet it if you need to sleep in on a bad morning. There’s also an optional backup battery to prevent missed alarms from power outages. The general goal was to build a smart clock that worked without subscriptions, apps, or an ugly cloud service.

The clock makes excellent use of the big, bright LCD, showing the time nice and clearly. However, it’s the version 2.0 firmware that has really expanded the functionality. The same hardware now also grabs other useful data, like weather and sunset times, and displays it on the screen to tell you more about the day ahead. Taking advantage of the ESP32’s wireless connectivity, the clock can also act as an Internet radio. Indeed, it’s an internet clock radio, because you can use a stream as an alarm if you wish. It will also display photos or provide soothing sounds for sleep. Configuration is straightforward, as it’s handled through a web interface served by the ESP32 itself. You can even view the clock’s current display from the web interface if you need.

If you’re looking to build a clock quickly, or some other internet-connected appliance, it’s pretty easy to get started with these modern boards that slap an ESP32 and a screen together at the factory. We love a good clock build around these parts. That’s why we feature so many of them! Video after the break.

Continue reading “ESP32-Powered Alarm Clock Gets A Comprehensive 2.0 Upgrade” →

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” →

Camera Upgrades For 3D Printers

3D printing has come a long way over the years, from being a fussy, barely usable mess to essentially being plug-and-play for a large variety of plastics. And the industry tends to cater to makers and hackers as well, with the printers mostly being easily upgradable and even the firmware for them often being open source. [Sam] tested these concepts to the extreme with his Prusa Core One. The printer does have an open-source firmware and will even somewhat automatically accommodate a camera if one is plugged in, but he wanted it to do a few extra things and went through 42 firmware revisions to get it just right.

The first upgrade was to the camera hardware. The ESP32-S3-based camera has an autofocus feature, so that was the first thing to build in. From there it needed access to an SD card to support taking timelapse videos of the prints. This was surprisingly complicated and delved into the intricacies of filesystems but eventually this was solved as well. From there, [Sam] tackled issues with digital zoom, exposures randomly changing and washing out the image, and then finally on to making sure the timelapse feature was easy to use and reliable. This is the feature he uses the most on his printers, so he made it auto-start the recording and also made the recording process more robust to power outages.

With all of that, [Sam] has an upgraded camera for his Prusa printers that dramatically improves quality and reliability. And the fact that these printers are among those that are more open and easier to work on certainly facilitated that journey. To that end, his own firmware is available on his GitHub page, and if you’re unlucky enough to have a printer which doesn’t abide by the open ethos of other printers, there will always be community solutions to those problems too.

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” →