Рет қаралды 12,357
A detailed look at how to play WAV's from SD without using 3rd party libraries for transfer of WAV's to I2S. It should give you enough detail to add this into your own code/wav players.
Project page with demo software available at:
www.xtronical.c...
Affiliate links for the items shown:
ESP32 : amzn.to/3kb02n8
ESP32 - Pack of three : amzn.to/2XfIRqH
I2S Decoder : MAX98357A : amzn.to/3fkHEnU
SD Card Reader : amzn.to/2Q9Fb5V
3W Speaker : amzn.to/2XeRP7i
Breadboards : amzn.to/30fWibZ
Wires : amzn.to/3k4PKoC
Pins and sockets : amzn.to/39O7a3K (I2S board doesn't come with them)
Time Codes
Intro - 00:37
Circuit Diagram - 01:41
Demo 1 Code (does not work) - 03:48
Demo 2 Code (works but will slow your main code) - 09:27
Demo 3 (best) Flow Chart - 14:24
Demo 3 (best!) Code - 17:16
Epilogue - 19:29
For other projects and ideas see :
Web : www.xtronical.com
If you'd like to support me via Patreon then the link is below and that would be just amazing. Patreons have access to all videos early plus can view all the posts on Patreon. There are other rewards if you're interested. If you just want to watch videos then that's also fantastic because without people viewing I wouldn't even do half of what I do. So thanks very much :)
Patreon at : / xtronical
If you don't like Patreon and would like to say thank you in other ways then there's also:
Kofi (Coffee) if you want to tip me for a brew! : ko-fi.com/xtro...
Also if you go to my website www.xtronical.com you will a part on every page to make a direct one off donation to my paypal.
Credits
Intro/Outro Music by Creo Music : www.creo-music.com
Some sounds from Freesound.org
Some images from OpenClipart-Vectors from Pixabay