DIY MP3 player for kids.
- Press "eye" button: Increase/decrease volume
- Press and hole "eye": rewind / fast forward (the longer you hole, the more you rewind / fast forward)
- Press both "eyes": Start MP3 from beginning
- If no MP3 is found for RFID Tag, a empty file is added to the SD card to help you with the naming.
- If you forget to turn off, a sound will appear from time to time.
I process all my MP3 with https://auphonic.com/ to ensure a consistent noice level.
Part | ~Price | Sample Supplier |
---|---|---|
1 x ESP32 LyraT V4.3 | 18,00€ | mouser |
1 x LiPo Akku 3,7V 2500mAh (JST-PHR-2 Connector) | 8,94€ | Eckstein |
1 x JST-PH 2,0mm (20 Paare) 2 Pin | 4,19€ | Eckstein |
2 x Lautsprecher 4 Ohms, 3 W | 8,14€ | mouser |
1 x MicroSD Card 16 GB | 12,19€ | mouser |
2 x Pushbutton switch Off (On) | 11,60€ | mouser |
1 x male-female jumper wires (10 pieces) | 4,43€ | mouser |
1 x On/Off switch | ||
1 x Fuse | ||
1 x Fuse holder | ||
1 x RFID/NFC reader RC522 I2C v1.1 | 6,08€ | AliExpress |
1 x RFID/NFC Tags (10 pieces) | 4,95€ | ebay |
You likely find better prices. I tried to keep the number of suppliers low.
WARNING The polarity of the battery connector does not match the polarity on the board! I had to pull out the socket on the board and turn it 180°.
Requires Python 2.7 (we use https://github.com/pyenv/pyenv) Requires ESP ADF v2.0
/bin/bash
export ADF_PATH=$HOME/esp/esp-adf
. $HOME/esp/esp-adf/esp-idf/export.sh
Press and hold button, press button and release button.
make flash monitor -j5
Inside ~/esp/esp-adf
:
git fetch
git checkout v2.0
git submodule update --init --recursive