Digital Rain Animation Crammed Into Pi Pico

With a new Matrix movie now in cinemas, we’ve all been reminded of those screensavers that were just the coolest thing ever when the original film dropped in 1999. [en0b] decided to recreate the classic “digital rain” effect on the Raspberry Pi Pico, using up all the little microcontroller’s storage in the process.

Rather than rely on existing graphics libraries, [en0b] set about using a high-quality GIF for the animation. The original file was 8 MB, which was far too big to fit on the Pico. After some finagling in an image editor and with the help of a custom Python script, however, [en0b] managed to fit the 127-frame animation at 240 x 135 resolution into the 2 MB Flash onboard the chip. With the microcontroller hooked up to the 1.14″ IPS “Pico Display” from Pimoroni, the final looks great and faithfully recreates the aesthetic seen in the film.

[en0b]’s technique could reliably be used for displaying any GIF that you can cut down to 14 to 16 colors without losing too much quality. It’s not the world’s highest-end graphics format, but it does the job for little animations like these.

We’ve seen similar builds before too, using more heavy-duty hardware to build a magic 8-ball in much the same way. Meanwhile, if you’ve got your own neat little GIF hacks or Pico projects, don’t hesitate to send them in!

Electronic Drum Toy Built From Scratch

Drum kits used to be key to any serious band, however, these days, much of our music is created on computer or using a drum machine instead. [spanceac] has built a simple example of the latter, using a microcontroller to build a basic sample-based drum toy.

The brains of the operation is the STM32F100VET6B, which comes complete with a 12-bit DAC for outputting sound. It’s also got a healthy 512 KB of flash, enabling it to store the drum samples onboard without the need for extra parts. Samples are stored at a sample rate of 22,050 Hz in 16-bit resolution – decent quality for a tiny little build, even if the DAC chops that back down to 12-bits later.

[spanceac] was sure to code proper mixing into the drum machine, so that triggering a second sample doesn’t stop the first one playing. With a kick, snare, two toms, and crash and ride samples onboard, there’s plenty to get a solid beat going on the kit.  It’s all built up on a small PCB with tactile buttons to activate each sound.

The demo video shows the kit performing ably; it’s not clear if there’s an issue with latency on the samples or that’s just from the difficulty of [spanceac] playing one-handed. If the former, likely some code tweaks or simply trimming silence at the start of samples would be all that was needed. Overall, it’s a neat little groovebox, and the kind of thing that’s great fun to use when jamming with other musicians. Video after the break.

Continue reading “Electronic Drum Toy Built From Scratch”

Adding An Audio Jack To Classic Headphones Is A Nifty Upgrade

One of the most common ways to junk a pair of headphones is to damage the cord. Obviously, the lead can be repaired, but it involves busting out the soldering iron and can be tedious when dealing with the tiny little coated wires.

It does involve soldering, but ideally, you only have to do it once.

[mauriziomiscio.mm] has a way of dealing with the problem in a once-and-done fashion, by installing a female audio jack into his vintage headphones. The benefit is that if the cable is damaged, it can simply be unplugged and replaced with a new one, and is commonly seen on headphones from companies like KRK. 

The hack is simple when applied to a classic pair of AKG K141 headphones. The little plastic casing on one earpiece is popped off, and replaced with a 3D-printed version that stoutly holds a female TRS jack in place. This can then be soldered up to the wiring inside the headphones.

With everything assembled, the headphones can now use an easily-replaceable cable, and one needn’t worry about having to bust out the soldering iron if the lead is damaged in future. It’s a particularly useful hack for those who use their headphones on the road, always throwing them into backpacks between gigs.

If that’s not hardcore enough, consider attaching a headphone jack to an old 8-track player for the most ridiculous Walkman you can imagine. If you’ve been working on your own portable audio hacks, be sure to drop us a line!

Does This Lead Make My Car Look Fat?

When looking at the performance of a vehicle, weight is one of the most important factors in the equation. Heavier vehicles take more energy to accelerate and are harder to stop. They’re also more difficult to control through the corners. Overall, anything that makes a vehicle heavier typically comes with a load of drawbacks to both performance and efficiency. You want your racecar as light as possible.

However, now and then, automakers have found reason to intentionally add large weights to vehicles. We’ll look at a couple of key examples, and discuss why this strange design decision can sometimes be just what the engineers ordered.

Continue reading “Does This Lead Make My Car Look Fat?”

New Cars Will Nickel-and-Dime You – It’s Automotive As A Service

Every few years, someone pushing a startup to investors comes up with an acronym or buzzword which rapidly becomes the new hotness in those circles. One of the most pernicious is “as a Service,” which takes regular things and finds a way to charge you a regular fee to use them.

Automotive companies just absolutely loved the sound of this, and the industry is rapidly moving to implement subscription services across the board. Even if there’s hardware in your car for a given feature, you might find you now need to pay a monthly fee to use it. Let’s explore how this came about, and talk about which cars are affected. You might be surprised to find yours already on the list.
Continue reading “New Cars Will Nickel-and-Dime You – It’s Automotive As A Service”

The Current State Of Play In Autonomous Cars

Bluster around the advent of self-driving cars has become a constant in the automotive world in recent years. Much is promised by all comers, but real-world results – and customer-ready technologies – remain scarce on the street.

Today, we’ll dive in and take a look at the current state of play. What makes a self-driving car, how close are the main players, and what can we expect to come around the corner?

Continue reading “The Current State Of Play In Autonomous Cars”

The Label Says HDMI 2.1 But That Doesn’t Mean You’ll Get It

Technology moves quickly these days as consumers continue to demand more data and more pixels. We see regular updates to standards for USB and RAM continually coming down the pipeline as the quest for greater performance goes on.

HDMI 2.1 is the latest version of the popular audio-visual interface, and promises a raft of new features and greater performance than preceding versions of the standard. As it turns out, though, buying a new monitor or TV with an HDMI 2.1 logo on the box doesn’t mean you’ll get any of those new features, as discovered by TFT Central.

Continue reading “The Label Says HDMI 2.1 But That Doesn’t Mean You’ll Get It”