This modern day record player lets you wave an album cover ontop of the wooden box, and automatically starts playing the album!!
The record player uses Radio-frequency identification (RFID), the same technology in your credit card when you tap to pay, and in access cards you scan to enter restricted buildings. This technology usually involves RFID chips such as in your credit card, and an RFID scanner such as a debit machine that can read the values of the card when it is tapped and perform an action accordingly.
In this project, the RFID scanner module is mounted inside the wooden box, and the vinyls all have an RFID sticker that can be tapped on the box to switch the album. Inside the box, the RFID scanner is wired to a Raspberry Pi, which is running a python program that switches the song based on the value it reads from the RFID scanner. Depending on the RFID sticker value, the corresponding album is played through the Spotify API.
I wrote a very detailed blog post with all the steps you need here: https://talaexe.com/moderndayrecordplayer
You can also watch the YouTube video here if you prefer. https://www.youtube.com/watch?v=-jGWjFR936o
I get a small commission if you use the links below to purchase the items for this project <3
- RFID RC522 Module with Soldered on Header Pins πΊπΈ USA π¨π¦ Canada
- RFID Stickers (13.56MHz) πΊπΈ USA π¨π¦ Canada
- Raspberry Pi 4 πΊπΈ USA π¨π¦ Canada
- Raspberry Pi 4 Power Supply πΊπΈ USA π¨π¦ Canada
- Female to Female Dupont Jumper Wires πΊπΈ USA π¨π¦ Canada
- Speakers
Detailed steps can be found in my blog: https://talaexe.com/moderndayrecordplayer
Blog Table of Contents
π Bill of Materials
π RFID Scanning
- Wiring the RFID Scanner to the Rapsberry Pi
- Setting up the Raspberry Pi
- Using Python to Read RFID Sticker Values
π Spotify Integration
- Making the Raspberry Pi a Spotify Connect Device
- Spotify API Setup
- Using Python to Control Spotify
π Combining the Spotify API and RFID Reader
- Code to control Spotify API using RFID Values
- Executing the Script on Startup of the Raspberry Pi
π Finishing Touches