#147

  Переглядів 357,467

Andreas Spiess

Andreas Spiess

День тому

Today, this channel will try to start into a new area: The area of the replacement of our beloved ESP8266 by the new ESP32. I invite you to join this journey. At the end of this video, you should be able to judge, if you want to order your first board (or take it out of your drawer)
Summary:
• We checked the GPIOs out and discovered, that we have many more of them, and that they abandoned the Dx numbering scheme. So, we do not have to write our sketches differently for the different boards.
• Then, we looked at the different examples provided with the infrastructure. This will be stuff for many videos to come. Today, we tried PWM and it worked. We were able to generate a fading LED, steer a servo, and even create a primitive DAC with this function.
• Next, we tried a simple example to check, if the Wi-Fi really works. And it does. We learned, that we will have to change all our ESP8266 sketches if we want to port them to the ESP32.
• Then, I ported my NTP library to the ESP. With one small change, it worked and delivered accurate time also on the ESP32.
• At the end, we checked also the new touch pins, and, together with the PWM functionality from the beginning of the video, we're able to create a small instrument.
Attention: If your Arduino IDE is installed in the "Program file" area of Windows, you need to run "get.exe" as administrator.
Links:
An easier way to install ESP32 software: • #214 New: Easier ESP32...
Arduino Core for ESP32: github.com/espressif/arduino-...
Board in this video:
WeMos® LOLIN32 Board bit.ly/2t2zXeW
Other ESP32 boards (from video #143):
TTGO ESP32 Module www.aliexpress.com/item/TTGO-...
ESP32 (NodeMCU type) Board bit.ly/2sOMR3E
ESP32 Development Board (Yellow Pins) www.aliexpress.com/item/ESP32...
ESP32 X-Shield www.aliexpress.com/item/Lolin...
ESP32 Lolin Board with LiPo www.aliexpress.com/item/WEMOS...
ESP32 OLED Board bit.ly/2tosirM
ESP32 Board with 18650 www.aliexpress.com/item/WEMOS...
D1 mini ESP32 board www.aliexpress.com/item/MH-ET...
WeMos Arduino like ESP32 Board bit.ly/2tUZVnC
Cheapest ESP32 board (source not tested by me): www.aliexpress.com/item/Lolin...
WEMOS Official Store: s.click.aliexpress.com/e/jUzBiIq
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: bit.ly/2jAQEf4 (no additional charges for you)
Official Wemos Store: s.click.aliexpress.com/e/jUzBiIq
/ sensorsiot
/ spiessa

КОМЕНТАРІ: 525
@vizmohanan
@vizmohanan 6 років тому
It's really comfortable to see how you set the goals and walk through them one by one and summarize everything at the end - how a video documentation actually must be. Please keep up that style. I'm going to buy an ESP32 soon :)
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your nice words!
@your-digital-bodyguard
@your-digital-bodyguard 6 років тому
Andreas, I am always impressed with your videos, I thank you for taking something difficult and making it easy for others to understand!!!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your nice words!
@HariWiguna
@HariWiguna 6 років тому
Yes, I think I could hear my ESP32 calling me from one of the drawers... Andreas, as usual, FANTASTIC content! Thank you for sharing.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome. I think, you used yours recently for the servo project...
@deangreenhough3479
@deangreenhough3479 6 років тому
I did have a chuckle when you mentioned about ordering one, or pulling it out the drawer😀 Mine is in the project drawer (thanks for the reminder) and coming out today😀 Thank you for the Sunday morning video, they really do set me up for the day.
@thisusernameismine10
@thisusernameismine10 6 років тому
"or pulling one out of a drawer" - yeah, had to chuckle at that one. Andreas has really got us nailed, eh? Its as if once Andreas says its time, its time. We know were in for a concise and well thought out intro - I cannot imagine how much time he must take to prepare, script, film, dub and edit these videos. What a beacon he is to us.
@deangreenhough3479
@deangreenhough3479 6 років тому
Paul Geraghty I have to agree totally 👍
@MartinBgelund
@MartinBgelund 6 років тому
Big thank you to Andreas and to you guys for that comment! I don't feel so awkward for having unused boards in the drawer and unrealized projects in my head anymore :-)
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for all your support! Seeing, the 11'000 views for this video just on Sunday is my share of "nice Sunday" (in addition to the really nice summer weather here)
@m3chanist
@m3chanist 6 років тому
You deserve the nice sunday Andreas, your videos are fantastic and a gift for all of us, the quality of information delivery is brilliant. Thank you and all power to your arm.
@jamestate7851
@jamestate7851 4 роки тому
The man with the Swiss acent , As always a great presentation , I like it when you get up CLOSE with the Terminal readouts, most people on youtube channels, when they work in the Terminal you can't see what their doing, Thank You Mr. Swiss man !!!!
@AndreasSpiess
@AndreasSpiess 4 роки тому
You are welcome. I still get complaints about my too small letters ;-)
@jacquesdebouche1082
@jacquesdebouche1082 6 років тому
Dear, Andreas, I like the way you explain, I am a professional in the branch, and I never been bored or tired watching your video big thanks! Jack
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your nice words!
@Wowthatsfail
@Wowthatsfail 6 років тому
Mr Andreas I am very appreciative of your coverage of the esp32, I look forward to more 👍🏻
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@HansVledder
@HansVledder 6 років тому
Excellent video Andreas! I am looking forward to opening up my drawer and start making some sparks with the ESP32's in there ...
@AndreasSpiess
@AndreasSpiess 6 років тому
Enjoy!
@irvlennert3674
@irvlennert3674 6 років тому
Andreas, As usual your videos are highly informative but this one in particular I have viewed several times. And I will probably watch it a few more times! Thanks very much!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your nice words!
@epleace
@epleace 6 років тому
It's great to find an Arduino compatible board that has so much built-in and is so fast that some things not built-in can be simulated. Thanks, keep up the good work.
@AndreasSpiess
@AndreasSpiess 6 років тому
And it is quite cheap...
@TheRealKitWalker
@TheRealKitWalker 4 роки тому
Quite comprehensive! Loved watching every bit of it. You got yourself a new subscriber in me. I'm excited about the next video. :)
@AndreasSpiess
@AndreasSpiess 4 роки тому
Welcome aboard the channel!
@TheRealKitWalker
@TheRealKitWalker 4 роки тому
@@AndreasSpiess Thank you.
@eahabissac
@eahabissac 6 років тому
You were such a great help during my study, Thank you!. Now I think that the Swiss English accent is the best ever.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your compliment!
@omaryanas435949
@omaryanas435949 6 років тому
Finally... My weekly dose of esp, thank you andreas spiess.
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@Perspectologist
@Perspectologist 6 років тому
I got an ESP32 board a few months ago. Haven't used it yet, but it is good to know that I can probably use it without much trouble. Looking forward to future coverage of the ESP32.
@AndreasSpiess
@AndreasSpiess 6 років тому
So, you are the one who takes it out of the drawer ;-)
@dozog
@dozog 6 років тому
Thanks for your amazing work in doing concept of proof on almost anything we might want to use our boards for. I think you misspoke at 7:57. What you generate there is not a sawtooth but a triangle. Keep up the good work!
@AndreasSpiess
@AndreasSpiess 6 років тому
You are right
@MrDeicide1
@MrDeicide1 6 років тому
I can't go through one of your videos without learning, in a perfectly structured, methodical order. That's just mean, Andreas.... UKposts is supposed to be mindless fun :( Fantastic chip with , indeed, mind-boggling possibilities. Now off to build a space ship...
@AndreasSpiess
@AndreasSpiess 6 років тому
Obviously, UKposts is like the world. You find everything. But of some items more than of others. These items are called "rare"... Thanks for your compliment!
@michelvanmen6563
@michelvanmen6563 5 років тому
Get the ESP32 now for only 5$ here at Banggood: www.banggood.com/nl/ESP32-Development-Board-WiFiBluetooth-Ultra-Low-Power-Consumption-Dual-Cores-ESP-32-ESP-32S-Board-p-1109512.html?p=7I22079633188201703T Amazing deal!
@theaddies
@theaddies 6 років тому
Thanks again for another superb video. In addressing your question about whether I will delve into the ESP32, I think I will wait. Whilst I understood the video, there really is a lot to learn. It is an entirely new architecture. I have focused solely on ATMEL chips and learned to program them in C without the Arduino interface. Programming these chips would be similar to switching to PIC microcontrollers. Thanks.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are right. It is always a big effort when you have to change programming environments. This is probably, why many of us want to stick with the Arduino IDE as long as we can...
@noweare1
@noweare1 3 роки тому
I know this post is 2 years old ... yes the esp32 is complex. If you want to program natively it may not be as fun as using arduino or even ATMEL natively. The esp32 idf environment is like the untamed american west in the old days. Their api is not well documented and is hard to understand.
@brucecalder7752
@brucecalder7752 6 років тому
Andreas, great vid. I wish I could give two thumbs up! Mine WAS in a drawer but I pulled it out and ported my ESP8266 hydroponic controller in just a few hours. That includes two ultrasonic transducers to measure water tank levels, an LDR to measure light, a DHT22, a DS1820B, inside and outside temp and a Hall effect module for measuring fan motor speed. Also, this unit connects to an 8 channel relay to control lights, fans and water pomp. All of these feed into my original node-red control panel via MQTT. Originally this was done with three ESP8266's but with all the I/O available I can do it with one ESP32. Other than getting some false readings from both temp sensors occasionally which I just filter out, everything works great. Bruster
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your feedback. This is an awesome project. Could you share the libraries you used? Or even the code? I think, we should start to assemble a list of libraries of devices we were able to connect to the ESP32.
@brucecalder7752
@brucecalder7752 6 років тому
I was surprised at how easily things came together and I'm really pleased at the improved performance and functionality of the ESP32 over the ESP8266. Having all those extra GPIOs are wonderful! Here are the libraries I used: #include //used for EEPROM access #include //DS18B20 temp sensor #include #include //MQTT control #include //OTA #include //DHT22 temp sensor I'd also like to share a little info that I read in Neil Kolban's book "Kolban's book on ESP32" regarding GPIOs that I found helpful since not all GPIOs are created equal. I actually put this right in my code comments so I wouldn't have to look it up again: There are 34 distinct GPIOs available on the ESP32. They are identified as: • GPIO_NUM_0 - GPIO_NUM_19 • GPIO_NUM_21 - GPIO_NUM_23 • GPIO_NUM_25 - GPIO_NUM_27 • GPIO_NUM_32 - GPIO_NUM_39 The ones that are omitted are 20, 24, 28, 29, 30 and 31. Note that GPIO_NUM_34 - GPIO_NUM_39 are input mode only. One problem I am still experiencing is that both temperature sensors (DS18B20 and DHT22) return bad values about 40% of the time. If anyone has any suggestions how to resolve this please post for all of us. Thanks! At some point in the future I'll share the code if there is interest but I'd like to clean it up a bit first. I'm hobbyist programmer so it's a little on the crude side. :-) Bruster
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your contribution. I am sure, it will help others!
@deangreenhough3479
@deangreenhough3479 6 років тому
This has been a great help and a great place to setup your ESP32.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you!
@erygion
@erygion 4 роки тому
Great video Mr. Spiess, I'll be following along with all of it. I'm behind I know...😛 I'll be working hard to get all caught up. You're a great teacher sir.
@AndreasSpiess
@AndreasSpiess 4 роки тому
The advantage of UKposts is that the old videos stay online...
@GeekMustHave
@GeekMustHave 6 років тому
Mine is also in the storage case and I'm bringing it out. Excellent notes on differences with ESP8266 this will save me some headaches. By the way, your English is much better than the folks I interact with in Detroit. You're much easier to understand.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your compliment!
@HemangJoshi
@HemangJoshi 6 років тому
Dear sir, Your are really good at teaching...
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@ismzaxxon
@ismzaxxon 5 років тому
i am now into esp32 now. glad you are getting into them
@AndreasSpiess
@AndreasSpiess 5 років тому
I think I started already quite long ago covering them ;-)
@robert574
@robert574 2 роки тому
I wish you had been there to explain things to me when I was younger. People thought I knew what I was doing. Boy were they wrong.
@AndreasSpiess
@AndreasSpiess 2 роки тому
I am glad to read that because I have a lot of young viewers. They probably can profit…
@MMphego
@MMphego 6 років тому
I still wonder as to why people dislike, Andreas video's as their detailed and straight to the point!!!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@yekutielbenheshel354
@yekutielbenheshel354 6 років тому
The probably inadvertently click the dislike button either in haste or due to confusion.
@recklessroges
@recklessroges 5 років тому
Because those that are interested in learning massage or touch-typing,( because the word "touch" in the title is not domain specific) might be sent here by the UKposts algorithm, and dislike makes this video as not relevant to them. (I'm amazed at how many people can't see this fact - and worse, how many people get angry about seeing a thumbs-down, (when a few thumbs-down is still good for the content creator.))
@Biky750
@Biky750 6 років тому
a big thank you to you! Evn so I have no time for such projects right now I like to watch your UKpostss!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your feedback!
@PhG1961
@PhG1961 6 років тому
Great video ! I'll take this into consideration for future projects.
@AndreasSpiess
@AndreasSpiess 6 років тому
I think, you can take your time if you do not need a lot of pins...
@shanebekker
@shanebekker 6 років тому
Looking forward to the rest of this series.
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@galalahmedfahmy5482
@galalahmedfahmy5482 6 років тому
Excellent presentation, thank you
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@vladimirastrelin1719
@vladimirastrelin1719 10 місяців тому
Thanks a lot for a great lesson !
@ranger81de
@ranger81de 6 років тому
Awesome video, thanks for all the useful information about the ESP8266 successor. I'm looking forward to another ESP32 video :-) As always, greatly appreciate your work and efforts to save me some time on research how to use the ESP8266. I just put some ESP32 into my AliExpress shopping cart :-)
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks! Now you only have to wait...
@williammiller4143
@williammiller4143 6 років тому
Excellent video. I pulled mine "out of the drawer" yesterday and tried out Mongoose OS. That was a hasty decision. I think I will wipe it and start over with the basic questions asked here in the video. It is always a pleasure when I see a new video posted on your channel. Thanks for your work.
@ronmiller7916
@ronmiller7916 6 років тому
William Miller what didn't you like about mongoose os? I am just about to start an esp-32 project and thought I would give it a go. I'm very familiar with the 8266 and Arduino libs but listened to an ota vid and it looked simple enough.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your comment. Would be also interested in your experience with Mongoose
@williammiller4143
@williammiller4143 6 років тому
Ron Miller my thought was that I would like to get familiar with the chip first in a familiar environment. Mongoose is new for me so it would be a steeper learning curve. After I play with it in the arduino environment I w I'll revert to mongoose os. It looks like a better dev environment.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@Ncky
@Ncky 6 років тому
Really nice work, now while im on summer school break i can try to translate this video so more people can understand it(its for you people from my school :D) Keep up doing videos like this they are very useful
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you in advance!
@chuxxsss
@chuxxsss 6 років тому
Another wonderful video thanks Andreas.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@magic.marmot
@magic.marmot 5 років тому
I had some difficulty with getting my new Chinese-made boards to work, but with some Google-fu, I was able to program the blink sketch. The blink sketch didn't work on any of them. I was frustrated at why this wasn't working, until I started looking more closely at the boards and realized that there was no built-in LED. Once I got that figured out, this video helped me considerably. Thank you Andreas!
@AndreasSpiess
@AndreasSpiess 5 років тому
You are welcome!
@MauroSedrani
@MauroSedrani 6 років тому
Awesome as usual. Thanks Andreas!
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@djjoni2
@djjoni2 6 років тому
The control looks interesting with all of those types of pins.
@AndreasSpiess
@AndreasSpiess 6 років тому
We just have to master them...
@mikehudson3620
@mikehudson3620 6 років тому
Another useful and well constructed piece of research from someone on top of his game. Rather like the other guy with a Swiss accent at Wimbledon today (but he wasn't given a hard time).
@sarkybugger5009
@sarkybugger5009 6 років тому
Yes. He walked it. ;o)
@uforex911
@uforex911 6 років тому
Exciting for this ESP32 Andreas :)!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@betojasz
@betojasz 6 років тому
To me, the serial instability at upload code occours when I atacch something to the board as a LED or something else. Unplugging everything, upload is stable!! Thanks a lot!!!!! Excelent review!!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for the tip! A quick test with the blink sketch did not confirm it. But I will have an eye on if in the future.
@desy666
@desy666 6 років тому
Useful as usual, thank you Andreas! ;)
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@maxisadog9484
@maxisadog9484 6 років тому
Viva Schweiz! Great Information. ESP32 ordered and on it's way...
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@SA-oj3bo
@SA-oj3bo 6 років тому
Thanks Andreas, I am excited by ESP32 now, seems the Touch is easy to use and not requires specially designed pads as most other touch chips.
@AndreasSpiess
@AndreasSpiess 6 років тому
I read, that it only measures the capacity. But it has to be calibrated to the particular situation.
@user21XXL
@user21XXL 6 років тому
ahh the new possibilities, thx for sharing
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@johnerrington9371
@johnerrington9371 6 років тому
Great video, my ESP32 was in the drawer, and this will get it out. I would love to hear your thoughts on how to use both processors and how to target individual execution threads to a particular processor.
@AndreasSpiess
@AndreasSpiess 6 років тому
Me too would love to know how it goes ;-) But I will try to find out.
@waltsteinchen
@waltsteinchen 6 років тому
Once again, all thumbs up Andreas!!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@PeterSek
@PeterSek 6 років тому
Great video, thank you
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@pch4287
@pch4287 6 років тому
very helpful video. Thank you
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@das250250
@das250250 6 років тому
Great work Andreas
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@tedder42
@tedder42 6 років тому
great! looking forward to more. I have a esp32 that has been in my travel bag for the past month, dragging my feet because the Arduino support seems half-baked so far.
@AndreasSpiess
@AndreasSpiess 6 років тому
Maybe, together we will be able to change this? I think, it is time now...
@CharlesSnyder
@CharlesSnyder 6 років тому
Really looking forward to more on the ESP32. Any chance we can cover how to control WS2812 LED's with a single momentary button to change sequences? Thanks!
@AndreasSpiess
@AndreasSpiess 6 років тому
Maybe I will use the WS2812 in one of my future videos. But, so far, I have no plans
@XerotoLabs
@XerotoLabs 6 років тому
great video . informative as ever
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@IronRiviera
@IronRiviera 6 років тому
How in the heck did you know that alot of us had new 32s put away? That is very mentalist of you. I bought just one with the 18650 battery holder attached. I just got around to ordering the cells. Thank you Andreas for some motivation to get going on this board.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@onlyrgu
@onlyrgu 6 років тому
thanks for the video ...considering esp32 for a indoor home irrigation project
@AndreasSpiess
@AndreasSpiess 6 років тому
So, please share your experiences when you are done!
@ravishanker9014
@ravishanker9014 6 років тому
Thank you very much for this nice tutorial thank you ....
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@tamaschovanec3251
@tamaschovanec3251 5 років тому
Excellent vid. Thx!
@AndreasSpiess
@AndreasSpiess 5 років тому
You are welcome!
@joshuanulton1403
@joshuanulton1403 6 років тому
I like the prospects and potential of this new segment. I suggest making a dedicated channel for the series just to make search and organization a bit easier for us subscribers. Many of us watch your videos more than once, some of your videos I have watched 5 or 6 times and searching the archives is starting to get difficult. Starting it out organized will make it easier in the future. As always great work!
@AndreasSpiess
@AndreasSpiess 6 років тому
There are a few playlists which help organizing the content. Plus the search function of UKposts (spiess + topic you search). But, feel free to propose another way of organizing
@tubical71
@tubical71 6 років тому
simply create a playlist yourself...;)
@miguelestrada2011
@miguelestrada2011 3 роки тому
I'm wondering how interesting are your videos! thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like them!
@jucerago
@jucerago 2 роки тому
Awesome, Thank you.
@AndreasSpiess
@AndreasSpiess 2 роки тому
You're welcome!
@Vacation_Vibes
@Vacation_Vibes 6 років тому
🥇ich kann nicht mehr warten die neue Episode ESP32
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@davidjenkins8675
@davidjenkins8675 6 років тому
NIce exhibition of the properties of the new board. Let's hope it is "ready for Prime Time " soon. I'd like to be able to read more than 1 analog on a esp.
@AndreasSpiess
@AndreasSpiess 6 років тому
This should be possible, But of course, I will try and report...
@davidjenkins8675
@davidjenkins8675 6 років тому
Thanks!
@avejst
@avejst 6 років тому
Thanks for sharing. Nice work-thou :-)
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@MaxintRD
@MaxintRD 6 років тому
Hi Andreas, thanks for another nice video! Looking at the current state of support within the Arduino environment, I wouldn't use it yet unless the project couldn't be done with an ESP8266. I'm sure that support will be much further in the near future, so indeed this is only the beginning.
@AndreasSpiess
@AndreasSpiess 6 років тому
Where do you see the biggest support problems?
@MaxintRD
@MaxintRD 6 років тому
I think to give it mass popularity it needs the same support level as the current ESP8266 environment. From what I see the ESP32 is compatible with the ESP8266 with a superset of features. So I'd like to see all features that currently work for the ESP8266 to also work for the ESP32 so that sketches and libraries that now work for the ESP8266 would not require any change. (So for instance analogWrite should be implemented properly). All additional features that can be mapped to a compatible Arduino feature should be implemented using their Arduino API. The main reason why the Arduino environment is so popular (over for instance mBed or LUA) is that it has a huge installed base with great support for many devices. To be able to use existing documentation, examples and libraries without having to obtain specific knowledge and learn new APIs would be ideal. Being able to use the board manager by just adding a json line in the preferences would be nice too. (BTW I never used the WeMos D0-D9 definitions on my ESPs, only the GPIO numbers). In summary what you showed today still feels a bit too much at the bleeding edge. That's one reason why I like your videos. You investigate things that have my attention well before I find the time to look into them myself. Thank you for that!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your comment. We have to find a way to bring the different information together, for example which libraries work, and which not. And maybe we even can influence the developers to port some of them...
@MaxintRD
@MaxintRD 6 років тому
When the ESP32 core has gotten more mature, I'm sure developers will have made it more Arduino compliant. Once the core is more compliant, less libraries need to be ported. The whole point of making an Arduino core for the ESP32 is to be able to use the Arduino environment. At this point it's still fairly new and not entirely complete. As my free time is limited I think I prefer to wait a bit longer. As it stands now I don't see the ESP32 as a replacement for the ESP8266, but rather a its new bigger sibling. The difference between the two is a bit like that between the ATmega328 and the ATmega2560. More pins, more analog in, more capabilities, etc... I hope that as long at there is such a price difference, Espressif keeps producing and supporting both. For my own libraries I just list the environments that I have tested to work. When I have the need I try to support other MCU's and document their compatibility. My MusicEngine library for instance was just updated to support the ATmega 328 and 168. I don't own an ESP32 yet, but I probably will in the future. I am still working on an RF24/MQTT gateway, for which the ESP32 could be better suited than my currently used WeMos D1 clone.
@pablozizzutti2199
@pablozizzutti2199 6 років тому
Hello andreas, very good video, thanks for uploading it, you have a very didactic way of explaining the topics. I am interested in the module A20 of AI THINKER, will soon make some video with your explanation? Thank you.
@AndreasSpiess
@AndreasSpiess 6 років тому
I have no plans with the A20 board for the moment.
@johmif
@johmif 6 років тому
Hi Andreas , thanks for your great videos , very well made and informative.... Was wondering if you have anything planned for interrupt handling on esp32 ? Would be nice to see !! Regards johann
@AndreasSpiess
@AndreasSpiess 6 років тому
I have not plans, I will pick topics which I think, are interesting...
@wouladjecabrelwen1006
@wouladjecabrelwen1006 3 роки тому
Interesting content
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@istvanzilizi6194
@istvanzilizi6194 6 років тому
FreeRTOS is the way what I would like to use. The possibility to use tasks is opening a whole new world at least for me. The power consumption what I would like to measure. I think the ESP8266 I will use for the future due to the price point and most of the applications this performance is more than enough. Some applications where more PINs have to use for me the ESP32 will be the goal to minimize the number of components. Great video, thank you for sharing!!!
@AndreasSpiess
@AndreasSpiess 6 років тому
I agree with you comments. I think, RTOS is a good idea. Or maybe also mycroPython. We will see. One big advantage of the Arduinio IDE is the libraries. I hope, many of them can (or will) be ported to the ESP32...
@johnmorrison6814
@johnmorrison6814 6 років тому
Just a suggestion for a future video. What is the power usage like compared to the esp8266. Under real life conditions. Thanks!
@AndreasSpiess
@AndreasSpiess 6 років тому
I just got a few WROOM32 modules. So, I should be able to test the power consumption of the modules alone.
@nomadic_rider42
@nomadic_rider42 6 років тому
John Morrison I did some initial tests. Wifi ON power consumption was around 150 mA
@johnmorrison6814
@johnmorrison6814 6 років тому
:) Thanks that will be great! They've packed a whole heap of new stuff in. It'll be interesting to see if the power usage goes up proportionally. OR DOWN :)
@wei48221
@wei48221 6 років тому
Great video.. Love it..
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@tomgburklin1112
@tomgburklin1112 4 роки тому
I will use this chip on my next project.. The Ethernet connection is main reason. I will need the wireless connection. Looks like it will be easier than shields on the Arduino. Cost of hardware nutty way lower than most solutions. Thankyou for the good (as usual) introduction to the hardware).
@aalizwel2061
@aalizwel2061 6 років тому
Thank You
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@droneconnect2145
@droneconnect2145 6 років тому
great video as usual Andreas! Can you recommend a vendor which sell rev1 o rev2 silicon ? Wemos and MH ET are still rev0
@AndreasSpiess
@AndreasSpiess 6 років тому
I do not know of a rev2. I checked a few of my newer boards I unpacked in my mailbag and they hat rev1. The old AnalogLamb from last year had rev0.
@simonmasters3295
@simonmasters3295 6 років тому
Fantastic intro to the future of microcontroller technology. #Obviously not as complicated as its painted by some... The key take out for me is that while you are merging sketches and trying to cobble together code to run in an Arduino's tiny memory, the whole integrated environment thing can be up and going in much less time on a fractionally more expensive chip with more memory.
@AndreasSpiess
@AndreasSpiess 6 років тому
These processors are at least 10 years "younger" and therefore have much more resources (also speed and WiFi)
@tawsifbit
@tawsifbit 6 років тому
thank you so much for the video I got something to do on a Sunday. ..😊 will you be trying it also with RTOS.?
@AndreasSpiess
@AndreasSpiess 6 років тому
I am not sure about RTOS. First, I will concentrate on the Arduino IDE
@JorisBijnens
@JorisBijnens 6 років тому
I just bought a bunch of ESP8266.... : D So I hope you also keep making video's about them...
@AndreasSpiess
@AndreasSpiess 6 років тому
We will see. It is still a useful chip.
@ksmith7122
@ksmith7122 6 років тому
Nice video thanks. Helpful :) I tried esp32 for 1st time today. Was much easiear to get going than esp8266. I think most of the work was done with the first board. To get DO-IT ESP32 working 1. I had to change the upload speed to 115200 2. I had to hold boot button through out first upload but not after that. 3. The linux install script on the git hub site worked flawlessely; the only requirement was to change the install paths for my set-up. 4. Arduino IDE had some confusion with the Arduino_STM_32 library though that error remained and it compiled after the above changes. Now I know where I'm going I will install on my other laptop and carefully note the exact minimal install changes.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for your feedback. I flash all boards with 921000. Some boards like the press of the boot button and start uploading earlier.
@ksmith7122
@ksmith7122 6 років тому
Hi Andreas, my other laptop (second laptop) install was the same as you say in your comment above; it upload's to the ESP32 at 921000 and the boot button needs to be pressed on the first upload. The linux script did the complete install from start to finish without intervention. Then I went back to the first install (first lap top) and set that to 921000 and it's just fine too. I mis-understood something which is why I changed the settings (on the first install); the compiler reported a problem with the Arduino_STM_32 library after compiling and uploading to the ESP32 successfully. Because the error was reported after compilation and successful upload and because the compiler format is so different to either Arduino or ESP8266 compilation output, I did not check the narrow compiler window before the error. I liked that the ESP8266 LED blinked very fast while uploading; this gave more confidence that upload was happening. This does not happen on my ESP32. The linux install was cleaner and less hassle, I think, than the windows install in the video. Regards, Kes Smith
@AndreasSpiess
@AndreasSpiess 6 років тому
Glad to read that it works now!
@3dgussner958
@3dgussner958 6 років тому
video has a 3D printer sound in the background :-)
@MaxintRD
@MaxintRD 6 років тому
My first thought was: what is the hidden message of that Morse code beeping in the background? ;-)
@AndreasSpiess
@AndreasSpiess 6 років тому
I had a long 3D-job running...
@Hasitier
@Hasitier 6 років тому
Maybe he has printed a case for the new esp32
@AndreasSpiess
@AndreasSpiess 6 років тому
Something for the solar panels...
@AndreasSpiess
@AndreasSpiess 6 років тому
I never tested speeds on the ESP8266
@jainvibhore1997
@jainvibhore1997 4 роки тому
I've heard such clicking noise when I used a class D amplifier board with some ground loop issue. Nice tutorial though!
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you!
@thomasalexander1563
@thomasalexander1563 6 років тому
LIke this videos,, Wanna follow the journey of esp8266 and esp32.. The most underrated channel... Patreon much support this channel..
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks! For the moment, I decided to go without Patreon. Maybe I change my mind when I have 50'000 subscribers...
@filzli
@filzli 6 років тому
Hi Andreas, can you do a comparison / continuation to video #058? Would it make sense to use the ESP32 for long running deep sleep sensors? Like for example door opening sensors in places where there is no power available? I binge watched all your videos - great work :)
@AndreasSpiess
@AndreasSpiess 6 років тому
I will look at the deep sleep functionality, for sure...
@ay6394
@ay6394 6 років тому
Great Video! Could you please address the BLE RSSI scan issues? Also, how to use ESP32 with AWS?
@AndreasSpiess
@AndreasSpiess 6 років тому
This RSSI seems to be a very special topic. So, the chance is small that it will appear on my list soon. The forums are probably a better place to solve that one. And I do not know AWS so far...
@poweredbysergey
@poweredbysergey 6 років тому
Thanks!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@adabill295
@adabill295 6 років тому
I am using a UNO for its PWM capabilities ( I thought). I'm using it to run a heater for my Sous Vide cooker. It runs from 0 to 255. 255 is full power. the program recalculates the power 1/sec. So it remains steady for 1 second then changes to the next level for the next second. The ledcWrite is for turning up/down a LED over a given period/level. I guess there are a lot of PWM's, but the ledc one doesn't seem to be usable for my needs unless there is some hack to make it work as I need it!
@AndreasSpiess
@AndreasSpiess 6 років тому
The ledcwrite does the same as the PWM. It changes the duty cycle. So, you can use it for your scenario without much change. Replace the AnalogWrite with " ledcAnalogWrite" in the ESP32 example LEDSoftwareFade.
@diydsolar
@diydsolar 6 років тому
some info in advance about deep sleep power consumption ? and consumption in general ? great video !!!!!
@AndreasSpiess
@AndreasSpiess 6 років тому
No. I just started and had no WROOM32 module without any other parts available
@diydsolar
@diydsolar 6 років тому
Andreas Spiess thanks a lot for your UKposts channel !!!
@RTOHIO
@RTOHIO 6 років тому
Thank you for the very clear comprehensive videos. I have followed your instructions and have loaded all the code to get my new ESP32 going. I see all the board IDs and have connected my new esp32 DEV board, it lights up, and flashes the on board led. However, it does not show me an available port (port is greyed out) so I cannot try any of the examples. Do you know what I might try. I look forward to following your videos on the series, have subbed, and liked. Thanks again
@RTOHIO
@RTOHIO 6 років тому
Sorry to bother you, I had a bad USB cable. Port working now.
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@benjo77
@benjo77 5 років тому
Love you bro
@AndreasSpiess
@AndreasSpiess 5 років тому
:-)
@vishnunaikdhanavath
@vishnunaikdhanavath 6 років тому
The video was interesting I want to learn more functionalities by using ESP32. Can you tell me how to make ESP32 acts as a master for connecting other Bluetooth devices which are having the same version(4.2)?
@AndreasSpiess
@AndreasSpiess 6 років тому
I did not work with Bluetooth so far because it is not supported in the Arduino IDE
@smanet
@smanet 6 років тому
Well, I'm new to the ESP world - well, I'm quite to whole Arduino/IoT world :D - and I couldn't keep myself from ordering one... Hope more libraries/sketches will be ported to ESP32, it looks promising!
@AndreasSpiess
@AndreasSpiess 6 років тому
Some of them are already ported.
@ashokpokharel
@ashokpokharel 6 років тому
Another informative video !!!! .How to implement a LCD displays with ESP32 with built in library? I tried to implement it the code compiles fine without any modification but it not displaying any text.
@AndreasSpiess
@AndreasSpiess 6 років тому
I do not know yet.
@ashokpokharel
@ashokpokharel 6 років тому
Can you try in recent upcoming videos?
@jthrush
@jthrush 4 роки тому
I suspect the clicking during your musicbox test is due to the touch sensors, the board is probably automatically generating a signal to measure the change in capacitance and that signal is probably getting coupled to your audio output pin.
@AndreasSpiess
@AndreasSpiess 4 роки тому
Maybe you are right. I do not know.
@jthrush
@jthrush 4 роки тому
@@AndreasSpiess BTW I've been loving your channel since discovering it a few weeks ago. The ESP32 looks like just the board I've been looking for to replace my Arduino+nRF24L01 system. More processing power, built in wireless connectivity, smaller, and cheaper!
@Gutsu123
@Gutsu123 4 роки тому
So guet Andreas!! :D Witer so! Het me aube fascht vom Stuehl ghoue. Immer schön das biz ellbögele zu üsne amerikanische Fründe. xD
@AndreasSpiess
@AndreasSpiess 4 роки тому
:-)
@Gutsu123
@Gutsu123 4 роки тому
@@AndreasSpiess gseh grad, dass ig es unter s'falsche Video postet ha, wär das gsi ukposts.info/have/v-deo/cXR4pZ-oeGqlu6M.html Autoplay.... -.-
@MustafaHammood
@MustafaHammood 6 років тому
Hi Andreas, What are your thoughts on using Mongoose OS for programming the ESP32? The reason why I'm considering it because the project will probably involve AWS IoT integration and making use of the ESP32 deep-sleep functionalities
@AndreasSpiess
@AndreasSpiess 6 років тому
So far, I have no experience with mongoose
@freeelectron8261
@freeelectron8261 5 років тому
One aspect of IOT that has put me off is the lack of security, notwithstanding the lack of a dedicated MCU with all the necessary WiFi, BT and IO interfacing - it seems the ESP32 solves most of this. Looking forward to more videos.
@AndreasSpiess
@AndreasSpiess 5 років тому
One of my recent videos was about using SSL/TSL on the ESPs.
@ellisdeon
@ellisdeon 6 років тому
Now my esp32 can come out of the drawer !!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@TechnoAutomation
@TechnoAutomation 9 місяців тому
Running espnow on esp32 with continuous data transfer heating esp board. Are there any specific requirements to throttle up data sending rate for optimum heating??
@AndreasSpiess
@AndreasSpiess 9 місяців тому
You always can slow down the transmission frequency of packets by introducing wait states in your program (sleep). Or, if you want to save more energy, deep sleep.
@TechnoAutomation
@TechnoAutomation 9 місяців тому
@@AndreasSpiess thanks sir.
@TechnoAutomation
@TechnoAutomation 9 місяців тому
I have reduced 240mhz to 80mhz. & Use two frequencies for data sending. If sensor data is healthy then 1 hz. If data is Abnormal then 4hz.
@pepper669
@pepper669 6 років тому
Informative as ever, thanks! Can't wait to lay my dirty hands on one. If I remember correctly, I read somewhere that early versions of the ESP32 contained some hardware bugs. Have you heard of this, and if yes, can you confirm it?
@AndreasSpiess
@AndreasSpiess 6 років тому
No, I did not hear of it. But this does not mean anything, because I was not following the chip very closely
@coopermor
@coopermor 6 років тому
Espressif lists the current bugs and workarounds here: espressif.com/sites/default/files/documentation/eco_and_workarounds_for_bugs_in_esp32_en.pdf
@AndreasSpiess
@AndreasSpiess 6 років тому
I will publish a sketch where you can check the version of your chip...
@pepper669
@pepper669 6 років тому
Cool!
@ozancry
@ozancry 5 років тому
Hi Andreas, great video again. Is there a WifiManager library for esp32 as well? I want to save wifi credantionals when its in AP mode.thanks
@AndreasSpiess
@AndreasSpiess 5 років тому
I do not use WiFimanager. I use IOTappstory.com
@ozancry
@ozancry 5 років тому
@@AndreasSpiess thanks for your answer
@Techn0man1ac
@Techn0man1ac 6 років тому
Круто. Спасибо за обзор
@AndreasSpiess
@AndreasSpiess 6 років тому
Добро пожаловать!
@DARCIOSILVESTRESABBADIN
@DARCIOSILVESTRESABBADIN 4 роки тому
Tanx Herren Sir
@AndreasSpiess
@AndreasSpiess 4 роки тому
:-)
@roidroid
@roidroid 6 років тому
Very cool. Faved this vid too, coz of the PWM servo stuff, which is exactly what i want to do. Plans? To do PWM to control a lot of servos... like... so many servos. All the servos. I have specific plans in mind, but honestly i'm just curious what the limit is. I'll be controlling it via a smartphone or PC, and will interface to the ESP32 via wifi or bluetooth. I'm starting off with the ESP8266 tho (extending the IO with cheap shift registers). Because making it as cheap as possible is honestly the funnest part. When i get to the point i can't drive any more PWM signals without breaking wifi, then the ESP32 will look like a mighty fine next step.
@AndreasSpiess
@AndreasSpiess 6 років тому
At least, you should have more pins... Maybe you have a look at that: hackaday.io/project/21069-harifun-150-playing-with-esp32
@roidroid
@roidroid 6 років тому
Yeah Hari is great. I'm interested in which GPIO pins can/can't output PWM. A few months ago i took notes to try to find out: From what i understand, the bare module ESP32 has 38x pins (39x if you include the GND plane on it's back), of which 32x are GPIO pins. 18x of these GPIO pins will probably output PWM easily, 6x of them probably won't, and the remaining 8x i'm not sure about. I'd ask if you could do some quick tests on the GPIO pins to see which ones can output PWM. But i'm a bit confused already: I'm not sure what GPIO pins you have available on your breakout modules. The LOLIN32 breakout board linked in the description seems to have 36x pins, of which 26x are GPIO. But the spreadsheet at 4:47 only shows 22x GPIO pins, if this is the WROOM32 then it should have 32x GPIO pins.
@roidroid
@roidroid 6 років тому
ah i notice that the 4x missing pins on your spreadsheet list of 22x are the VN VP pins (these are input only), and the TX(GPIO1) RX(GPIO3) pins which i guess you're already using for serial.
@roidroid
@roidroid 6 років тому
i also suspect that: 32 33 won't work coz they're connected to the crystal. 34 35 won't work coz they (along with VN VC) are input-only pins. Hari's video confirmed that these work: 5...12 13 14 15 16 17 18 19...21 22 23 That leaves these 8x pins that are still unproven: 0 2 4 25 26 27 (plus 1 & 3 that you're using for serial). phew.
@AndreasSpiess
@AndreasSpiess 6 років тому
According the data sheet, the WROOM32 has 22 IO pins to be used. The others are flash and serial interfaces, and two for sensor op-amp (espressif.com/en/support/download/documents?keys=&field_type_tid%5B%5D=54)
#149 ESP32 Deep Sleep, RTC Memory, "Secret" LoLin Pins
13:28
Andreas Spiess
Переглядів 145 тис.
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 705 тис.
[실시간] 전철에서 찍힌 기생생물 감염 장면 | 기생수: 더 그레이
00:15
Netflix Korea 넷플릭스 코리아
Переглядів 36 млн
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 455 тис.
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
The Pen That Changed The World
9:17
Primal Space
Переглядів 48 тис.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 194 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 145 тис.
ESP32 WiFi Range Testing - 10km using Directional Antenna
5:42
#363 Which ESP32 pins are safe to use?
11:53
Andreas Spiess
Переглядів 123 тис.
Power AC Coolness with Anker SOLIX F3800
0:27
Anker SOLIX
Переглядів 3,1 млн
Самая редкая видеокарта от SONY
13:51
Nitroxsenys
Переглядів 52 тис.
Ошибка в калькуляторе iPhone
0:22
Romancev768
Переглядів 1 млн