A 386 PC For Your RP2350

We’re at a fortunate moment: microcontrollers available at modest prices are edging into the capability level previously reserved for full-fat systems and can, through emulation, run software beyond classic 8-bit home computers, consoles, or old arcade games. A project we’ve been watching for a while is tiny386, an emulator for ESP32 boards that provides a 386 PC with just enough 486 and 586 instructions enabled to run a modern Linux kernel. Now we’re pleased to note that this platform is making it to the RP2350, with ports for both the FRANK emulation platform and the Waveshare Pi Zero boards. You can now have a 32-bit PC with all the peripherals, including VGA and DVI/HDMI, for the cost of an inexpensive development board.

Having seen tiny386 run on its minimum-spec ESP32 platform, we’ll concede that while it’s usable, it’s not the fastest experience, but the RP2350 port promises better performance. It’s not for a modern full-fat Linux distro, but should work well for running older operating systems such as DOS, or Windows 3.1 and 95, or even a lean Linux setup. This has fascinating potential: while these systems are old, they still have an enormous software library. The idea of useful general-purpose computing, 1990s style, in the palm of the hand, is interesting.

If you’re curious, you can find tiny386 here and the FRANK boards here. Maybe they’re a better route to ’90s fun and games than a 386 laptop.

This Machine Makes 35mm (Almost) Film

The revival in film photography has brought a range of specialist films to tempt the experimenter, as well as increased the popularity of loading your own cartridges. But perforating the film from blank stock has always been beyond the reach of home gamers. Now [Jon Schiereck] has done it, but not quite with film. He’s made a perforator for photographic paper, producing a strip which can be shot in a camera. It’s film, but it’s not exactly film.

The machine takes the form of a 3D printed mechanism which feeds a strip of photographic paper through a pair of punches to make the sprocket holes. In this case those holes are circular, being made by a pair of drill bits ground for the purpose, and they’re moved up and down by a crank driven by a set of gears from a hand crank or even a cordless drill. A rubber roller pulls the film forward.

It seems to be a well-thought-out machine, and you can try it yourself for free via a slightly unusual distribution medium, his Ko-Fi page. In case you’re worried about finding a slitter to make those 35mm paper strips, it seems he’s also working on a 3D printable one of those. So you can shoot on paper, and develop it just as you would a print.

If you’re further into extending what you can film through the use of a 3D printer, how about 8 mm movie film?

Continue reading “This Machine Makes 35mm (Almost) Film”

Reverse Engineering The Philips PM5139

The Philips PM5139 is not famous. It won no great victories on the battlefield, nor was instrumental in changing the political landscape. It was just a useful function generator that you might find on a workbench somewhere, doing its job quietly and relatively accurately. [doctormord] has been doing the work to reverse engineer this humble piece of hardware.

The PM5139 is poorly documented; the only existing service manual out there is for the PM5138A, a less-capable sister model. Hence, there was some value in reverse engineering the device to understand it better. Work started with two EPROM dumps capturing what Philips put in the box all the way back in the early 1990s. From there, the code was examined and tinkered with until [doctormord] felt confident to modify it and improve upon what was already there. This was achieved with the aid of an 8051 emulator that could run the code to make it obvious what was going on. The result was a custom “V2.0” firmware that adds six arbitrary waveforms to the function generator and the ability to play simple music, amongst other tweaks.

We love to see old hardware given new functionality, even decades down the line, and we love some good reverse engineering, too. Video after the break.

Continue reading “Reverse Engineering The Philips PM5139”

Pixel Watch 5 Demonstrates Good Repairability

Although we often find ourselves drowning in a seemingly unending sea of portable devices that are effectively e-waste once an internal component gives out, it’s good to remind ourselves that there are a few examples out there by large brands that manage to tick all the fancy feature boxes, while still being very much repairable. Case in point the Pixel Watch 5, a smart watch which much like its predecessor gets a 9/10 on [iFixit]’s repairability score.

No heat gun required, just undo the latch on the side of the watch. (Credit: iFixit, YouTube)
No heat gun required, just undo the latch on the side of the watch.

Despite featuring an IP68 rating, opening it is as easy as taking out a few screws to release its latch. This allows the back to swing open, with not a drop of glue in sight, just an O-ring gasket that keeps moisture out and can be reused many times. Digging into the guts, there are color-coded screws that guide one’s hand as the very modular design is taken apart in a matter of minutes.

Being able to simply unlatch the back, and also easily obtain spare parts are two aspects that are a very welcome sight indeed. Although it’s much easier to just glue everything together, something like this latch-and-gasket approach is something that we hope that more manufacturers will copy for these small devices.

It’s potentially also an idea for one’s next DIY smart watch project, as tempting as reaching for that tube of glue may seem.

Continue reading “Pixel Watch 5 Demonstrates Good Repairability”

A grid of images shows pictures emerging from patches of random noise. To the left, images are more random, while to the right they become more recognizable.

Running Generative AI On An RP2350

Driven by a desire for privacy, customization, and lower costs, there’s growing interest in AI models which can be run on local hardware. Few of them go as far as [Tim], though, who built an image generation diffusion model which can run on an RP2350 microcontroller.

As might be expected, its capabilities are limited. The resolution is 128×128, it only generates images of human faces, and it takes about twenty seconds per image – still impressive for such limited hardware. It runs on a Waveshare RP2350 development board, and it can output the generated image over USB or display it with the aid of a VGA adapter board.

The generative model doesn’t directly create an image. Rather, it generates a distribution in a latent space, which a variational auto-encoder’s decoder component translates into an image. The auto-encoder was trained in two parts: an encoder which transforms an image into a latent-space distribution, and a decoder to transform that distribution back to an image; once this was trained, only the decoder was used.

The generative portion of the model uses a latent flow diffusion transformer; this takes in noise to start with, then iteratively predicts changes which bring it toward the desired image. It can also take in a output class, which guides the generator’s direction (toward a smiling face, for example). [Tim] trained two models, one larger and one faster, and quantized the weights for both to 8-bit integers. Both models, along with the inference program, then fit into 4 MB of flash memory.

For such a small model, the results are remarkably good; they don’t look quite natural, but they’re quite recognizable. For more on how diffusion image generators work, check out our article on Stable Diffusion.

COSMAC Elf Turns 50

If you were interested in computers in the early 1970s, you struggled to get time on real computers since owning your own was all but impossible. In the middle of the decade, though, you could get a few computers: the Mark VIII, the Altair, the Apple I, and several others. Those were still pretty expensive, though. But in late 1976, an article in Popular Electronics said you could build a “powerful, expandable” computer for $80. The article in question was by [Joseph Weisbecker], who, unknown to most of us at the time, was actually the RCA employee behind the CPU — an RCA 1802. [Tech Time Traveler] takes a close look at the spunky little computer’s history in the video you can see below.

The 1802 was actually the second generation of the CPU, but the first that was all-in-one chip. [Weisbecker] started building the CPU as a personal project. He’d been a hacker even in high school, building relay-based tic-tac-toe games, among other things.

The first incarnation in his lab was “Fred,” with 100 TTL chips, and his idea was to have the computer be at least partially used as a video game — an interesting point, with Pong being very popular at the time.

Continue reading “COSMAC Elf Turns 50”

Hackaday Podcast Ep 385: 3D Printers With Lasers, Wicked RAM Prices, And Reverse Polish Notation

As the calendar turns a leaf into September, Elliot Williams is joined by Jenny List for our weekly look at all things Hackaday.

In the news, our retrocomputing competition is well under way, but there’s plenty of time to get an entry in if you’ve got a cool old-style project to show us. And then Elliot’s been chasing seismic surveyors in Munich, where they’re looking for geothermal energy.

In the stand-out hacks there’s a discussion of smoothing 3D prints using frickin’ lasers, the effect of unreasonably high RAM and storage prices on the single board computer ecosystem, and an unfortunate air conditioning system that’s tricked into believing it’s a hot day. Finally, we look in depth at PETG, and take a dive into reverse Polish notation.

Download your own personal version of the podcast right here.

Continue reading “Hackaday Podcast Ep 385: 3D Printers With Lasers, Wicked RAM Prices, And Reverse Polish Notation”