CoreXY On The Pi Pico

There are enough off-the-shelf CoreXY mechanisms out there that for the cost of an AliExpress order it’s possible to quickly and cheaply make yourself a plotter. But [Koushani Das], [Mahathi Andavolu] and [Dengyu Tu] are completing their project for Cornell University’s ECE 5730 course, so of course they have designed one from the ground up. Happily for us it seems to be fairly easy to replicate, so you can build one too if it takes your fancy.

The write-up makes for an interesting dive into the nitty-gritty of design, for which we hope they managed to secure a decent grade. The hardware itself seems pretty straightforward as does the pair of stepper controllers and RP2040 they use to run the thing, and their explanation of the math behind the CoreXY coordinate system is genuinely interesting for those of us who’ve never taken the time to consider it.

All the good stuff can be found in a GitHub repository if you’d like to take this further, and meanwhile they’ve also put up a demo video which you can see below the break. We like this little plotter, and we hope others will take its design and run with it.

Want more CoreXY explanation? We’re happy to oblige.

Continue reading “CoreXY On The Pi Pico”

Several Raspberry Pi Picos connected to each other

Raspberry Pi Pico Parallel Mandelbrot Computation

The Mandelbrot set is — when visualized with some colors — an interesting shape with infinite detail. While the patterns are immediately obvious to the human eye, anyone who’s run one can tell you that they’re pretty computationally expensive to produce. Fortunately, as with many things in graphics, rendering the Mandelbrot set can be easily parallelized.

That’s what [rak277] and [ir93] demonstrate in their RP2040-based finals project. Computron, as they call it, is a network of Raspberry Pi Picos that work together to compute a visualization of the Mandelbrot set and show it on a VGA display. The Computron is made of two or more “math units” and one “projection unit”. The math units communicate over a shared I²C bus with the projection unit to first divide the workload and then compute their share of the work.

This project shows both the strengths and limitations of parallel computation. It makes use of multiple math units on a highly parallelizable workload, but as more math units are added there are diminishing performance gains due to the increased communications load on the network, which [rak277] and [ir93] suspect to be the current bottleneck in the Computron.

If you’re fresh out of Pi Picos, and don’t mind waiting awhile, you could always crank out a Mandelbrot set on your trusty Atari 800 in BASIC.

An exploded view render of a red 3D printed case with a green PCB is inside with visible USB-A connectors with a mouse and keyboard graphic above each and "A" and "B" labels above USB-C connectors on the other side.

Building A Better Keyboard And Mouse Switch

Switching inputs between desktops seems like something that should be simple but can prove to be a pain in reality. [Hrvoje Cavrak] decided to take matters into his own hands and build a better keyboard and mouse switch.

DeskHop is built from two Raspberry Pi Pico boards connected via UART and separated by an Analog Devices ADuM1201 dual-channel digital isolator. Through the magic of Pico-PIO-USB these RP2040s can be both host and device. To keep things simple, the PCB is single-sided, and the BOM only has five distinct components.

Once hooked up to your Windows, Mac, or Linux device, your mouse pointer “magically” goes from one screen to the other when dragged across the screen edge. Keyboard LEDs can be reprogrammed to indicate which device is active, and the real beauty of the device is that since it’s a hardware solution, you don’t have to install any software on a computer you might not have admin access to.

If you want to see some more ideas for keyboard and mouse switching, check out this Pi KVM with ATX signaling, this USB triplexer, or this Pi KVM on a PCIe card.

Open Source DC UPS Keeps The Low-Voltage Gear Going

We all like to keep our network gear running during a power outage — trouble is, your standard consumer-grade uninterruptible power supply (UPS) tends to be overkill for routers and such. Their outlet strips built quickly get crowded with wall-warts, and why bother converting from DC to AC only to convert back again?

This common conundrum is the inspiration for [Walker]’s DC UPS design, which has some interesting features. First off, the design is open source, which of course invites tinkering and repurposing. The UPS is built for a 12 volt supply and load, but that obviously can be changed to suit your needs. The battery bank is a 4S3P design using 18650 cells, and that could be customized as well. There’s an ideal diode controller that prevents DC from back-feeding into the supply when the lights go out, and a really interesting synchronous buck-boost converter in place of the power management chip you’d normally see in a UPS. The converter chip takes a PWM signal from an RP2040; there’s also an ESP32 onboard for web server and UI duties as well as an STM32 to run the BMS. The video below discusses the design and shows a little of the build.

We’ve seen a spate of DC UPS designs lately, some more elaborate than others. This one has quite a few interesting chips that most of us don’t normally deal with, and it’s nice to see how they’re used in a practical design.

Continue reading “Open Source DC UPS Keeps The Low-Voltage Gear Going”

A bald white man stands behind a table with an Apple II, a large green PCB, and a modular purple and black development board system. Atop the Apple II is what appears to be a smaller Apple II complete with beige case and brown fake keyboard.

Mini Apple IIe Now Fully Functional

Here at Hackaday, we love living in a future with miniaturized versions of our favorite retrocomputers. [James Lewis] has given us another with his fully functional Apple IIe from the Mega II chip.

When we last checked in on the Mega IIe, it was only just booting and had a ways to go before being a fully functional Apple II. We really love the modular dev board he designed to do the extensive debugging required to make this whole thing work. Each of the boards is connected with jumper pins, which [Lewis] admits would have been better as edge connectors since he should’ve known he’d be unplugging and replugging them more than he’d like.

A set of PCBs sits on a table. There is a logic analyzer plugged into one end that looks like a grey square. Three boards stick up at right angles from the main plane which consists of a purple square PCB with the IIe ROM and MEGA chips and a black rectangular PCB with four sets of headers for PCB modules to slot into.

This modular prototyping system paid dividends late in the project when a “MEGA bug” threatened the stability of the entire system. Since it was confined to the keyboard PCB, [Lewis] was able to correct the error and, swapping for the third revision of the board, everything that had been crashing the system now ran.

There were still some issues going to the final unified PCB that nearly made him give up on the project, but perseverance paid off in the end. Combining vintage chips and multiple RP2040s isn’t for the feint of heart.

Now that you have a more conveniently-sized Apple II, why not teach it some new tricks like digital photography or ChatGPT?

Continue reading “Mini Apple IIe Now Fully Functional”

Tiny POV Turns Right Round For Volumetric Fun

Just when you think the POV thing has run out of gas, along comes [mitxela] to liven things up. In this, he’s taken the whole persistence of vision display concept and literally spun up something very cool: a tiny volumetric “electric candle” display.

As he relates the story, the idea came upon him on a night out at the pub, which somehow led to the idea of an electric candle. Something on the scale of a tea light would fit [mitxela]’s fascination with very small and very interesting circuits, so it was off to the races. Everything needed — motor, LIR2450 coin cell, RP2040, and the vertical matrix of LEDs — fits into the footprint of the motor, which was salvaged from a CD drive. To avoid the necessity of finding or building a tiny slip-ring, he instead fixed everything to the back of the motor and attached its shaft to a Delrin baseplate.

The 8×10 array of surface-mount LEDs stands atop the RP2040 with the help of some enameled magnet wire, itself a minor bit of circuit sculpture. There’s also a 3D-printed holder for a phototransistor and IR LED, which form a sensor to trigger the display; you can see [mitxela] using a finger to turn the display off and move it back and forth. It goes without saying that these things always look better in person than they do in stills or even on video, but we still think it looks fantastic. There’s also a deep dive into generating volumetric data in the write-up, as well as an unexpected foray into the fluid dynamics calculations needed to create a realistic flame effect for the candle.

All in all, this is a fantastic if somewhat fragile project. We love the idea of putting this in a glass enclosure to make it look a little like a Nixie tube, too.

Continue reading “Tiny POV Turns Right Round For Volumetric Fun”

PicoGUS: For All Your ISA Sound Card Needs

Sound cards used to be a big part of gaming machines in the 90s and 2000s but have largely gone extinct in the wake of powerful CPUs doing the sound themselves. Sound cards were expensive back then and, because the good ones weren’t very common, are expensive still for the retro gamer. But if you don’t need the real thing, [polpo] has you covered with his RP2040-based ISA sound card.

The PicoGUS, as he calls it, primarily serves to replace the Gravis UltraSound with modern components at a low cost. It uses the RP2040’s PIO to attach to an ISA bus and the RP2040’s dual-core power to synthesize the audio for its primary target, but also the AdLib (OPL2), CMS/Game Blaster and Tandy 3-Voice. [polpo] sells the PicoGUS on his Tindie store, but since it’s open source, you can of course just make your own.

Although “work-in-progress”, the PicoGUS is very useful to the right person and a perfect demonstration of how the RP2040’s PIO can be used to interface with almost any type of protocol.

Of couse, that’s not the only way to use the PIO, you can also create a CAN bus or even add another USB port.