Raspberry Pi-based hardware player for DI.FM

Similar projects worth following
Based on the idea of the Plastic Player by Brendan Dawes, I created my version of the hardware player.

It's main purpose is playing DI.FM IceCast streams. You control the player by inserting the slides that have NFC-stickers on them that correspond to the predefined channels.

Built using Raspberry Pi and Arduino. The Arduino controls the small OLED screen, NFC module and the play/pause button. It communicates with Raspberry Pi over USB with serial.Raspberry Pi runs Pi Musicbox and a custom Python program that communicates with Arduino, rotary encoder and the mpc player.

The projects took me around 2-3 months of active evening almost daily and some weekends.Had to do a couple of things
  • 1 × Raspberry Pi 3B+
  • 1 × Arduino Nano
  • 1 × Elechouse PN532
  • 1 × OLED 128x32
  • 2 × Anti-vandal buttons

View all 7 components

Enjoy this project?



Alexander Dvorkovyy wrote 3 days ago point

I like the idea of using physical card to choose which music to play. Must be joy to use. Do not understand why, but I believe it is :)

So, it is essentially a RaspberryPi HAT? Very clever. In this way you do not have to worry about streaming itself and music part, I presume. There is Pi Musicbox which does the job. HAT is only for sensing the card and sending a signal to the Pi Musicbox. Right?

This concept can be used actually for any music service supported on RaspberryPi, not only DI.FM

  Are you sure? yes | no

Gerben wrote 09/24/2019 at 13:47 point

I thought DI stopped icecast streams. Or are you a premium member?

  Are you sure? yes | no

Alex Buznik wrote 09/24/2019 at 14:01 point

Yes, I'm a premium member.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates