Hi,
I'm used to spend time finding useful information in the forum...My turn to share a project I have in mind for a long time
Since we love hearing music in the family, my little daughter wanted to have her own music player...so the question was how to use our music collection and not buy a cd player or whatever, and it has to be a device without screen...So here is the project :
![Name: 20201214_223724.jpg
Views: 194
Size: 230.3 KB]()
Hardware
Raspberry pi 3
RPI HiFi AMP HAT TAS5713 Amplifier Audio Module 25W Class-D
Rotary encoder
Stateless Push button switchs
RFID Card Reader CRFM-522 RC522
RFID Cards
2 8ohms speakers
Software
LMS 7.9.1 - 1504317335 on DSM 6.2.3-25426 Update 2
piCorePlayer 6.1.0
LMSTools port to python3
Pi-rc522python library
The way to use it has to be very simple :
Rfid card to start the wanted song or playlist
2 push buttons for skiping track or going backward
1 rotary encoder switch for volume and play / pause
I wrote 2 python scripts :
One to add new rfid cards and the corresponding playlist name. Everything is stored in a simple txt file
A 2nd one wich is a loop wich is waiting for a rfid card and read the id and start the song/ playlist
The playlists have been created in LMS
Improvements :
Create a web page to manage playlists et RFID cards
Being newbie with Python, I guess it is not a "state of the art" work but it does the job, your recommendations are welcome :)
Thanks to developers who made my life simpler (LMSTools, Pi-RC522, PCP, LMS, etc ) !
Other photos :
![Name: 20201214_215100.jpg
Views: 170
Size: 244.6 KB]()
![Name: 20201214_223655.jpg
Views: 165
Size: 225.7 KB]()
Hope you enjoy :)
I'm used to spend time finding useful information in the forum...My turn to share a project I have in mind for a long time
Since we love hearing music in the family, my little daughter wanted to have her own music player...so the question was how to use our music collection and not buy a cd player or whatever, and it has to be a device without screen...So here is the project :
Hardware
Raspberry pi 3
RPI HiFi AMP HAT TAS5713 Amplifier Audio Module 25W Class-D
Rotary encoder
Stateless Push button switchs
RFID Card Reader CRFM-522 RC522
RFID Cards
2 8ohms speakers
Software
LMS 7.9.1 - 1504317335 on DSM 6.2.3-25426 Update 2
piCorePlayer 6.1.0
LMSTools port to python3
Pi-rc522python library
The way to use it has to be very simple :
Rfid card to start the wanted song or playlist
2 push buttons for skiping track or going backward
1 rotary encoder switch for volume and play / pause
I wrote 2 python scripts :
One to add new rfid cards and the corresponding playlist name. Everything is stored in a simple txt file
A 2nd one wich is a loop wich is waiting for a rfid card and read the id and start the song/ playlist
The playlists have been created in LMS
Improvements :
Create a web page to manage playlists et RFID cards
Being newbie with Python, I guess it is not a "state of the art" work but it does the job, your recommendations are welcome :)
Thanks to developers who made my life simpler (LMSTools, Pi-RC522, PCP, LMS, etc ) !
Other photos :
Hope you enjoy :)