Double-Dose Of AI Turns Daily Tasks Into Works Of Art

Not so long ago, “Magic Mirror” builds were all the rage, and we have to admit getting out daily reminders and newsfeeds on an LCD display sitting behind a partially reflective mirror is not without its charms. But styles ebb and flow, so we don’t see too many of those builds anymore. This e-ink daily calendar reminder hearkens back to those Magic Mirrors, only with a double twist of AI.

This project is the work of [Ilkka Turunen], and right up front we’ll say the results are just gorgeous. A lot of that has to do with the 10.3″ e-ink display used, but more with the creative use of not one but two machine learning systems. The first is ChatGPT, which [Ilkka] uses to parse the day’s online calendar entries and grab the most significant events to generate a prompt for DALL-E. The generated DALL-E prompt has specific instructions that guide the style of the image, which honestly is where most of the artistry lies. [Ilkka]’s aesthetic choices, like suggesting that the images look like a 19th-century lithograph or a satirical comic from a turn-of-the-(last)-century newspaper. The prompt is then sent off to DALL-E for rendering, and the resulting image is displayed.

It has to be said that the prompts that ChatGPT generates based on the combination of [Ilkka]’s aesthetic preferences and the random events of the day are strikingly complex. The chatbot really seems to be showing some imagination these days; DALL-E is no slouch either in turning those words into images.

Like the idea of an e-ink daily reminder but prefer a less artistic presentation? This should help.

Continue reading “Double-Dose Of AI Turns Daily Tasks Into Works Of Art”

A Yamaha DX7 On A USB Dongle

The Yamaha DX7 was released in 1983, with its FM synthesis engine completely revolutionizing the electronic music world at the time. It didn’t come cheap, and still doesn’t today, but we are blessed with emulators that can give us the same sound on a budget. In that vein, [Kevin] decided to whip up a Yamaha DX7 you can carry around in a little USB dongle. 

The build centers around the use of a Raspberry Pi Zero, Zero W, or Zero 2W configured to run the MiniDEXED DX7 emulator. The Pi is then set up with a dongle adapter board that allows it to run in USB Gadget mode. The Zero line of Raspberry Pis are perfect for this use, as they draw less current and so can, under the right conditions, run off a computer’s USB port. The Pi receives MIDI commands over the USB interface, and outputs sound via a Pimoroni Audio Shim. Effectively, the result is a single-channel DX7 synth that plugs in via USB; or eight channels if you use the more powerful Zero 2W.

[Kevin] readily admits that there probably isn’t much use for a DX7 dongle, given that you could just load a DX7 emulator in your DAW of choice instead. Regardless, it’s a fun build, and one that ably demonstrates the USB Gadget mode of operation for the Raspberry Pi. Video after the break. Continue reading “A Yamaha DX7 On A USB Dongle”

The Ghost Detector 9000 Is A Fun Spirit-Chasing Game

Halloween may have come and gone for another year, but we’re still finding neat spooky projects lurking out on the Interwebs. Case in point, the Ghost Detector 9000 from [Jules].

Effectively, what you’re looking at here is a fun interactive ghost-detecting game. It consists of a Raspberry Pi Zero hooked up with an IMU sensor that can detect the rig’s movement and orientation. As the user moves the Ghost Detector 9000 around, it outputs lights and sound when it’s aimed at a so-called “ghost-signal”. The user then pulls the trigger to “capture” the ghost. The whole rig is built inside a flashlight which presented a useful form factor for modification.

For those eager to dive into the nitty-gritty, [Jules] has shared the project files on GitHub. There’s some nifty stuff going on, like Rust code that interfaces with I2C devices hooked up to the Pi, and a sensor-fusion algorithm to make the most out of the data from the 9-axis IMU.

It’s a fun build that probably taught [Jules] a great deal along the way, even if it’s a game at heart. If you prefer to shoot zombies instead of capture ghosts, we’ve seen a build that lets you go hunting with a laser crossbow, too.

Continue reading “The Ghost Detector 9000 Is A Fun Spirit-Chasing Game”

A brown, wooden picture frame with a white matte holds a slightly pixelated photo of gaming miniatures. It is sitting on a wooden table.

A Colorful Take On The E-Ink Photo Frame

Everyone loves sharing photos, and with most pictures being taken on smartphones now, digital frames are more convenient than finding a photo printer. [Wolfgang Ziegler] used an e-ink screen to create a colorful digital picture frame.

Starting with a seven color e-ink HAT he’d forgotten he had, a spare Pi Zero, and analog photo frame, he pieced the parts together into a pretty slick, sunlight readable photo frame. [Ziegler] details how he set up the frame to display new images using the Pimoroni inky library. He set a fifteen minute refresh interval since the color e-ink display takes 30 seconds to refresh to keep it from looking weird too often.

With the holidays coming up, this might make a perfect gift for family that wants to see the latest from your travels without blasting it to the whole internet. We’ve covered a few different options from a lightweight ESP8266 build, to this one that can rotate, and even issues with some of the commercial options.

Stream Vinyl To Your Sonos Without The Financial Penalty

One of the unexpected success stories in the world of hi-fi over the past decade has been the resurgence of the vinyl LP as a musical format. What was once old hat is now cool again, but for freshy minted vinyl fans there’s a snag. Hi-fi itself has moved on from the analogue into the digital, so what can be done if your listening comes through a Sonos system. Sonos will sell you a box to do that of course, but it’s as overpriced as 2023-pressing vinyl. [Max Fischer] has a far better solution, in the form of a Raspberry Pi loaded with open source software.

At the vinyl end is a Behringer audio interface containing a pre-amp with the required RIAA response curve. This acts as the source for the DarkIce audio streamer and the IceCast2 media serer, all of which even with the cost of a Pi and the interface, is considerably less than the commercial device.

We’re guessing that a more humble interface coupled to an older RIAA pre-amp could cut the cost further, and we’d be hugely curious as to whether a simple mic pre-amp could be used alongside some DSP from the likes of Gnu Radio to give the RIAA response.

Either way, he’s made a handy device for any 21st-century vinyl fan. Meanwhile if you’re one of the streaming generation seduced by round plastic discs, we’ve gone into some detail about their audiophile credentials in the past. And if you have found yourself a turntable, of course you’ll need to know how to set it up properly.

Getting PCIe Working On The New Pi 5

After the Pi 4 released, a discovery was quickly made that the internals of the popular single-board computer use PCIe to communicate with each other. This wasn’t an accessible PCIe bus normally available in things like desktop computers for expansion cards, though; this seemed to be done entirely internally. But a few attempts were made to break out the PCIe capabilities and connect peripherals to it anyway, with varying levels of success. The new Pi 5 seems to have taken that idea to its logical conclusion and included a PCIe connector, and [George] is showing us a way to interface with this bus.

The bus requires the port to be enabled, but once that’s done it’s ready to be used. First, though, some support circuitry needs to be worked out which is why [George] is reverse engineering the system to see what’s going on under the hood. There are a few handshakes that happen before it will work with any peripherals, but with that out of the way a PCIe card can be connected. [George] removed the connector to solder wires to the board directly in order to connect a proper PCIe port allowing a variety of cards to be connected, in this case a wireless networking card and an old Firewire card. This specific build only allows Gen 1 speeds, but the bus itself supports faster connections in theory with better wiring and support circuitry.

While it might not be the prettiest solution, as [George] admits, it does a great job of showing the inner workings of this communication protocol and its use in the new, more powerful Raspberry Pi 5. This makes a lot of things more accessible, such as high-speed PCIe HATs allowing for a wide range of expansion for these popular single-board computers, which wouldn’t have been possible before. If you’re still stuck with a Pi 4, though, don’t despair. You can still access the PCIe bus on these older models but it’ll take a little bit more work.

Thanks to [CJay] for the tip!

Continue reading “Getting PCIe Working On The New Pi 5”

Jenny’s Daily Drivers: RiscOS 5.28

On a mundane day at some point in late 1987, though I didn’t grasp exactly what it would become at the time, I sat in front of the future. My school had a lab full of BBC Micros which I’d spent the previous few years getting to know, but on that day there was a new machine in one corner. It was a brand-new Acorn Archimedes, probably an A300, and it was the first time I had used an operating system with a desktop GUI. The computer was the first consumer application of the ARM processor architecture which has since gone on to conquer the world, and the operating system was called Arthur, which hasn’t. That’s not to say that Arthur is forgotten though, because it was soon renamed as RiscOS, managed to outlive both Acorn and the Archimedes, and still survives as a maintained though admittedly niche operating system to this day. So my Daily Driver this month is the current generation of RiscOS, version 5.28, and the machine I’m running it on is a Raspberry Pi 4. For a computer with an ARM core that’s designed and sold by a company based in Cambridge just like the original Acorn, it’s the most appropriate pairing I can think of.

Probably the Smallest OS In This Series

A beige desktop with no monitor, keyboard and mouse in front. It shows signs of yellowing with age.
The first ARM product, an Acorn Archimedes A310. mikkohoo, CC BY-SA 4.0.

At one point the Raspberry Pi folks even featured the Pi version of RiscOS on their website, but for those missing it there it’s freely downloadable as a disk image from the RiscOS Open site. Having spent most of its life as a closed-source product it’s been opened up over the last decade, and you can grab the source if you’re interested. When it’s normal for an OS download to run into the many gigabytes, it’s a bit of a shock to grab one that’s a shade under 140 megabytes and can be written to a 2 gigabyte SD card. This makes it probably one of the quickest operating system installs I have ever done, with all steps completed in a very short time. Sticking the SD card into the Pi it boots to a desktop in about 32 seconds which is only 5 seconds less than the latest Raspberry Pi OS image, so sadly that compactness doesn’t net you any extra speed. Continue reading “Jenny’s Daily Drivers: RiscOS 5.28”