🎶 Vinyl Record Player is a just-for-fun project I made to play music using RFID tags on my Google Home device. The idea is to simulate a record player; don't take it too seriously.
I'm using a Raspberry Pi 3 B.
- The music catalog is defined on
config.toml
file. See config.toml.example for an example. - When someone places an RFID tag on the reader, the music will play on the Google Home device.
Use the command python discovery.py
to find your device information.
This is what I'm using. Use whatever you want.
https://www.youtube.com/watch?v=OBsPoJM-FHk
Install dependencies:
pip install -r requirements.txt
Then:
python main.py my-config.toml
Create a service on /etc/systemd/system/
. For example:
# cat /etc/systemd/system/vinyl.service
[Unit]
Description=Vinyl Player Service
After=network.target # Wait for the network to be available
[Service]
User=eduardostuart
WorkingDirectory=/home/eduardostuart/vinyl-record-player/
ExecStart=/usr/bin/python main.py config.toml
Restart=always
[Install]
WantedBy=multi-user.target
Then enable & start the service using:
sudo systemctl enable vinyl.service # enable
sudo systemctl start vinyl.service # start
sudo systemctl status vinyl.service # check if the service is running
sudo systemctl daemon-reload
- add a button to pause/play the music
- add a motor to simulate the vinyl record rotation
- 3d printed vinyl player
If you want to have your own fake vinyl, I created a super simple "vinyl" builder. You can find the app here. I'm basically printing and using an A4 laminator. (yes, a 3d printed one would look way nicer, but I don't have a 3d printer)
There are a lot of projects out there that are similar to this. The main difference is that I use YouTube Music instead of Spotify and a Google Home device.
Inspiration list
References list
Vinyl Record Player is licensed under the MIT license. See LICENSE for more information.
Image created using DALL-E OpenAI.