PySpectrometer version 2, showing mini spectroscope, 4 inch display and hand for scale

Pi-based Spectrometer Gets An Upgrade

Here at Hackaday, we love to see projects re-visited and updated after we’ve covered them on the site. It’s always exciting to see what the creators come up with next, and this Pi-Based Spectrometer project is a great example of that.

[LesWright] found himself with a problem when the new version of Raspberry Pi operating system was released (Bullseye), and it broke some functionality on his original software. Rather than just fix the issues, [Les] chose to rewrite the software more dramatically and has ended up with a much more capable spectrometer that is able to match professional devices costing many times more.

Screenshot of Waterfall Display for PySpectrometer 2
Screenshot of Waterfall Display for PySpectrometer 2

By using multi-wavelength calibration and polynomial regression data, the new version is much more accurate and can now resolve wavelengths down to +/- 1nm.

The whole project is now written in OpenCV, and there’s a nifty new waterfall spectrum display, that will show changes in measured spectra over time.

A low-cost benchtop spectroscope is coupled to a RaspberryPi Camera via a CCTV zoom lens and the whole setup is mounted to a small block of aluminium for thermal and mechanical stability. The spectroscope is pointed at a fluorescent lamp and the user is guided through a calibration routine to tune the software to the hardware.

We’re impressed with the precision [Les] has achieved with his builds, and the write-up is sufficiently detailed to allow others to follow in his footsteps. We’d love to see if readers build one themselves, and what they use them for!

If you want to read up on the original build, you can find our article here. We’ve covered several spectrometry projects in the past, including this Gamma-Ray Spectrometer and this one based around an STM32 Nucleo board. Continue reading “Pi-based Spectrometer Gets An Upgrade”

Play DOOM On Seven-Segment Displays

Getting DOOM to run on a computer it was never meant to run on is a fun trope in the world of esoteric retro computers. By now we’ve seen it run on everything from old NES systems to microwaves, treadmills, and basically anything with a computer inside of it. What we don’t often see are the displays themselves being set up specifically to run the classic shooter. This build might run the game itself on ordinary hardware, but the impressive part is that it’s able to be displayed on this seven-segment display.

This build makes extensive use of multiplexers to drive enough seven-segment displays to use as a passable screen. There are 1152 seven segment digits arranged in a 48 by 24 array, powered by a network of daisy-chained MAX7219 chips. A Python script running on a Raspberry Pi correlates actual image data with the digit to be displayed on each of the segments, and the Raspberry Pi sends all of that information out to the screen. The final result is a display that’s fast enough and accurate enough to play DOOM in a truly unique way.

There is much more information available about this project on their project page, and they have made everything open source for those who wish to follow along as well. The project includes more than just the ability to play DOOM, too. There’s a built-in video player and a few arcade programs programmed specifically to make use of this display. Perhaps one day we will also see something like this ported to sixteen-segment displays instead of the more common seven-segment.

2022 Cyberdeck Contest: Prototype Cyberdeck Is Anything But Questionable

We see many projects here at Hackaday, about which their creators are unreasonably modest. We like a good cyberdeck, and we think [betaraybiff] is one of those creators from their project description for a Prototype Cyberdeck of Questionable Practical Use. It may be a prototype, but we think it could be quite a practical computer.

At its heart is the ubiquitous Raspberry Pi 4 paired with a PiSugar power supply and a minimalist mechanical keyboard. The case is the interesting part, because it’s well-designed to be 3D printed in sections with the HDMI display hinging up from above the keyboard. The Pi is open and visible on top of the deck, but this could easily be covered with another printed piece if desired.

So we disagree on the practicality, given a train journey and this cyberdeck we think we could easily crack out a Hackaday article or two. Never undersell your creations, like this one they’re almost certainly better than you think.

If you’d like to see more of the 2022 Cyberdeck Contest, take a look at the best of the best.

Arduino Lo-Fi Orchestra closeup thumbnail

Lo-Fi Orchestra Learns Tubular Bells

Hardware projects often fall into three categories: Those that flash lights, those that make sounds and those that move. This virtuoso performance by [Kevin]’s “Lo-Fi Orchestra” manages all three, whilst doing an excellent job of reproducing the 1973 musical classic Tubular Bells by Mike Oldfield.

Producing decent polyphonic sounds of different timbres simultaneously is a challenge for simple microcontroller boards like Arduinos, so [Kevin] has embraced the “More is more” philosophy and split up the job of sound generation in much the same way as a traditional orchestra might. Altogether, 11 Arduino Nanos, 6 Arduino Unos, an Arduino Pro Mini, an Adafruit Feather 32u4, and a Raspberry Pi running MT32-Pi make up this electronic ensemble.

Arduino servo drumkit
Arduino Servo & Relay Drumkit

The servo & relay drumkit is a particular highlight, providing some physical sounds to go along with the otherwise solid-state generation.

The whole project is “conducted” over MIDI and the flashing sequencer in the middle gives a visual indication of the music that is almost hypnotic. The performance is split into two videos (after the break), and will be familiar to fans of 70’s music and classic horror movies alike. We’re astonished how accurately [Kevin] has captured the mood of the original recording.

If this all looks slightly familiar, it may be because we have covered the Lo-Fi Orchestra before, when it entertained us with a rousing rendition of Gustav Holst’s Planets Suite. If you’re more interested in real Tubular Bells than synthesized ones, then check out this MIDI-controlled set from 2013. Continue reading “Lo-Fi Orchestra Learns Tubular Bells

A Raspberry Pi Phone For The Modern Era

While it might seem like mobile phones are special devices, both in their ease of use and in their ubiquity in the modern culture, they are essentially nothing more than small form-factor computers with an extra radio and a few specific pieces of software to run. In theory, as long as you can find that software (and you pay for a service plan of some sort) you can get any computer to work as a phone. So naturally, the Raspberry Pi was turned into one.

[asherdundas], the phone’s creator, actually found a prior build based around the Raspberry Pi before starting this one. The problem was that it was built nearly a decade ago, and hadn’t been updated since. This build brings some modernization to the antiquated Pi phone, and starts with a 3D printed case. It also houses a touchscreen and a GSM antenna to connect to the cell network. With some other odds and ends, like a speaker and microphone, plus a battery and the software to tie it all together, a modern functional Raspberry Pi phone was created, with some extra details available on the project page.

The phone has the expected features — including calling, texting, and even a camera. A small WiFi USB dongle allows it to connect to the Internet too, allowing it to do all of the internet browsing a modern smartphone might want to do. The only thing that it might be pretty difficult to do is install Android apps, and although there are ways to get Android apps working in Linux, it’s not always strictly necessary to have this functionality.

Mac 128K Emulator Gets DIY Ceramic Enclosure

Creative technologist [Joselyn McDonald] wanted to hone her ceramic skills by building an iconic Macintosh 128K sculpture, complete with a fully functional operating system.

At first, she was determined to use Processing to create an interface for her sculpture by recreating the UI visually and adding some touch controls. However, she soon abandoned this tedious task after discovering MacintoshPi, which steps you through installing Mac OS 7, 8, and 9 emulators on a Raspberry Pi. [Joselyn] has also installed several retro games, including DOOM II, Carmen Sandiego, and Sim City, thanks to sites like Macintosh Garden and Macintosh Repository. 

Next, [Joselyn] hopes to set it up to display her and her partner’s schedules, and to let friends play around with nostalgic games. This piece was made using hand building, but other cool ceramic techniques like this slip cast dog bowl and this stone 3D printer have us thinking about what other types of enclosures could be built!

Giving Environmental Readouts Some Personality

Air Quality Index for one’s region can be a handy thing to know, but it’s such a dry and humorless number, isn’t it? Well, all that changes with [Andrew Kleindolph]’s AQI Funnies: a visual representation of live AQI data presented by a friendly ghost character in a comic panel presentation. The background, mood, and messaging are all generated to match the current conditions, providing some variety (and random adjectives) to spruce things up.

We love the attention paid to the super clean presentation, and the e-paper screen looks fantastic. Inside the unit is a Raspberry Pi using Python to talk to the AirNow.gov API to get local conditions and update every four hours (AirNow also has a number of useful-looking widgets, for those interested.)

The enclosure is 3D printed, and [Andrew] uses a Witty Pi for power management and battery conservation. The display is a color e-paper display that not only looks great, but has the advantage of not needing power unless the display is updating. The Pi can be woken up to update the screen with new info when needed, but otherwise can spend its time asleep.

[Andrew] has a knack for friendly presentations of information with an underlying seriousness, as we saw with his friendly reminders about nasty product recalls.