MP3 Player for Pleasant Music in a Guest Restroom
The device and the two speakers are installed in a small vanity unit in the guest restroom. Since there is no mains socket in the cabinet, the MP3 player is powered by two Li-Ion batteries of type 18650. If a person is detected, the device plays tracks from the SD card. The sleep mode of the device has been optimised for low current consumption. Recharging is only required after 8 to 9 weeks.
BUT
- It would be far too simple.
- It wouldn't be handmade.
- And who wants a microphone in a room like that?
The dataset contains, amongst others, a detailed description of the device with supporting illustrations (see PDF).
The batteries are recharged as needed via a charging controller that is powered by an external power supply.
- Microprocessor control
- Audio module
- Charging controller
- Power supply.
When the PIR proximity sensor detects a person, the supply voltage for the MP3 player is switched on.
The player can manage thousands of tracks stored on its SD card.
After level adjustment, the two stereo signals are amplified by constant 24 dB via the PAM8406D Class D amplifier. The amplifier is combined with a LP output filter to minimise radio interference emitted via the loudspeaker cables.
The device control and the audio module are inactive.
Active / Sleep Sequence
The MP3 player is supplied with power, boots up, and begins playing music (new track from the playlist).
15 seconds and current track has ended), the output of the D flip-flop is reset via the SLEEP signal.
The MP3 player returns to sleep mode.
Design Configuration
To protect the components, e.g., when operating the rotary pushbutton or any of the toggle switches, only an acrylic plate was mounted.
More information can be taken from the attached device description.
Build This Project
Bring this design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Updates from the author