25 lines
669 B
Markdown
25 lines
669 B
Markdown
|
|
# A Simple SdFat Audio Player
|
||
|
|
|
||
|
|
The example demonstrates how to implement an __MP3 Player__: which provides the data from a SD drive and provides the audio via a Webserver!
|
||
|
|
|
||
|
|
## SD Card
|
||
|
|
|
||
|
|
Here is the information how to wire the SD card to the ESP32
|
||
|
|
|
||
|
|
| SD | ESP32
|
||
|
|
|-------|-----------------------
|
||
|
|
| CS | VSPI-CS0 (GPIO 05)
|
||
|
|
| SCK | VSPI-CLK (GPIO 18)
|
||
|
|
| MOSI | VSPI-MOSI (GPIO 23)
|
||
|
|
| MISO | VSPI-MISO (GPIO 19)
|
||
|
|
| VCC | VIN (5V)
|
||
|
|
| GND | GND
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
|
||
|
|
## Dependencies
|
||
|
|
|
||
|
|
- https://github.com/pschatzmann/arduino-audio-tools
|
||
|
|
- https://github.com/pschatzmann/TinyHttp.git
|
||
|
|
- Arduino SD library
|