After many years of traveling and enjoying good sleep—even with jet lag—thanks to the aXbo, an Austrian sleep phase alarm clock, I wanted to enhance my aXbo by using my own preferred MP3 music as an alarm sound.
Note: aXbo detects when you're in a light sleep phase and wakes you up at the optimal time. This product has been one of the most important tools in my life. I don't know how I would have managed waking up in good condition in different countries around the world (e.g. after 24h travel) without my aXbo.
This project utilizes the ArduinoSerialMP3Player library by Salvador Rueda.
- Detecting sound output: The system monitors the aXbo's speaker output via analog input
A0
to detect when the wake-up music starts playing. - Playing MP3 files: An external MP3 board receives a command to play music through a mini speaker.
- User interaction: The music repeats until the user presses a button connected to
D2
. - Optional shutter control: A HTTP request can be sent to FHEM to automatically open the shutters.
- MP3 board (configured accordingly)
- Optocoupler & switch for signal detection
- ESP8266 for control and communication
- Serial connection to the MP3 board
- MicroSD card with MP3 file named
001.mp3
- Case & mini speaker for output
- PlatformIO with Visual Studio Code for development, flashing and serial debugging
- Flash the ESP8266 with the appropriate firmware.
- Place the MP3 file (
001.mp3
) on the microSD card. - Connect the hardware components as per the schematic.
- Deploy the device near the aXbo speaker.
- Enjoy waking up to your preferred music!
- This project makes use of PlatformIO, Visual Studio Code, NodeMCU, ArduinoSerialMP3Player, FHEM, and other tools. Refer to their respective licenses for compliance.
- Ensure compliance with data protection regulations, especially when handling personal or sensitive information.
- The authors provide no warranty and assume no liability for any issues arising from the use of this tool.