$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.

A Frequency Generator For Not A Lot

There are many ways to generate a square wave, and given the availability of phase-locked-loop-based clock generator chips, it’s easy enough to do so from a microcontroller. But the microcontroller can be persuaded to make a square wave on its own, and and this is what [Alun Morris] has done with his Mega Hurts frequency generator. It’s a pocket square wave signal generator, powered from a USB-C socket.

At its heart is the inexpensive CH32V203F6P6 microcontroller mounted on a small dev board in a 3D printed case. There’s an OLED display and a rotary encoder to provide a user interface. The maximum frequency achievable is 30 MHz, with variable duty cycle. The generation is achieved using the chip’s 16-bit timer operating as a PWM peripheral, and the output reaches the world through a BNC socket. We can see it could be a useful little instrument, even if it’s limited to square waves alone.

We quite like the very simple prototyping technique used here, dead-bugging SMD parts without the need for a custom PCB. IT proves that sometimes, just going ahead and making the thing with what you have is the way forward.

UCompute Junior Is An Easy Entry To The Embedded Platform

[JP Michon] has long been working on a bit of a modular microcontroller hardware platform, and it goes by the name of uCompute. The latest entry in this series is the uCompute Junior, which offers plenty of functionality in a compact form factor.

[JP Michon] calls this the “Bring Your Own Pico” version of the uCompute design, because it’s intended that you’ll grab your own microcontroller and drop it in to the Junior carrier board. For flexibility, it’s designed to work with the Raspberry Pi Pico, Pico W, Pico 2, and Pico 2W. This version is optimized for accessibility, being easier to hand solder than some of the earlier boards in the lineup.

As is common across the various uCompute boards [JP Michon] has built thus far, the main interface is a small LCD or OLED screen along with three tactile buttons for control; you can use an ST7789 or an SSD1306 display as you like. There’s an onboard micro SD card slot, useful for storage or data logging, as well as a CAT24 EEPROM chip on I2C. There’s also an onboard piezo buzzer for sound output.

As far as upgrades go, the add-on module socket supports a range of hardware. You can drop in an ESP12F for WiFi, an NRF24L01 or RFM95W LoRa radio, or a W5500 Ethernet module if so desired. There’s also a dedicated header for driving NeoPixels/WS2812B LEDs, too.

If you’re looking to tinker with the Pi Pico lineup and you want a neat board to drop them into, this might be right up your alley. Consider also taking a look at some of the other wonderful things the Pi Pico can do. Continue reading “UCompute Junior Is An Easy Entry To The Embedded Platform” →

A small PCB is shown plugged into an RCA connector and a USB-C cable. The PCB has no separate connectors mounted on; the board itself plugs into both connectors.

Building A Single-Chip USB GPU

Considering how powerful they’ve become and how many other tasks they’ve been repurposed for, it’s easy to forget that a GPU’s primary purpose is to generate graphics. With this definition in mind, and accepting a somewhat lower standard of performance, it’s entirely possible to build a twenty-cent GPU, as [bitluni] demonstrated with this USB to analog video converter.

The converter is built into one tiny PCB with only one active component, a CH570 microcontroller, and a few passive components. Not only is the USB-C connector made out of the PCB itself, the analog RCA connector is also: the PCB is designed with several copper-plated cutouts which let it plug into a female RCA port. There is a quirk with this approach, though: many RCA ports apparently only have one wire to make contact with the internal pin, making this somewhat sensitive to orientation. Of the passive components, the most important was a crystal oscillator to keep the generated signal in sync with the display’s refresh rate; timing was this project’s main constraint.

To keep up with the necessary rate, all high-speed operations had to be done with SRAM; an odd performance drop turned out to be caused by the compiler using flash memory. The actual analog signal is generated with PWM. The device appears as a USB CDC device, and can display greyscale text and rudimentary graphics; [bitluni] wrote a program to use it as a serial terminal. Interestingly, when the TV he was using as a display was in wireless reception mode, it was able to pick up on the PWM signal transmitted by a jumper wire. This inspired [bitluni] to search for more transmission options; it turns out that with SPI and overclocking, the system might be able to transmit a PAL colour signal.

This isn’t [bitluni]’s first time getting video out of an unlikely microcontroller; he’s also driven VGA with an ESP32. On a bit of a larger scale, he’s also built several coprocessors out of microcontroller clusters.

ESP32 Drives MDA Display For Wireless Terminal

Don’t you miss the days where you had to point a particle accelerator at your face for a full shift? Well, maybe not when we think of it that way, but we still love the amber glow of the Monochrome Display Adapter (MDA) monitor [Chad Boughton] has hooked up to an ESP32 wireless terminal.

The particular ESP32 dev board he’s using comes with PS/2 input and VGA output, but of course VGA is not compatible with the TLL signal the old monochrome monitors are looking for, so he’s had to do a little bodge work– though aside from the one wire, this is evidently a software project. It took a bit of trial-and-error with the oscilloscope to get the timings right, but now that he has them he’s willing to share. [Chad] built that into a fork of FabGL’s terminal he has up on GitHub.

What he’s displaying on the terminal is equally fun, as he’s got a lovely command-line interface styled to look like IBM OfficeVision running on his server, complete with word processor and Lotus 1-2-3 spreadsheet editor– though it can also control the Plex server that carries [Chad]’s tunes. That’s also up on GitHub for anyone who wants it.

If you prefer green, check out the last CRT/ESP32 combo project we featured. For those of you with the opposite problem– a TLL output and no accompanying screen– there’s a project for that, too. 

Thanks to [Chad] for the tip!

Continue reading “ESP32 Drives MDA Display For Wireless Terminal” →

Automation For The Swimming Pool

Swimming pools demand constant maintenance if they are to avoid becoming disgusting pools of fetid, bacterial soup. [ingTacchelli] has been working on an automation system for this very purpose.

Swimming Pool System Open (SPSO) is, as the name suggests, an open-source design for a swimming pool automation controller. It’s intended to be simple, low-cost, and easy to understand. It uses a custom board running an ESP32-S3 microcontroller to measure pH and chlorine probes to determine the state of the water, and it also monitors temperature, filter pressure, flow, and tank levels. Dosing and filtration pumps are then controlled to deliver the proper chemicals and filter the water when needed, with careful attention to safety to avoid dangerous conditions. The interface is via a 7″ Waveshare touchscreen, and the whole system can also be hooked up to Home Assistant if so desired. Files are on GitHub for those eager to dive in the deep end.

If you’re sick of manually sampling your pool water and applying the necessary chemicals, this could be a system that appeals to you. We’ve featured similar projects before, too. If you’re working on similar projects to maintain your pool, garden, fish tank, or fancy Bond-esque shark trap, don’t hesitate to notify the tipsline. We might tell the authorities about the shark thing if you’re foolish enough to do so, though.

ESP32 WIFI Jam Detector Finds The Raspberry

We’ve seen plenty of ESP32 WiFi projects that test wifi systems with attacks such as Deauth, and even jamming. Today’s project is a bit different. [TheDigital1] created an ESP32 project that uses SDR to detect interference in the WiFi bands.  The detector builds on the popular ESPARGOS ESP-SDR project that we have previously featured, to scan for any interference. The hardware is based on an ESP32-C5, so it covers both the 2.4GHz and 5GHz bands. [TheDigital1] used a Waveshare ESP32-C5-Touch-LCD-3.5, but since the project is open source, you should be able to port it to other devices.

The system doesn’t just detect noise. It can categorize the interference into four types: wideband, narrowband, pulsed wideband, and frequency-swept. [TheDigital1] notes that while the system can detect interference, it can’t detect intent, so it’s up to the user to determine if they have a leaky microwave or hackers trying to shut down their WiFi.

The system works great as a portable standalone device. In fact, the interface is pretty slick. Connecting it to a PC via USB opens up even more features. It can be used with Home Assistant as a WiFi Jammer detector. It can even detect if a room is occupied by sensing the noise floor increase from humans moving around.

With all these new ESP32 SDR projects coming up, we can’t wait to see what’s next!