I love that you don't just cover one topic in each video and make a "series". Instead you give us a comprehensive guide end to end. Thank you!
@AndreasSpiess2 жыл бұрын
Thank you for your feedback. Sometimes not easy in 15 or less minutes ;-)
@iot_cdp2 жыл бұрын
I second to that 👍🏻
@mahudson35472 жыл бұрын
Ah, a library that is properly documented. How Swiss!
@AndreasSpiess2 жыл бұрын
I agree. Its documentation is good. And I think also the examples. It helps a lot for the beginning...
@atomic142 жыл бұрын
I've used Phil's library for a few projects - it's really good work and removes a lot of the complexity of I2S.
@AndreasSpiess2 жыл бұрын
Thank you for your feedback! I am also a subscriber of your channel ;-)
@atomic142 жыл бұрын
@@AndreasSpiess You've no idea how happy that makes me. I feel like I have won the internet :)
@PhG19612 жыл бұрын
This is really getting a Swiss channel... an accent, a library... What a great video and really usefull !
@AndreasSpiess2 жыл бұрын
You are right! This was truly by chance. There is not a lot of ESP32 audio content around...
@tedsaylor60162 жыл бұрын
I have been wanting to build a "Arduino based" MP3 player for awhile, but didn't see the tools necessary. This video is exactly what I needed. Thank You, Andreas.
@AndreasSpiess2 жыл бұрын
You are welcome!
@georgeyao4362 жыл бұрын
Wow, sound using I2S has now been demystified. Great work. Creating comprehensive single source of documented and working solutions for audio through internet is great time saver. I use to have to scour the internet and look for information that a lot of times did not work properly or was difficult to adapt to my projects due to code complexity, bugs and undocumented functions. Thanks for spending the time and money so others don't have to.
@AndreasSpiess2 жыл бұрын
You are welcome! All the work was done by Phil!
@RWB1232 жыл бұрын
I'm using this library for streaming i2s audio from a FM Radio chip to Bluetooth Speakers 🔊 but sometimes it will freeze up as Andrea experienced, at least when I was testing 6 months ago. I also use this library to stream Internet radio to Bluetooth speakers 🔊 or to a I2S amplifier which works well. Love to see more people get involved and keep improving the library.
@AndreasSpiess2 жыл бұрын
Cool projects! Let's hope the A2DP issue can be resolved. Maybe you can provide more debugging info to Phil?
@NathanSweet Жыл бұрын
Kudos for explaining master clock on the ESP32, and doing it well.
@AndreasSpiess Жыл бұрын
You are welcome!
@ed.puckett2 жыл бұрын
I always enjoy receiving a new episode from your channel. I just have to remind myself: sit down and pay attention! Thank you for such an information-rich source!!
@AndreasSpiess2 жыл бұрын
That is the right attitude! Then you do not need to ask questions about things which were presented in the video ;-)
@zolan42772 жыл бұрын
I noticed that lately I keep hitting videos with this specific guy with a Swiss accent. After the 5th video I decided, "Well... I guess this guy with a Swiss accent has earned a subscription..." :D Thank you for all of the work you do!
@AndreasSpiess2 жыл бұрын
Welcome aboard the channel!
@hi-ccowboy798311 ай бұрын
For those who were confused like I was, streams-generator-csv has been renamed streams-generator-serial.
@AndreasSpiess11 ай бұрын
Thank you for the info!
@str0g2 жыл бұрын
Thank you Andreas, send Phil my gratitude
@AndreasSpiess2 жыл бұрын
You are welcome! I hope he reads these comments, too
@johnwest79932 жыл бұрын
You are covering exactly what I am working on this weekend. Thanks!
@AndreasSpiess2 жыл бұрын
Excellent! Hopefully you get along a little faster.
@cheesedoff-with44102 жыл бұрын
Thank you for bringing Phil's library to my attention at least. You''ve opened up some possibilities for a lot of projects. (One thing, at 9:40 I couldn't get Frankie Laine singing Ghost Riders in the Sky out of my head.)
@AndreasSpiess2 жыл бұрын
Unfortunately, I do not understand your reference to Ghost Riders :-(
@koeiekop19732 жыл бұрын
Amazing as usual, I gave up on connecting the tiny microphone, but with this library you make it work!! Thanks again for your amazing way of presenting just what we need:)
@AndreasSpiess2 жыл бұрын
I hope you will be successful!
@maximus68842 жыл бұрын
Lovely! great efforts! thank you everyone from swissterland!
@AndreasSpiess2 жыл бұрын
:-)
@avejst2 жыл бұрын
Impressive find 👍 Great walkthrough of the process as always 👍😀 Thanks for sharing your experience with all of us 👍😀
@AndreasSpiess2 жыл бұрын
You are welcome! I am glad this video solves many problems!
@yekutielbenheshel3542 жыл бұрын
Yeah! Another ESP32 video! Thanks for creating it. Recording and playing sound is a very useful topic.
@AndreasSpiess2 жыл бұрын
Many viewers agree that this is a useful library!
@christosmoutevelis48962 жыл бұрын
Classic Andreas , Informative and comprehensive , easy to follow . Thank you !
@AndreasSpiess2 жыл бұрын
You are welcome!
@canhobby62862 жыл бұрын
Many "dankkes" to our Swiss friends, Herren Speiss und Schatzmann for introducing us to the audio-tools library - quite amazing and a most excellent use of "streams". Typical Swiss product - very high precision... If you dig into Phil's project there are many discoveries to be made. The project I was working on is a musical tannenbaum.. It took me no time to implement Phil's "player" with a LCD2004 display showing the metadata... Being an ESP32, of course, adding a time display is a cinch. Now to dig for another output stream to make the lights on the tree dance... could it be that I get to write a custom stream? sounds like a fun challenge. Keep up the good work, Andreas - I always sit in the front row...😀
@AndreasSpiess2 жыл бұрын
Good luck with your project! Still some time till Christmas.
@ImnotChuck.2 жыл бұрын
A video jam-packed with information and ideas! Thanks.
@AndreasSpiess2 жыл бұрын
Glad you enjoyed it!
@sundwitzi92252 жыл бұрын
Really a great project. Thanks for honestly sharing your experiences with all the wrong details a beginner makes. So we all can learn from it.
@AndreasSpiess2 жыл бұрын
Glad it was helpful!
@pete38972 жыл бұрын
Looking forward to that video on applying audio filters with this library on esp32! I have a need to hpf audio at about 150hz...
@AndreasSpiess2 жыл бұрын
That should be possible... Not decided how I will cover the topic.
@cashgarman2 жыл бұрын
Literally all the information I was looking for for 2 different projects in 1 great video. Thanks :)
@AndreasSpiess2 жыл бұрын
You are welcome!
@AndreasSpiess2 жыл бұрын
I just saw your Super Thanks on my PC (it is not displayed on the IPad). Thank you for your support!
@H3wastooshort2 жыл бұрын
imo the ESP32s integrated dac is pretty ok especially for simple audio notifications on your projects
@AndreasSpiess2 жыл бұрын
Agreed. We also want to use it for a radio project where bandwidth is limited to 2.5kHz. But for "real" audio it is not good enough
@gregorymccoy67972 жыл бұрын
Amazing content density. Thanks! I am going to try this out this week. I wish I had viewed the video the day it came out... So very busy 😑
@AndreasSpiess2 жыл бұрын
We are all busy. No problem ;-)
@patrickweggler2 жыл бұрын
If combined with the esp32-cam and a sip library the next step would be a ESP32 Video Doorbell😁
@JonnyWaldes2 жыл бұрын
I thought of the esp32cam too due to integrated SD card reader!
@AndreasSpiess2 жыл бұрын
Just do it (and document it ;-)
@GrzegorzMałetka-s6g Жыл бұрын
Share it pls
@knightautomationservices2 жыл бұрын
Simply Beautiful! Love your work ! Audio was a very big problem for me in my projects but you showed me such a great way to tackle that. Thank you !
@AndreasSpiess2 жыл бұрын
Glad I could help!
@DavidJashi2 жыл бұрын
3:05 "Each device can act as a master or... whatever name you prefer" got me in stitches.
@AndreasSpiess2 жыл бұрын
:-)
@lmamakos2 жыл бұрын
I would really like to use a capability like this with Home Assistant to build small devices that I could use to play audio announcements, alerting tones, etc. and maybe also use them for music playback as a flexible media_player type device. More projects to investigate! Thanks for the introduction to this capability that I wasn't previously aware of!
@AndreasSpiess2 жыл бұрын
Either using a webserver or an SD card as a source should enable all these projects.
@YandiBanyu2 жыл бұрын
THANK YOU SO MUCH ANDREAS! This gives me a lot of idea to play with radio and internet hehehe
@AndreasSpiess2 жыл бұрын
Cool. That is very good.
@SeanChYT2 жыл бұрын
Very interesting. Is the ESP32 fast enough to decode AAC LC and HE-AAC now in software? I have seen other ESP32 radio projects that rely on the VS1053B decoder board to do the AAC decoding. It would be a very neat solution to be able to avoid having extra decoder boards in a small internet radio box.
@RWB1232 жыл бұрын
Yes it will decode ACC and MP3 streams of like up to 320kbs without any problems from my testing. No need for external decoders
@PeranMe2 жыл бұрын
Great stuff as always Andreas! Thanks a lot for this!
@AndreasSpiess2 жыл бұрын
You are welcome!
@PaulGrayUK2 жыл бұрын
Great find, it's a skill finding the solution, sometimes you create it - often you reinvent a wheel already out there and you find that wheel, so thank you. Now need to get some ESP32's (already planned), been playing with pico's and the ESP32's predecessor and been fun. But the built-in wifi and Bluetooth on the ESP32, sure does offset the PICO's lovely PIO interface perks and performance. One question - what is a good external ADC at a good price balance for resolution? Also looking at ADC's with multiple channels - they seem to poll one channel at a time. What I want to do is poll 4 ADC ports in sync so that the value I get from all 4 is the exact (close as beyond clock jitter that I want as low as possible) time. What I want to do is read 4 piezo elements (cheap mic's if you like) located around a hard surface like a blackboard and from that, hopefully, work out where contact is made to the surface. Turning any hard surface into a touch interface. Now the ideal plan is to be able to read accurate enough in sync so that I can get a good accuracy of the surface noise location and be able to write upon the board and get a digital representation of that via the sound location of the 4 piezo elements. With that, a cheap and simple device that could digitise any blackboard work. So any suggestions, or pointers and insights etc, would be extremely well received. Thank you in advance.
@AndreasSpiess2 жыл бұрын
I made a video about external and internal ADCs. Parallel is always hard. But maybe you do not need parallel, just only s small difference.
@ronnetgrazer3622 жыл бұрын
Been working on that myself a few years back, wanted to run it on an arduino for a drum synth input that takes drum surface polar coordinates into account. Life got in the way, but if I were to revisit that idea (some day!) I'd use separate controllers on a common clock to handle all the peak sensing and compare timestamps a few millis later. Might just cut it without lagging too much. I just realized how much faster the signal would move through a solid, so instead of timestamps you'd be comparing levels, of course. The system would need calibration anyway. To cut costs, 3 sensors inputs could be used instead of 4, if accuracy and sensitivity are high enough.
@PaulGrayUK2 жыл бұрын
@@ronnetgrazer362 Yip, clock sync is golden for this - cool idea for drums and be funky to see an overhead display of the drummers' actions from another perspective. Hopefully, motivating you into rekindling that project, I know what it is like, many things on the go and flip between them depending upon time, mode and resources.
@ronnetgrazer3622 жыл бұрын
@@PaulGrayUK Exactly, there's always another interesting project fighting for attention! I made a million edits to the previous comment btw, sorry for that. And i just now realized that sufficient precision would allow you to fit all 3(?) sensors in the middle of the sensing surface, spaced apart just enough to fit the main PCB in between. Don't know if you figured 4 corners means one sensor on each of them like I did mere seconds ago, but I don't see why you couldn't sense outside of the array as long as specs allow for it.
@PaulGrayUK2 жыл бұрын
@@ronnetgrazer362 I was looking at 4 sensors around the outside, so any sound which will be in contact with the surface would have a delay difference for each sensor and with that, want them far apart around the outside and for my objective - 4 should be 1 more than enough and 1 more for a level of accuracy. But need to play and see if 4 is the sweet spot or 5 or 3. What the offset in costs and more so accuracy and see how those plots out. Drums bit more complicated. Don't want to add anything that will change the sound of the drum. So maybe a laser mic would be the way for those and can have under the drum tracking from the underside - how many I'd start with 3, should cover the main area drummers like to play upon the skin (can look at used drum skins to get good idea or area you are targeting to cover). It May work, may not, but be fun to play with as everybody loves lasers. :) However - like any well-formed plan, there will be exceptions - and drummers doing a rimshot would be one that would prove to fall into that path of exceptions. But may also be detectable by the pattern it plays out upon the laser mic array. One of those, try and see.
@iwbnwif Жыл бұрын
Thank you! That has really helped as I bought one of the I2S capture cards some time ago and struggled to get it to do anything except generate noise. It works perfectly with the library you recommend :)
@AndreasSpiess Жыл бұрын
Glad it helped!
@AragonDubs Жыл бұрын
What a wonderful guy! Its a pleasure for my mind, all your contents. Many thanks Andreas, 73
@AndreasSpiess Жыл бұрын
You are welcome! 73
@WooShell2 жыл бұрын
wow, thanks for this video - this library was just what I was looking for. I wanted to make an mp3 receiver with an ESP and was afraid I would have to do all the i2s stuff by hand.. but this makes it really easy.
@AndreasSpiess2 жыл бұрын
Glad I could help!
@emmoemminghaus64552 жыл бұрын
@Andreas Thanks for pointing to this library... now i can remove Basic i2s Audio from my projectlist... and give my attention to voice recognithion,
@AndreasSpiess2 жыл бұрын
Hopefully you will be successful!
@peter.stimpel2 жыл бұрын
Nice topic, so thanks for all the insights, Andreas.
@AndreasSpiess2 жыл бұрын
Glad you enjoyed it! I also see some interesting projects...
@lumsdot2 жыл бұрын
Internet radio on the Esp32 is amazing. check out the Adafruit i2s stereo decoder board, connected to a hifi amp, you get great sound quality. makes you relaize how bad DAB is
@AndreasSpiess2 жыл бұрын
These I2S decoders seem to have a decent quality, especially for the price...
@McTroyd2 жыл бұрын
Would be interesting to see the impact of this continuous streaming on power draw. I always thought it would be cool to build an Internet Radio for Pandora, and I suspect the ESP32 would be easier on batteries than, say, a Pi Zero W.
@AndreasSpiess2 жыл бұрын
I did not check. WiFi anyway is not ideal with batteries.
@KittFanNr12 жыл бұрын
Thank you for this video! I have currently a problem on an esp32 audio project and this can maybe fix this. Will try it out. Great timing! 🥳🎉
@AndreasSpiess2 жыл бұрын
I hope you will succeed!
@catcam2 жыл бұрын
Many thanks for nice, useful and calming content in this difficult times. Best regards Niksa.
@AndreasSpiess2 жыл бұрын
You are welcome!
@ulrichbuehler96023 күн бұрын
Thanks for the Video, I searching a possibility for 2 way intercom (Microphone and a small Speaker) with Wi-Fi (or Lan) over ESP32? I want to add this add to an Video Stream and use it over a browser. Have you any Idea how to set this up?
@AndreasSpiess19 күн бұрын
Not many such projects are available. So maybe you have to program it yourself.
@edivollgas7192 жыл бұрын
As always watching your video and ideas are creeping, which will cost me some time .... Could it handle streaming webradio from internet and send it to a bluetooth speaker ? Resources Bottlenecks ? Thanks for the allied swiss enabling.
@AndreasSpiess2 жыл бұрын
AFAIK Wi-Fi and Bluetooth are exclusive or on one ESP chip (they use the same radio)
@philschatzmann52812 жыл бұрын
Unfortunately the ESP32 does not support Bluetooth and WIFI at the same time.
@edivollgas7192 жыл бұрын
ah guessed it..... so its a two-esp solution with i2s in between or esp with audio out as shown ....
@hesspet2 жыл бұрын
Mist, jetzt muss ich schon wieder ein neues Gitarreneffektgerät bauen. Danke für die Infos. Hast Du schon Erfahrungen zwischen der Latenz Input und Output? Also ADC -> I2S -> ESP.Copy -> I2S -> DAC.
@AndreasSpiess2 жыл бұрын
Nein, ich habe keine Latenzmessung gemacht. Schau mal in die "Maximilian" Beispiele rein. Das ist ein Audioprojekt mit vielen vorgefertigten Effekten...
@hesspet2 жыл бұрын
@@AndreasSpiess Tnx! Ich habe jetzt erstmal so ein komplettes Audio Board bestellt. Eine guter Punkt um mal ohne viel Aufwand rumzutesteten.
@SA-oj3bo2 жыл бұрын
Interesting! Is the ESP32 + I2S microphone able to recognize some voice commands? Should ESP32 use TensorflowLite to do that? Is ESP32 powerfull enough for this task? Thx.
@AndreasSpiess2 жыл бұрын
You can try Tensorflow. Maybe you find a project. I am not a big fan...
@SA-oj3bo2 жыл бұрын
@@AndreasSpiess I would like to count accuratly how many times a day my neighbour his dog barks because nobody believes me when I say it must be hundreds of times ... anybody who can do that with ESP32 or RP please let me now....payed project :-)
@miketony20692 жыл бұрын
I've struggled on and off trying to understand audio recording and play back on the esp32. Cobbling together examples and trying to decipher the I2S docs. Tha k yiu doe highlighting this. I still want to understand it at a low level, at least now there's a library that works which I can look at.
@AndreasSpiess2 жыл бұрын
I agree. Having a working example helps a lot in many cases...
@notofinterest2 жыл бұрын
Radio Swiss Jazz ❤️. Best Station ever… tnx for using this as webradio sample.
@AndreasSpiess2 жыл бұрын
This was Phil's idea! Also Swiss-Pop is quite cool. Maybe only for elder people like me ;-)
@christofrieger20682 жыл бұрын
Hi Andreas, wenn er das mit dem Bluetooth noch hin bekommt, hat er das Schweitzer Taschenmesser neu definiert. Das mit dem Bluetooth in zu Audio Out ist dass was ich auf Arduino brauche.
@AndreasSpiess2 жыл бұрын
Das läuft in anderen Kombinationen. Schau einfach ab-und zu in seine libraries und die issues. Ich warte auch drauf, denn dann kann man sich den Ausgangsverstärker und die Buchse sparen...
@sevensolutions772 жыл бұрын
Perfect, many many thanks... Yesterday i played around with this Ai Thinker board but didnt had any luck because i was unable to get the esp-adf to work. I will try it with this library.
@AndreasSpiess2 жыл бұрын
Use the respective examples of the library!
@sevensolutions772 жыл бұрын
@@AndreasSpiess Yep, they are working perfectly fine 👍
@DNPaterson2 жыл бұрын
Thank you for this. I've been trying to finish a project using other available ESP32/ESP8266 audio libraries but run into problems with reliability or getting the functionality I want. Hopefully this library will help me to finally get it working.
@AndreasSpiess2 жыл бұрын
I hope, too!
@batica812 жыл бұрын
Amazing video! And I loved the Master/whatever reference :) Do you think it would be possible do use an ADC module with i2s, si5351 oscilator, mixer chip like ne602 and an ESP32 to build a SDR receiver only with modules?
@AndreasSpiess2 жыл бұрын
I will cover SDR stuff on my second channel. And this video is the preparation for digital filters which are needed there...
@useyourbrain20222 жыл бұрын
Thanks, Andreas very well explained as always, we want more 😁
@AndreasSpiess2 жыл бұрын
:-) We will see...
@itsjustchris852 жыл бұрын
This is really useful. I have been putting off making a smart mp3 player play sleep music at night (along with controlling some ambient lights and switching the bedroom fan on/off). I have purchased a UDA1334A I2S Stereo DAC breakout a while back and tested it tonight as you suggested and it works perfectly! Thank you. I do wish however I was able to figure out how to start the mp3 stream via an MQTT command! If you have any suggestions about this, I would gladly hear them!
@AndreasSpiess2 жыл бұрын
Maybe you open an Issue on Phil's GitHub. I am sure you are not the only with this question...
@AzaB2C2 жыл бұрын
Very cool! Wonder minimal sized phased array needed to integrate with multicast udp over ku and ka microwave downlink. Could be useful...
@AndreasSpiess2 жыл бұрын
I do not understand your comment :-(
@arturzyx2 жыл бұрын
Wow! It sounds great! 🎶 Thanks for sharing it!
@AndreasSpiess2 жыл бұрын
Glad you like it!
@neilcameron46802 жыл бұрын
The BluetoothA2DPSink library by Phil Schatzmann with an ESP32 connected to a PCM5102 decoder module plays audio via Bluetooth
@AndreasSpiess2 жыл бұрын
Cool. Thanks for the feedback!
@L2.Lagrange6 ай бұрын
This looks great. Thanks so much!
@AndreasSpiess6 ай бұрын
You are welcome!
@gstvgrc2 жыл бұрын
Hi, is there a way to integrate the I2S microphone to the “camerawebserver” example for the ESP32cam? A full baby monitor!! Thnx
@AndreasSpiess2 жыл бұрын
I think so. Just try it!
@inadavs2 жыл бұрын
Can ESP32 act as a 2-way VOIP gateway, for use as intercom network for example?
@inadavs2 жыл бұрын
And is there any support for SIP?
@AndreasSpiess2 жыл бұрын
I do not know about the two-way thing. And about the latency (which is important in this respect. Maybe you try it?
@gstvgrc2 жыл бұрын
It would be awesome with ESP-NOW for lower latency
@ThatTalkingDogGuy Жыл бұрын
Awesome. At 8:24, though, it's completely fine to have signals up to 5V on ESP32 (just not on power pin). CEO of Espressif has confirmed this
@AndreasSpiess Жыл бұрын
I only heard that for the ESP8266...
@ThatTalkingDogGuy Жыл бұрын
@@AndreasSpiess Teo Swee Ann confirmed that the ESP32 GPIO pins are 5V tolerant. Apparently, they took that out of the datasheet because users were trying to power the chip with 5V
@GillesBruno382 жыл бұрын
Nice one :) Plenty of ideas for future tinkering !
@AndreasSpiess2 жыл бұрын
True. I have some projects in mind, too...
@keithadams86862 жыл бұрын
Hi Andreas - I have not seen any videos on the ESP32 ability to play notes. It can produce the 12 notes of the scale across 8 octaves. It uses just 2 commands - in setup - ledcAttachPin(TONE_OUTPUT_PIN, TONE_PWM_CHANNEL); and ledcWriteNote(TONE_PWM_CHANNEL, NOTE,Octave); // where note is one of the 12 from NOTE_C to NOTE_B. By using channels 1 and 9 you can produce stereo - eg independent channels - one set for the left hand and one for the right hand. Connect the GPIO output pins of the ESP32 and earth to an amplifier. By creating an array of NOTES[12] you could create a stereo laser harp or Theremin. Have you done a KZbin video on this feature of the ESP32 ? Perhaps I have missed it.. Best regards... Keith (Australia).
@AndreasSpiess2 жыл бұрын
Yes, the ledcAttachPin command is very versatile. I never did such a video. I only once used a library which played some titles. But this is many years back.
@daveholden39352 жыл бұрын
A very informative video. It 'sounds' as though the ESP32 could form the basis for a microphone audio processor for amateur radio use. Regards.
@AndreasSpiess2 жыл бұрын
Yes. That was the reason for these experiments.
@fillerbloch2 жыл бұрын
This part with the BT-Speaker sounds nice... Hope you will make an github example. My idea is that to make next Radio project.... and i will use my ESP32 and only one of my many BT-Speaker.... yw
@AndreasSpiess2 жыл бұрын
It seems it works with other examples of the library and I was unlucky.
@Ilikeridin2 жыл бұрын
For a project I used an ESP8266 but switched to an ESP32 for BLE but I was unable to get the sounds working. I’ll give this a try. Many thanks
@AndreasSpiess2 жыл бұрын
Hopefully you will be successful!
@matteoricci91292 жыл бұрын
I saw that the expressf dev has a way to create a Bluetooth speaker or headset example made with the esp32 but not Arduino, could be a nice little project
@AndreasSpiess2 жыл бұрын
I agree. You can save the audio amplifier...
@kroojohn2 жыл бұрын
Thank you. I got an ESP32 KORVO v 1.1 sound development from ESPRESSIF, that seems to have been shipped missing some components. It does have the required I2S DAC and ADC chips though... With this I can finally use the components on there for something useful.. :)
@AndreasSpiess2 жыл бұрын
I hope the chips there are usable with the library.
@kroojohn2 жыл бұрын
@@AndreasSpiess I hope so too... Got a real bad experience with that particular device.. lots of missing components, technical drawings not up to date etc... but, that is good, as it will be a challenge to see what can be salvaged and repurposed... The library that you referred to will definitely work with the ESP32... it is now up to hunting down datasheets for the supporting components :)
@eugeniomercol11 ай бұрын
Hello again, @AndreasSpiess, I am deciding to buy from your links all the componentes for my project, but I still have a question, I see that you used the ESP32 Wroom board according to the link. But before buying, can you answer a couple of questions? *1 Which board did you select in the IDE list to compile correctly? *2 Did you modify, or add any line of code in the configuration so that it compiles correctly? I try to compile for Wroom or for generic ESP32, and it returns a compilation error for that board. After I managed to compile, I bought all the components from your links. thanx Andreas!
@AndreasSpiess11 ай бұрын
1. I always use the ESP32 Drv board 2. You have to read the error message and correct the error. No errors should occur because of the board. 3. Thanks for using the links!
@helmuthbecker76362 жыл бұрын
Hi Andreas, thanks for the nice video and content. Here are some questions: 1 - How many ohms has the speaker that you used at valse.mp3 example? 2 - Is there a limitation in ESP32 about speakers impedance? 3 - It is possible an audio comunication between LoRa Rf? A conversation between two people for example. Here is the guy with Brazilian accent :)
@JonnyWaldes2 жыл бұрын
Hi Helmuth I am no expert but checkout the i2c audio module he used the MAX98357A. "Output Power: 3.2W at 4Ω, 10% THD, 1.8W at 8Ω, 10% THD, with 5V supply". I highly doubt LORA is good for that application since it is very low transfer rate. LORA would be better for sending text messages.
@helmuthbecker76362 жыл бұрын
@@JonnyWaldes many thanks :)
@AndreasSpiess2 жыл бұрын
I agree with Jonny
@CraigHollabaugh2 жыл бұрын
Excellent video Mr. Swiss guy, just excellent 👍. Thank you.
@AndreasSpiess2 жыл бұрын
You are welcome!
@dannmascarina97312 жыл бұрын
Please make also a video about the minimal setup like A2DP sink for ESP32-A1S module as they have two different models because of the two codecs, one with AC101 and the new ES8388. Thank you!
@AndreasSpiess2 жыл бұрын
You find a lot of examples for both versions of the A1S in Phil's repo.
@Steve-xb7dn5 ай бұрын
Where can I find the code for the simple baby monitor
@AndreasSpiess4 ай бұрын
My children are already adults, so I have no need and did not search for it.
@sanjikaneki62262 жыл бұрын
So you mentioned that some pins are a no go for the ESP32 , how can we find them i looked up the data sheet and besides being massive it got me even more confused. Also besides those 2 pins are there any other no go pins? On a side note ESP32 matrix tutorial would be interesting. Keep up to good work, great video again!
@AndreasSpiess2 жыл бұрын
I made a whole video about this topic (including an Excel sheet)...
@sanjikaneki62262 жыл бұрын
@@AndreasSpiess then ill just have to find it
@christosmoutevelis48962 жыл бұрын
@@sanjikaneki6226 GR #363 Which ESP32 pins are safe to use? kzbin.info/www/bejne/goqQYnd-id2Fd80
@Sysshad8 ай бұрын
Keep going Andreas, i really like your videos
@AndreasSpiess7 ай бұрын
Thanks! 😃
@Luke-san2 жыл бұрын
To bad about that BT audio, hope to see it fixed soon. I see great potential for using this with KaRadio and BT speakers.
@AndreasSpiess2 жыл бұрын
Others had more luck. It seems to work somehow...
@jimTal0019 ай бұрын
Andreas, Thank you for sharing your work here. I have been studying many video and other sources about integrating the INMP441 to the RP-Pico or ESP32. In all cases I remain confused with the INMP441's I2S 24 bit data output being mapped directly to 16 bits. Could you explain this? Thanks
@AndreasSpiess9 ай бұрын
You can shift the bits of a 24 bit number by 8 bits to the right (divide by 256). The result should be a (less precise) 16 bit number.
@h3sus2 жыл бұрын
Hello! These videos are superb, I'm learning a ton from each one. I'd like to try creating a LoRa system for automating the scoring and refereeing of an outdoor game/sport. Think of "capture the flag" type of game, where players can take control of points in an outdoor area by "checkin in" on the points, and are scored for example based on how long they control each point during a match. I have a small demo of this on an Arduino through Wifi, but the final application will need much longer range than what Wifi can provide, with about 12 points in an area of one or a couple square kilometres. The system should be able to run for two days straight on battery power. I've been looking at ESP32s with a LoRa capability and an RIFD reader (with an RFID tag on every player) to make this happen, but the amount of components on the market is just overwhelming, and new ones just keep coming up. Could you please suggest some parts to start looking at and developing on? I would really appreciate any advice on the most suitable parts as the main board, the reader, LoRa part and the battery.. And if there are any go-to tutorials that you would suggest, I'd be happy to hear about them. Thank you!
@AndreasSpiess2 жыл бұрын
This is a very complex project and I do not do consulting, unfortunately. You are on the right track to start with a prototype for every aspect of your project and finally integrate it into an entire system. You find a lot of info on this channel for each aspect.
@h3sus2 жыл бұрын
@@AndreasSpiess Thank you very much for the reply. I have managed to make a shopping list for components and am making good progress by following more of your videos.
@frollard2 жыл бұрын
When bluetooth won't connect I have to usually go ask my wife to turn off her phone's bluetooth; (often on the other side of the house since we share bed headphones). The particular ones we have are annoying because it auto-connects on power on, and usually her iPhone connects before my pixel. The biggest problem is you cannot force a bluetooth reset while connected, and the connection happens before the 'press and hold' functionality can force the chip to reset. ...Was your wife's phone connecting to your speaker today when yesterday it worked?
@AndreasSpiess2 жыл бұрын
Good point. Maybe another device was connected (I have many such devices). But I do not know.
@jim_condit2 жыл бұрын
Was really looking forward to trying Phil's library, unfortunately it doesn't work on my ESP32-C3 dev boards. I entered a question on his github site. Hopefully this will be resolved soon.
@AndreasSpiess2 жыл бұрын
I am not sure if it makes sense to use it on a single core processor with Wi-Fi as a "competitor"
@cookinsteve9281 Жыл бұрын
On the note of Master/Slave naming scheme….the company I work with calls it Master/Member which I believe is a better encapsulation of what the phrase conveys….just a thought…
@AndreasSpiess Жыл бұрын
So they added a new variant. Interesting!
@nsd111642 жыл бұрын
Hello Sir. I'm from Cuba. I like very much all your videos specially those related to Espressif ecosystem. I use Eclipse ide form my projects. I really aprecciate examples in your videos using that ide. Form ESP-IDF 4.4 Espressif has an IDE based on eclipse. Very useful.
@AndreasSpiess2 жыл бұрын
I only use the Arduino IDE on this channel because this is used by most Makers.
@ryanmowry1170 Жыл бұрын
I built the blue toothe speaker in your video with the esp32 dev board and max98357a! I made the connections on a breadboard and uploaded the A2DP code to it! It worked for about a minute and started dropping out. Now I cant get it to show in the device manager on my phone or laptop. Looks like i got some work ahead for me. Pretty impressive how easy you made it though, since I'm new to micro controllers and programing! Awesome projects you have! 👍
@AndreasSpiess Жыл бұрын
Welcome to the channel. I wish you luck finding the problems. Otherwise, Phil is helpful if you create an issue on github.
@ryanmowry1170 Жыл бұрын
@@AndreasSpiess wow cool! I wasn't expecting a comment back from the creator! 👋😀 I think the project simply wasn't getting enough current as I was using a 7805 voltage regulator to power both the boards up! Probably a brown out issue but if I still have problems I'll definitely contact phil. pleasant surprise to hear from you! Thanks for your input!
@AndreasSpiess Жыл бұрын
@@ryanmowry1170 All comments are answered on this channel ;-)
@ryanmowry1170 Жыл бұрын
@@AndreasSpiess I got my project working! 😀👍 I powered the circuit directly without 7805 voltage regulator and tested it all day and didn't drop once! Very cool project and easy all thanks too your wonderful and helpful channel! Keep up the great work! Your channel makes a difference and is much appreciated! Now I'm going to make a more permanent version of the circuit with my first attempt at making homemade pcbs and soldering the stand alone esp32 and amplifier modules to it!
@mytube1000javed9 ай бұрын
Thanks for such a great video. How can I implement voice translation on esp32. Input and output both are voice.
@AndreasSpiess9 ай бұрын
You have to search for a project. I do not know one :-(
@terryhayward79052 жыл бұрын
ESP32 is taking over the world. My first computer cost well over £2000, and did not even have sound. I will be running my house on ESP32s :)
@AndreasSpiess2 жыл бұрын
That is what we do, too. It is a marvellous chip!
@caiopedreira66432 жыл бұрын
Hello Professor Spiess! Congratulations for your great classes!! It would be interesting to use the ESP32 to access some API from Spotify or Amazon Prime Music and stream online music or even entire playlists on the JBL or some other bluetooth speaker. If there's someway to accomplish this, we don't need computers (or MPUs like the Raspberry) to do this task anymore. Best Regards from Brazil !!
@AndreasSpiess2 жыл бұрын
Maybe you open a feature request on Phil's GitHub...
@santopino25462 жыл бұрын
Excellent video, very interesting, pity I don't have time to "play" with this, but it surely will be on my preferred list or pension hobby list.
@AndreasSpiess2 жыл бұрын
Cool. A bucket list is very important ;-)
@jampskan56902 жыл бұрын
Could the esp32 theoretically be used to build a wireless "DigiRig" type device? It would be neat to build something that talks to a radio & PC wirelessly for digital modes.
@AndreasSpiess2 жыл бұрын
Since I only have an IC-705 I currently have no need for such a device :-( It probably should be done by somebody who already is in CAT controls etc. It seems to need a lot of know-how in this field.
@aderaba2 жыл бұрын
Looks great, I have a question, is this library could work also with sound board VS1053? your other radio project uses that board, which I have and would like to find if this project could use the same VS1053 for audio processing, thanks
@AndreasSpiess2 жыл бұрын
just google "VS1053 pschatzmann" to find out how.
@mussab56302 жыл бұрын
Thank you for such a great video. I wanted to ask you one question that how have you hooked up the esp32 with inmp441? Thank you once again.
@AndreasSpiess2 жыл бұрын
You find the info on Phil's page
@jefflundstrom6878 Жыл бұрын
Love this channel! I decided to buy the ESP32 Audio Kit, but cant get the external microphone to work. Were you able to get the external input to work on your board? I can get the built in mics to work on Channel 2, but Channel 1 does not work for me. Am I doing something wrong?
@AndreasSpiess Жыл бұрын
I never used the Kit. But Phil used it a lot. So just ask him on Github.
@jefflundstrom6878 Жыл бұрын
@@AndreasSpiess Thanks Andreas, I will do that! Thanks again for all your videos, they are very well done and very informative!
@wijnandbredewold40167 ай бұрын
Great video its helping a lot. Question: what is the browser url when you send audio to a webpage?
@AndreasSpiess6 ай бұрын
I do not know it by heart. But it is for sure documented in the Github project.
@harrymagooslum5770 Жыл бұрын
Wonderful video!! I'm stuck though: I have the ESP32 v2.0.10 by Espressif installed in the latest Arduino IDE's Board Manager but I do not find the AI Thinker Audio Kit board listed. What board do you choose or is there another board configuration that needs to be installed instead of or in addition to the Espressif one? And does the board program via the UART port or is it necessary (or recommended) to program via the JTAG interface pins on the board? I keep searching the Internet for details on this but come up empty handed. Thanks in advance for any direction that could be provided on this.
@AndreasSpiess Жыл бұрын
The board can be programmed via USB. I use the ESP32 dev module board definition. You need to install 2 libraries and try which board you got. Information and support is on Github
@drmocm2 жыл бұрын
Very nice library, I have to try it with my AtomEcho. I have to be careful, though. I fried the neopixel on the Echo when I installed the wrong audio example for the i2s library and the default config tried to play sound on it.
@AndreasSpiess2 жыл бұрын
Better be careful than sorry ;-)
@TomekUoo Жыл бұрын
this is so cool - i want to make small tuner/amplifier/effect for ukulele - this can simplify my work quite well :)
@AndreasSpiess Жыл бұрын
Glad it is helpful!
@jonathanr42422 жыл бұрын
Awesome video Andreas.
@AndreasSpiess2 жыл бұрын
Thank you very much!
@abeiren2 жыл бұрын
thank you and it is really helpful. and also do you have plan to use a2dp and BLE serieal communication at the same time? since esp32 support dual bluetoth but there are not imformation about it (especially with arduino IDE) thank you again ser
@AndreasSpiess2 жыл бұрын
Maybe you ask Phil, the creator of the library?
@bernard-charlesbarrois526510 ай бұрын
Hello Andreas, could you tell me what type of card you used to compile the Phil's Library examples? I use the Arduino IDE and I tried: Esp32 Dev Module, Esp32 Wrover Module, Ai Thinker... nothing works yet I am in 2.0.14 of the ESP32 board library. thanks for your help
@AndreasSpiess10 ай бұрын
I usually use the standard dev board board definition.
@bernard-charlesbarrois526510 ай бұрын
@@AndreasSpiess yes, it works if you use Visual Studio but not with the Arduino IDE.
@AndreasSpiess10 ай бұрын
@@bernard-charlesbarrois5265 Strange. PlatformIO should use the same base as Arduino.
@tomb65762 жыл бұрын
Hey! Seriously thank you so much! This is such an amazing resource! I've managed to get things running here but the audio coming out of the earphones jack on the AI Thinker audiokit is real quiet! Did you have a similar experience? Can't tell if I need an amp or just got a bad one haha! Thanks again!
@AndreasSpiess2 жыл бұрын
So far I have no experience with the AI Thinker kit :-(