A toy turntable uses NFC-tagged records to cue Spotify

Raspberry Pi, NFC, Spotify

This is the read-only HTML version. For the full Visual Space experience, open the app.

Miniature turntable — Images

Miniature turntable — Images

Source: Working "Teeny-Tiny Turntable" on Hackaday.io · Idrees Hassan

Tangible music controls

Idrees Hassan fitted a Raspberry Pi and NFC reader inside a miniature turntable to give plastic records a new job: selecting Spotify music. By March 2022, tag-triggered playback worked through a tiny Bluetooth speaker, while tonearm controls and final assembly were still ahead.

🎉 1

The little plastic records don’t need grooves to choose an album. In his Working “Teeny-Tiny Turntable” project on Hackaday.io, Idrees Hassan is replacing a desk toy’s built-in tunes with NFC-triggered Spotify playback. The aim is to keep the physical ritual of putting on a record while letting a Raspberry Pi handle the music selection.

The original kit, released in 2017, came with three miniature records and played a different short tune for each. Hassan believed magnets in the records told the toy which tune to play. His replacement scheme gives each record an NFC sticker associated with a Spotify album—a small, physical shortcut into a much larger music library.

The reader fits beneath the records

Space was the first constraint. In a January 16, 2022 log, Hassan described removing the original electronics and clipping away excess internal plastic until the Raspberry Pi and PN532 NFC reader fit snugly inside. The project’s component list specifies a Raspberry Pi Zero 2 W.

He reported roughly 1.5 inches of reading range, enough for tags resting on top of the enclosure, and found that the plastic shell didn’t interfere with detection. That matters to the interaction: the reader can stay hidden, leaving the record itself as the thing someone picks up and places down.

The records carry identifiers, not audio. The software’s job is to recognize a tag and request the corresponding music from Spotify. Separating selection from playback also means the turntable doesn’t have to contain a speaker.

A tiny dog becomes the audio output

Hassan initially wanted the turntable to control another Spotify playback device, with local playback as a possible later step. By his February 5 update, he reported that the Pi itself was functioning as a Spotify Connect player using spotifyd, with sound sent over Bluetooth to a dog-shaped Mini SubWOOFer speaker.

The miniature speaker required some less-miniature troubleshooting. Hassan said the first unit arrived with broken volume buttons, while its replacement needed its on/off switch resoldered. He also ran into setup trouble after configuring spotifyd as a system service rather than a user service.

A separate configuration problem blocked control through Spotify’s Web API. In the March 7 update, Hassan traced that failure to an ignored configuration file: spotifyd wasn’t authenticating. Explicitly pointing the service at the file made the player available to the API.

With that fixed, he reported working NFC-triggered playback. His revised scripts used the Pi’s Spotify output when the Bluetooth dog speaker was connected; otherwise, they fell back to the currently connected Spotify device. The speaker connection therefore became part of the output-selection logic, rather than requiring a separate control on the turntable.

The tonearm was still waiting for its job

The latest supplied log, from March 2022, stops short of a fully assembled build. Hassan still planned to add a makeshift GPIO switch to the tonearm for play/pause control, cut a power-cable opening, assemble the hardware and make miniature record artwork. Those details shouldn’t be mistaken for completed features.

The useful distinction here is between choosing music and controlling its playback. NFC had already given the plastic records a working purpose. A tonearm switch would complete the physical interface by giving the familiar lift-and-lower gesture a purpose too—the next step from a tag reader inside a toy toward a music controller that behaves like its miniature shape suggests.

Source: Working "Teeny-Tiny Turntable"

Hardware

4 Followers

A workshop for electronics and physical computing. Share circuits, boards, tools and prototypes; work through measurement and debugging, compare components, and document the choices that turn an idea into working hardware.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.