A well-kept secret of the ESP32 is its extended audio capabilities because it is hard to use. Luckily, I found a library and a toolset enabling us to easily use these capabilities. We can now connect microphones, loudspeakers, Bluetooth loudspeakers, SD cards, and even browsers to an ESP32 to record and play sound. Very handy for all sorts of projects. And we will build an internet radio with a single line of code in the loop().
I am a proud Patreon of @GreatScott! , @Electronoobs , @EEVblog , and others.
Links:
Phil's Library:
https://github.com/pschatzmann/arduino-audio-toolsPhil's A2DP library (Needed for Bluetooth):
https://github.com/pschatzmann/ESP32-A2DPESP32 board:
https://s.click.aliexpress.com/e/_9fcxidMicrophone:
https://s.click.aliexpress.com/e/_ABXMq1MAX98357A I2S Amplifier:
https://s.click.aliexpress.com/e/_A8FZaHPCM5102 DAC:
https://s.click.aliexpress.com/e/_AdOLAlI2S ADC:
https://s.click.aliexpress.com/e/_9zMQg5ESP32 Audio Kit:
https://s.click.aliexpress.com/e/_DENVBfLPMOD "Soundcard":
https://digilent.com/shop/pmod-i2s2-stereo-audio-input-and-output/Filter Video:
https://youtu.be/D0EUDRo4Mx0I2S Pins:
https://bit.ly/3KAkkmvMy second channel:
https://www.youtube.com/channel/UCQwyP4Yd0-O49e05kMUJgQQThe links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page:
http://www.sensorsiot.orgGitHub:
https://www.github.com/sensorsiotMy Patreon Page:
https://www.patreon.com/AndreasSpiessDiscord:
https://discord.gg/JfgDSa8If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission of your purchases to buy new stuff for the channel
My Amazon.com shop:
https://www.amazon.com/shop/andreasspiessFor Banggood
https://bit.ly/2jAQEf4For AliExpress:
http://bit.ly/2B0yTLLFor Amazon.de:
http://amzn.to/2r0ZCYIFor Amazon UK:
http://amzn.to/2mxBaJfFor ebay.com:
http://ebay.to/2DuYXBphttps://www.facebook.com/profile.php?id=100013947273409https://twitter.com/spiessahttps://www.instructables.com/member/Andreas%20Spiess/Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads