An old parking meter and a Pi make beautiful music together
#Hardware

An old parking meter and a Pi make beautiful music together

Hardware Reporter
3 min read

An engineer transformed a decommissioned parking meter into a Spotify-playing jukebox using Raspberry Pi Zero 2 W, RFID cards, and open-source libraries.

Featured image

Engineers continually find innovative uses for Raspberry Pi hardware, but transforming a decommissioned parking meter into a functional Spotify jukebox demonstrates exceptional creativity. When Reddit user Connect_Use2528 was tasked with painting a retired parking meter baby pink, they saw potential beyond aesthetics. The result: a retro-futuristic music player powered by a Raspberry Pi Zero 2 W that blends physical interaction with modern streaming capabilities.

Hardware Implementation

At the project's core sits the Raspberry Pi Zero 2 W, chosen specifically for its improved processing power over the original Pi Zero. This upgrade proved essential for handling Spotify's streaming requirements and audio decoding. The meter's original coin slot now accepts RFID cards programmed with different functions:

  • Playlist selection cards trigger specific Spotify playlists
  • Control cards adjust volume or pause playback
  • Inserting any card advances to the next track

Physical feedback comes through the meter's original mechanisms, while a miniature OLED display (retrofitted into the former solar panel cavity) shows current track information. The entire system operates without soldering through USB connections, maintaining the Phoniebox project's plug-and-play philosophy that inspired the build.

Software Stack Performance

The software architecture combines several open-source components:

Processing demands required careful optimization. The Pi Zero 2 W's quad-core Cortex-A53 processor (clocked at 1GHz) provides just enough headroom for simultaneous RFID scanning, Spotify API communication, and audio decoding. During testing, the creator noted that playlist switching introduces a 1.2-second latency due to Spotify's API handshake - a limitation of cloud services rather than hardware. Power consumption remains efficient at approximately 2.3W during playback.

Build Considerations

For replicating this project, several factors merit attention:

  1. Processor Selection: The Pi Zero 2 W's 512MB RAM and improved CPU are necessary minimums for Spotify streaming. Basic local MP3 playback could run on lesser hardware.
  2. RFID Optimization: Antenna positioning requires tuning to ensure reliable card reading through the meter's metal housing.
  3. Thermal Management: Continuous operation necessitates passive cooling solutions given the confined enclosure.
  4. Audio Quality: A USB audio interface significantly improves output quality over the Pi's native audio jack.

The creator admitted using Anthropic's Claude for code troubleshooting when integrating disparate systems - highlighting modern development realities where AI assists in hardware integration challenges.

Physical Interface Renaissance

In an era dominated by touchscreens and parking apps, this project celebrates tangible interaction. The satisfying mechanical action of inserting cards provides tactile feedback absent in digital interfaces. As urban infrastructure evolves, such projects preserve historical artifacts while demonstrating Raspberry Pi's capacity for bridging physical and digital worlds. The creator even curated a thematic parking meter playlist on Spotify, offering meta-commentary through music.

This implementation proves that with thoughtful component selection and software optimization, even obsolete municipal hardware can gain new life as entertainment systems. The Raspberry Pi Zero 2 W strikes an ideal balance between processing capability and compact form factor for such embedded applications.

Comments

Loading comments...