The Tiniest RetroPie

The RetroPie project is a software suite for the Raspberry Pi that allows the user to easily play classic video games through emulators. It’s been around for a while now, so it’s relatively trivial to get this set up with a basic controller and video output. That means that the race is on for novel ways of implementing a RetroPie, which [Christian] has taken as a sort of challenge, building the tiniest RetroPie he possibly could.

The constraints he set for himself were to get the project in at under 100 mm. For that he used a Pi Zero loaded with the RetroPie software and paired it with a 1.44″ screen. There’s a tiny LiPo battery hidden in there, as well as a small audio amplifier. Almost everything else is 3D printed including the case, the D-pad, and the buttons. The entire build is available on Thingiverse as well if you’d like to roll out your own.

While this might be the smallest RetroPie we’ve seen, there are still some honorable mentions. There’s one other handheld we’ve seen with more modest dimensions, and another one was crammed into an Altoids tin with a clamshell screen. It’s an exciting time to be alive!

Continue reading “The Tiniest RetroPie”

Raspberry Pi’s Latest Upgrade: The Compute Module 3+

We’ve become so used to the Raspberry Pi line of boards that have appeared in ever-increasing power capabilities since that leap-year morning in 2012 when the inexpensive and now ubiquitous single board computer was announced and oversold its initial production run. The consumer boards have amply fulfilled their mission in providing kids with a pocket-money computer, and even though they are not the most powerful in the class of small Linux boards they remain the one to beat.

The other side of the Pi coin comes with the industrial siblings of the familiar boards, the Compute Module. This is a version of the Pi meant to be built into other products, utilizing a SODIMM connector as the hardware interface. Today brings news of a fresh addition to that range: the Compute Module 3+.

As you might expect from the nomenclature this brings the Broadcom BCM2837B0 processor from the Raspberry Pi 3B+ to the barebones SODIMM-style Pi, but unexpectedly they have also made it available with a range of different size eMMC devices installed. In place of the 4 GB capacity of previous offerings are 8, 16, and 32 GB devices, with an intriguing new “lite” variant that has no onboard storage at all.

Perhaps the saddest thing from a Hackaday reader’s perspective is that as the Pi blog post notes due to commercial sensitivities they have little idea what products many of the Compute Modules they sell end up in — a mystery we’d really like to solve. No doubt there are some fascinating applications just waiting do be discovered by hardware hackers in a decade’s time as units enter the surplus market, but for now we’ll have to be content with community offerings. This stereoscopic camera is a recent one, or perhaps one of several handheld game consoles.

Running OpenCL On A Raspberry Pi GPU

This is an interesting development for media users and machine learning hackers: [doe300] has implemented OpenCL on the Raspberry Pi 3 Model B+called VCFCL That’s big news because the Pi 3+ has a Graphics Processing Unit (GPU) built into the processor that has been generally underutilized. The VideoCore IV GPU is built into the Broadcom BCM2837B0 and is surprisingly capable for a low-power chip. Although this GPU is well documented, it hasn’t been used that widely because you have to code specifically for this class of GPU. Adding in support for a high-level framework like OpenCL will make it much easier to run and adapt existing packages.

Continue reading “Running OpenCL On A Raspberry Pi GPU”

Raspberry Pi Jukebox Hits All The Right Notes

We (and by extension, you) have seen the Raspberry Pi crammed into nearly every piece of gear imaginable. Putting one inside a game console is so popular it’s bordering on a meme, and putting them into old stereos and other pieces of consumer electronics isn’t far behind. It’s always interesting to see how hackers graft the modern Raspberry Pi into the original hardware, but we’ll admit it can get a bit repetitive. So how about somebody scratch building an enclosure for their jukebox project?

[ComfortablyNumb] took the road less traveled when he created this very nice wooden Raspberry Pi enclosure in the shape of an eighth note. Stained and varnished and with a nice big touch screen in the middle to handle the controls, it’s an attractive and functional piece of home audio gear that we imagine most people would be happy to hang on their wall.

The process starts by printing out the desired shape on a piece of paper to use as guide, and then gluing together strips of wood to create the rough outline. Then the surface was thoroughly sanded to bring all of the strips of wood to the same level, and the final design was cut out. On the back of the note, [ComfortablyNumb] boxed out an area to hold the Waveshare seven-inch touch screen panel and the Raspberry Pi itself.

Having seen so many projects where the Pi is rather unceremoniously shoehorned into another device, it’s refreshing to see the results of a purpose-built enclosure. Since [ComfortablyNumb] was able to build the electronics compartment to his exact dimensions, the final result looks exceptionally clean and professional. Not a drop of hot glue to be seen. It also helps that this build only required the Pi and the display; as the device is meant to be plugged into an existing audio setup, there’s no onboard amplifier. The audiophiles out there might recoil in horror, but adding a dedicated digital to analog converter (DAC) would be easy enough to add if the stock audio on the Pi isn’t good enough for you.

The project is finished off with stain and several coats of varnish to get that deep and rich color. We don’t often find ourselves working with dead trees around these parts, but we’ve got to admit that the final product does look quite handsome. Certainly beats the LEGO cases many of our Pi projects live in.

If you’re looking for more wooden-encased Pi jukeboxes, you might enjoy this somewhat abstract magstripe-based take on the concept. Of course, we’ve also seen our fair share of actual jukeboxes receive a Raspberry infusion over the years.

[via /r/raspberry_pi]

Sly Guy Nabs Pi Spy

When one of [Christian Haschek’s] co-workers found this Raspberry Pi tucked into their network closet, he figured it was another employee’s experiment – you know how that goes. But, of course, they did the safe thing and unplugged it from the network right away. The ensuing investigation into what it was doing there is a tour de force in digital forensics and a profile of a bungling adversary.

A quick check of everyone with access to that area turned up nothing, so [Christian] shifted focus to the device itself. There were three components: a Raspberry Pi model B, a 16GB SD card, and an odd USB dongle that turned out to be an nRF52832-MDK. The powerful SoC on-board combines a Cortex M4 processor with the RF hardware for BLE, ANT, and other 2.4 GHz communications. In this case, it may have been used for sniffing WiFi or bluetooth packets.

The next step was investigating an image of the SD card, which turned out to be a resin install (now called balena). This is an IoT web service that allows you to collect data from your devices remotely via a secure VPN. Digging deeper, [Christian] found a JSON config file containing a resin username. A little googling provided the address of a nearby person with the same name – but this could just be coincidence. More investigation revealed a copyright notice on some mysterious proprietary software installed on the Pi. The copyright holder? A company part-owned by the same person. Finally, [Christian] looked into a file called resin-wifi-01 and found the SSID that was used to set up the device. Searching this SSID on wigle.net turned up – you guessed it – the same home address found from the username.

But, how did this device get there in the first place? Checking DNS and Radius logs, [Christian] found evidence that an ex-employee with a key may have been in the building when the Pi was first seen on the network. With this evidence in hand, [Christian] turned the issue over to legal, who will now have plenty of ammunition to pursue the case.

If you find the opportunity to do some Linux forensics yourself, or are simply interested in learning more about it, this intro by [Bryan Cockfield] will get you started.

DIY Clapper Is 1980s Style With Raspberry Pi Twist

Home automation isn’t all that new. It is just more evolved. Many years ago, a TV product appeared called the Clapper. If you haven’t heard of it, it was basically a sound-operated AC switch. You plug, say, a lamp into the device and the clapper into the wall and you can then turn the lamp on or off by clapping. If you somehow missed these — and you can still get them, apparently — have a look at the 1984 commercial in the video below. [Ash] decided to forego ordering one on Amazon and instead built her own using a Raspberry Pi.

[Ash’s] prototype uses an LED and could — in theory — drive anything. If you wanted to make a real Clapper replacement you’d need a relay or some other kind of AC switch suitable for the load. The actual clap detection software is from [nikhiljohn10] and simply waits for two loud noises. No fancy machine learning to differentiate between a clap and a cat knocking over a vase. Just a threshold and some timing.

Continue reading “DIY Clapper Is 1980s Style With Raspberry Pi Twist”

Visual Airplane Tracker Runs On Pi

As no doubt is the case with many readers, there is a Raspberry Pi running in the yard near where this is being written that tracks airplanes, listening into the ADS-B radio broadcasts that they send and uploading the data to a sharing service. This device lacks the blinky LEDs that hacking custom states it should have, though. This project from [xy72y5e] would be a great way to deal with that problem: they used a Unicorn hat to create a simple map of local airplanes. This shows the location and track of aircraft in the area on the 8 by 8 RGB LED matrix of the Unicorn Hat.

While the device here maps local planes from their radio fixes, the code that [xy72y5e] published works with the api of ADSBExchange, a site that shares flight data. This means that the map can be easily set to show air traffic at a different location to the device itself. And it wouldn’t be that difficult to alter this to show the locally detected planes, as [xy72y5e] has published the full Python code that creates the map. This would also go well with some of the other airplane tracking hacks that we’ve seen recently, such as the planespotter destination tracker or tracking airplanes by radar reflections

[Via Reddit]