Running Four Brushless Motors With A Single Pi Pico

Sometimes, you have to drive four motors, and you need to do so with a certain level of control. You could throw a lot of parts at the problem, but you don’t necessarily have to. As [Shaun Crampton] demonstrates, you can run four brushless DC motors with a single Pi Pico.

[Shaun] set about developing a brushless motor controller from scratch with the Pico, relying on its PIO hardware and the TI DRV8313 — a handy three phase motor driver. Before he knew it, he was implementing field oriented control (FOC) in MicroPython, only to find that it was a little too slow for proper motor control work. He soon switched to C for the lower overheads, and was readily driving a brushless motor with his own code. Before long, he’d implemented torque limiting and PID speed control. He was even able to optimize things to the point where he had four motors hanging off a single Pi Pico, complete with Hall sensors for feedback.

The full story is well worth reading, as it goes from “Hello, World” all the way to the end of the project. If you’ve never experienced the joy of your own code getting a motor to spin, you might enjoy following in [Shaun’s] footsteps. Files are on GitHub for the curious.

We’ve seen a lot of motor controllers around here, many of which draw heavily from other projects online. It’s a great way to learn the basics of what is a very well established field. Meanwhile, if you’re cooking up your own project in this space, do drop us a line!

MIDI Spoon Piano Is Exactly What You Think It Is

Pianos traditionally had keys made out of ivory, but there’s a great way to avoid that if you want to save the elephants. You can build a keyboard using spoons, as demonstrated by [JCo Audio]. 

The build relies on twelve metal spoons to act as the keys of the instrument. They’re assembled into a wooden base in a manner roughly approximating the white and black keys of a conventional piano keyboard, using 3D-printed inserts to hold them in place. They’re hooked up to a Raspberry Pi Pico via a Pico Touch 2 board, which allows the spoons to be used as capacitive touch pads. Code from [todbot] was then used to take input from the 12 spoons and turn it into MIDI data. From there, hooking the Pi Pico up to a PC running some kind of MIDI synth is enough to make sounds.

It’s a simple build, but a functional one. Plus, it lets you ask your friends if they’d like to hear you play the spoons. The key here is to make a big show of hooking your instrument up to a laptop while explaining you’re not going to play the spoons a la the folk instrument, but you’re going to play a synth instead. Then you should use the spoon keyboard to play emulated spoon samples anyway. It’s called doubling down. Video after the break.

Continue reading “MIDI Spoon Piano Is Exactly What You Think It Is”

Big Server Fan Becomes Fume Extractor

[Anthony Kouttron] wanted a fume extractor for his personal electronics lab, but he didn’t like the look of the cheap off-the-shelf units that he found. Ultimately, he figured it couldn’t be that hard to build own portable fume extractor instead.

The build is based around a mighty 110-watt centrifugal fan from an IBM server that’s rated at approximately 500 CFM. It’s a hefty unit, and it should be, given that it retails at over $200 on DigiKey. [Anthony] paired this fan with off-the-shelf HEPA and activated carbon filters. These are readily available from a variety of retailers. He didn’t want to DIY that part of the build, as the filter selection is critical to ensuring the unit actually captures the bad stuff in the air. He ended up building a custom power supply for the 12-volt fan, allowing it to run from common drill batteries for practicality’s sake.

Few of us have need for such a beefy fume extractor on the regular. Indeed, many hobbyists choose to ignore the risk from soldering or 3D printing fumes. Still, for those that want a beefy fume extractor they can build themselves, it might be worth looking over [Anthony]’s initial work.

We’ve seen some other great DIY fume extractors before, too. Even those that use drill batteries! If you’ve been cooking up your own solution, don’t hesitate to drop us a line!

Pump It Up Gets Homebrew GBA Port That Rocks

Pump It Up is a popular music video game that hails from South Korea. It’s similar in vibe to Dance Dance Revolution and In The Groove, but it has an extra arrow panel to make life harder. [Rodrigo Alfonso] loved it so much, he ported it to the Game Boy Advance.

The port looks fantastic, with all the fast-moving arrows and lovely sprite-based graphics you could dream of. But more than that, [Rodrigo’s] port is very fully featured. It doesn’t rely on tracked or sampled music, instead using actual GSM audio files for the songs.

It can also accept input from a PS/2 keyboard, and you can even do multiplayer over the GBA’s Wireless Adapter. What’s even cooler is that some of the game’s neat features have been broken out into separate libraries so other developers can use them. If you need a Serial Port library for the GBA, or a way to read the SD card on flash carts, [Rodrigo] has put the code on GitHub.

As you might have guessed, this isn’t the first time [Rodrigo] has pushed the limits on what Nintendo’s 32-bit handheld can do.

Continue reading Pump It Up Gets Homebrew GBA Port That Rocks”

You Can Now Jailbreak A PS4 With An LG TV

You might think that jailbreaking a PS4 to run unsigned code is a complicated process that takes fancy tools and lots of work. While developing said jailbreaks was naturally no mean feat, thankfully they’re far easier for the end user to perform. These days, all you need is an LG TV.

Of course, you can’t just use any LG TV. You’ll need a modern LG webOS smart TV, and you’ll need to jailbreak it before it can in turn be used to modify your PS4. Once that’s done, though, you can install the PPLGPwn tool for jailbreaking PS4s. It’s based on the PPPwn exploit released by [TheFlow], which was then optimized by [xfangxfang] and implemented for LG Smart TVs by [zauceee]. Once installed, you just need to hook up your PS4 to the TV via the Ethernet port. Then, with the exploit running on the TV, telling the PS4 to set up the LAN via PPPoE will be enough to complete the jailbreak.

There are other ways to jailbreak a PS4 that don’t involve the use of a specific television. Nonetheless, it’s neat to see the hack done in such an amusing way.

Continue reading “You Can Now Jailbreak A PS4 With An LG TV”

Generative AI Hits The Commodore 64

Image-generating AIs are typically trained on huge arrays of GPUs and require great wads of processing power to run. Meanwhile, [Nick Bild] has managed to get something similar running on a Commodore 64. (via Tom’s Hardware).

A figure generated by [Nick]’s C64. We shall name him… “Sword Guy”!
As you might imagine, [Nick’s] AI image generator isn’t churning out 4K cyberpunk stills dripping in neon. Instead, he aimed at a smaller target, more befitting the Commodore 64 itself. His image generator creates 8×8 game sprites instead.

[Nick’s] model was trained on 100 retro-inspired sprites that he created himself. He did the training phase on a modern computer, so that the Commodore 64 didn’t have to sweat this difficult task on its feeble 6502 CPU. However, it’s more than capable of generating sprites using the model, thanks to some BASIC code that runs off of the training data. Right now, it takes the C64 about 20 minutes to run through 94 iterations to generate a decent sprite.

8×8 sprites are generally simple enough that you don’t need to be an artist to create them. Nonetheless, [Nick] has shown that modern machine learning techniques can be run on slow archaic hardware, even if there is limited utility in doing so. Video after the break.

Continue reading “Generative AI Hits The Commodore 64”

Designing A Quality Camera Slider Can Be Remarkably Satisfying

Camera sliders are great creative tools, letting you get smooth controlled shots that can class up any production. [Anthony Kouttron] decided to build one for an engineering class, and he ended up mighty satisfied with what he and his team accomplished.

As an engineering class project, this wasn’t a build done on a whim. Instead, [Anthony] and his fellow students spent plenty of time hashing out what they needed this thing to do, and how it should be built. An Arduino was selected as the brains of the operation, as a capable and accessible microcontroller platform. Stepper motors and a toothed belt drive were used to move the slider in a controllable fashion. The slider’s control interface was an HD44780-based character LCD, along with a thumbstick and two pushbuttons. The slider relied on steel tubes for a frame, which was heavy, but cost-effective and easy to fabricate. Much of the parts were salvaged from legendary e-waste bins on the university grounds.

The final product was stout and practical. It may not have been light, but the steel frame and strong stepper motor meant the slider could easily handle even heavy DSLR cameras. That’s something that lighter builds can struggle with.

Ultimately, it was an excellent learning experience for [Anthony] and his team. As a bonus, he got some great timelapses out of it, too. Video after the break.

Continue reading “Designing A Quality Camera Slider Can Be Remarkably Satisfying”