#147

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • 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

  • @HariWiguna
    @HariWiguna 7 лет назад +5

    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  7 лет назад

      You are welcome. I think, you used yours recently for the servo project...

  • @vizmohanan
    @vizmohanan 6 лет назад +2

    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 :)

  • @deangreenhough3479
    @deangreenhough3479 7 лет назад +19

    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 7 лет назад +7

      "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 7 лет назад +1

      Paul Geraghty I have to agree totally 👍

    • @MartinBgelund
      @MartinBgelund 7 лет назад +3

      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  7 лет назад +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 лет назад +1

      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.

  • @your-digital-bodyguard
    @your-digital-bodyguard 6 лет назад +1

    Andreas, I am always impressed with your videos, I thank you for taking something difficult and making it easy for others to understand!!!

  • @Wowthatsfail
    @Wowthatsfail 7 лет назад

    Mr Andreas I am very appreciative of your coverage of the esp32, I look forward to more 👍🏻

  • @HansVledder
    @HansVledder 7 лет назад +2

    Excellent video Andreas! I am looking forward to opening up my drawer and start making some sparks with the ESP32's in there ...

  • @jamestate7851
    @jamestate7851 5 лет назад

    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  5 лет назад

      You are welcome. I still get complaints about my too small letters ;-)

  • @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!

  • @jacquesdebouche1082
    @jacquesdebouche1082 7 лет назад

    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

  • @Perspectologist
    @Perspectologist 7 лет назад

    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  7 лет назад +1

      So, you are the one who takes it out of the drawer ;-)

  • @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.

  • @TheRealKitWalker
    @TheRealKitWalker 5 лет назад +2

    Quite comprehensive! Loved watching every bit of it. You got yourself a new subscriber in me. I'm excited about the next video. :)

  • @erygion
    @erygion 5 лет назад

    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 года назад +1

      The advantage of RUclips is that the old videos stay online...

  • @dozog
    @dozog 6 лет назад +2

    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!

  • @omaryanas435949
    @omaryanas435949 7 лет назад +4

    Finally... My weekly dose of esp, thank you andreas spiess.

  • @deangreenhough3479
    @deangreenhough3479 6 лет назад

    This has been a great help and a great place to setup your ESP32.

  • @theaddies
    @theaddies 7 лет назад +2

    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  7 лет назад

      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 4 года назад

      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 7 лет назад +3

    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  7 лет назад

      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 7 лет назад +2

      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  7 лет назад +1

      Thanks for your contribution. I am sure, it will help others!

  • @ranger81de
    @ranger81de 7 лет назад

    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 :-)

  • @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.

  • @Biky750
    @Biky750 7 лет назад

    a big thank you to you! Evn so I have no time for such projects right now I like to watch your RUclipss!

  • @ismzaxxon
    @ismzaxxon 6 лет назад

    i am now into esp32 now. glad you are getting into them

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      I think I started already quite long ago covering them ;-)

  • @PhG1961
    @PhG1961 7 лет назад

    Great video ! I'll take this into consideration for future projects.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I think, you can take your time if you do not need a lot of pins...

  • @shanebekker
    @shanebekker 7 лет назад

    Looking forward to the rest of this series.

  • @GeekMustHave
    @GeekMustHave 7 лет назад

    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.

  • @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…

  • @uforex911
    @uforex911 7 лет назад +1

    Exciting for this ESP32 Andreas :)!

  • @MrDeicide1
    @MrDeicide1 7 лет назад +73

    I can't go through one of your videos without learning, in a perfectly structured, methodical order.
    That's just mean, Andreas....
    RUclips is supposed to be mindless fun :(
    Fantastic chip with , indeed, mind-boggling possibilities.
    Now off to build a space ship...

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +18

      Obviously, RUclips 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!

  • @MauroSedrani
    @MauroSedrani 7 лет назад

    Awesome as usual. Thanks Andreas!

  • @chuxxsss
    @chuxxsss 7 лет назад

    Another wonderful video thanks Andreas.

  • @Ncky
    @Ncky 7 лет назад +1

    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

  • @vladimirastrelin1719
    @vladimirastrelin1719 Год назад

    Thanks a lot for a great lesson !

  • @johnerrington9371
    @johnerrington9371 7 лет назад

    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  7 лет назад

      Me too would love to know how it goes ;-) But I will try to find out.

  • @williammiller4143
    @williammiller4143 7 лет назад

    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 7 лет назад

      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  7 лет назад

      Thanks for your comment. Would be also interested in your experience with Mongoose

    • @williammiller4143
      @williammiller4143 7 лет назад

      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  7 лет назад

      Thanks!

  • @IronRiviera
    @IronRiviera 7 лет назад +1

    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.

  • @desy666
    @desy666 6 лет назад

    Useful as usual, thank you Andreas! ;)

  • @djjoni2
    @djjoni2 7 лет назад

    The control looks interesting with all of those types of pins.

  • @maxisadog9484
    @maxisadog9484 6 лет назад

    Viva Schweiz! Great Information. ESP32 ordered and on it's way...

  • @CharlesSnyder
    @CharlesSnyder 7 лет назад +4

    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  7 лет назад +1

      Maybe I will use the WS2812 in one of my future videos. But, so far, I have no plans

  • @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!

  • @galalahmedfahmy5482
    @galalahmedfahmy5482 6 лет назад

    Excellent presentation, thank you

  • @waltsteinchen
    @waltsteinchen 7 лет назад

    Once again, all thumbs up Andreas!!

  • @MMphego
    @MMphego 7 лет назад +40

    I still wonder as to why people dislike, Andreas video's as their detailed and straight to the point!!!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +1

      :-)

    • @yekutielbenheshel354
      @yekutielbenheshel354 7 лет назад +4

      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 RUclips 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.))

  • @betojasz
    @betojasz 7 лет назад +3

    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  7 лет назад +1

      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.

  • @mikehudson3620
    @mikehudson3620 7 лет назад

    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).

  • @tedder42
    @tedder42 7 лет назад

    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  7 лет назад

      Maybe, together we will be able to change this? I think, it is time now...

  • @HemangJoshi
    @HemangJoshi 6 лет назад +1

    Dear sir,
    Your are really good at teaching...

  • @SA-oj3bo
    @SA-oj3bo 7 лет назад

    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  7 лет назад +1

      I read, that it only measures the capacity. But it has to be calibrated to the particular situation.

  • @johmif
    @johmif 7 лет назад

    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  7 лет назад

      I have not plans, I will pick topics which I think, are interesting...

  • @pablozizzutti2199
    @pablozizzutti2199 7 лет назад

    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  7 лет назад +1

      I have no plans with the A20 board for the moment.

  • @Vacation_Vibes
    @Vacation_Vibes 7 лет назад

    🥇ich kann nicht mehr warten die neue Episode ESP32

  • @avejst
    @avejst 7 лет назад

    Thanks for sharing. Nice work-thou :-)

  • @davidjenkins8675
    @davidjenkins8675 7 лет назад

    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.

  • @das250250
    @das250250 7 лет назад

    Great work Andreas

  • @XerotoLabs
    @XerotoLabs 7 лет назад

    great video . informative as ever

  • @user21XXL
    @user21XXL 7 лет назад

    ahh the new possibilities, thx for sharing

  • @miguelestrada2011
    @miguelestrada2011 3 года назад

    I'm wondering how interesting are your videos! thanks

  • @jucerago
    @jucerago 2 года назад

    Awesome, Thank you.

  • @PeterSek
    @PeterSek 7 лет назад +1

    Great video, thank you

  • @tamaschovanec3251
    @tamaschovanec3251 5 лет назад +1

    Excellent vid. Thx!

  • @pch4287
    @pch4287 6 лет назад

    very helpful video. Thank you

  • @wouladjecabrelwen1006
    @wouladjecabrelwen1006 4 года назад

    Interesting content

  • @istvanzilizi6194
    @istvanzilizi6194 7 лет назад +8

    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  7 лет назад

      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...

  • @joshuanulton1403
    @joshuanulton1403 7 лет назад

    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  7 лет назад +1

      There are a few playlists which help organizing the content. Plus the search function of RUclips (spiess + topic you search). But, feel free to propose another way of organizing

    • @tubical71
      @tubical71 6 лет назад

      simply create a playlist yourself...;)

  • @onlyrgu
    @onlyrgu 7 лет назад

    thanks for the video ...considering esp32 for a indoor home irrigation project

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      So, please share your experiences when you are done!

  • @droneconnect2145
    @droneconnect2145 7 лет назад +1

    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  7 лет назад

      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.

  • @johnmorrison6814
    @johnmorrison6814 7 лет назад +8

    Just a suggestion for a future video. What is the power usage like compared to the esp8266. Under real life conditions.
    Thanks!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +3

      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 7 лет назад +2

      John Morrison I did some initial tests. Wifi ON power consumption was around 150 mA

    • @johnmorrison6814
      @johnmorrison6814 7 лет назад +1

      :) 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 :)

  • @ravishanker9014
    @ravishanker9014 6 лет назад

    Thank you very much for this nice tutorial thank you ....

  • @JorisBijnens
    @JorisBijnens 7 лет назад

    I just bought a bunch of ESP8266.... : D So I hope you also keep making video's about them...

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +1

      We will see. It is still a useful chip.

  • @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).

  • @ay6394
    @ay6394 7 лет назад

    Great Video! Could you please address the BLE RSSI scan issues? Also, how to use ESP32 with AWS?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +1

      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...

  • @Gutsu123
    @Gutsu123 5 лет назад

    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  5 лет назад

      :-)

    • @Gutsu123
      @Gutsu123 5 лет назад

      @@AndreasSpiess gseh grad, dass ig es unter s'falsche Video postet ha, wär das gsi ruclips.net/video/9DGqiqA4tZo/видео.html Autoplay.... -.-

  • @vishnunaikdhanavath
    @vishnunaikdhanavath 6 лет назад +1

    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

  • @tawsifbit
    @tawsifbit 7 лет назад +1

    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  7 лет назад

      I am not sure about RTOS. First, I will concentrate on the Arduino IDE

  • @filzli
    @filzli 7 лет назад

    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  7 лет назад +1

      I will look at the deep sleep functionality, for sure...

  • @MustafaHammood
    @MustafaHammood 7 лет назад +1

    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  7 лет назад +1

      So far, I have no experience with mongoose

  • @MaxintRD
    @MaxintRD 7 лет назад

    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  7 лет назад

      Where do you see the biggest support problems?

    • @MaxintRD
      @MaxintRD 7 лет назад +1

      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  7 лет назад +1

      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 7 лет назад

      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.

  • @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)

  • @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 лет назад +1

      Glad to read that it works now!

  • @MaxSMoke777
    @MaxSMoke777 6 лет назад +1

    Could you make a video telling us how to use the Arduino IDE to check the battery power of an ESP32 device? I've been all over the internet and people keep saying it's possible, but I've seen no sketch and their code examples always fail. The #1 thing a battery powered project needs is a means of displaying the remaining power and I know the ESP32 has some means of doing so, but I can't find anything on actually using it.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Maybe I will include it in one of my videos

  • @jainvibhore1997
    @jainvibhore1997 4 года назад +1

    I've heard such clicking noise when I used a class D amplifier board with some ground loop issue. Nice tutorial though!

  • @adabill295
    @adabill295 7 лет назад

    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  7 лет назад

      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.

  • @RTOHIO
    @RTOHIO 7 лет назад

    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 7 лет назад

      Sorry to bother you, I had a bad USB cable. Port working now.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      :-)

  • @wei48221
    @wei48221 7 лет назад

    Great video.. Love it..

  • @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.

  • @ashokpokharel
    @ashokpokharel 7 лет назад

    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.

  • @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!

  • @justpaulpez
    @justpaulpez 6 лет назад

    Hello - I just caught the little tid-bit on video #103 about the espressif tools being in the wrong place. I copied the espressif folder(s)... to Program Files(x86)/Arduino/hardware/ but I only get the ESP8266 boards. Looks like I need an update. I'll keep digging!

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      There are two important places for the Arduino IDE. You find both directories in your preferences tab: Ine at the top (Sketchbook location) and one at the bottom (More preferences...). On my computer, the ESP8266 things were automatically installed in the second folder. As shown in this video I installed the ESP32 files in the first folder. This has the advantage that it is not protected by Windows and you do not need to run the get.exe as an administrator.

  • @diydsolar
    @diydsolar 7 лет назад

    some info in advance about deep sleep power consumption ? and consumption in general ? great video !!!!!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +2

      No. I just started and had no WROOM32 module without any other parts available

    • @diydsolar
      @diydsolar 7 лет назад

      Andreas Spiess thanks a lot for your RUclips channel !!!

  • @aalizwel2061
    @aalizwel2061 6 лет назад +1

    Thank You

  • @marinehm
    @marinehm 6 лет назад

    Can you explain the assignment of pin numbers using the esp32?. About a year ago, I was introduced to arduino. Then, I quickly discovered the Wemos chips and tucked the Arduino onto a shelf. So it may be native to you but all I know is how to address the pins as D0..D8. Thanks. I suppose, just looking at some sketches, I will quickly catch on

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I think I mention it in one of my videos: You have to forget the D numbering and just use plain numbers on the ESP32 (even if some boards name their pins Dx)

  • @smanet
    @smanet 7 лет назад

    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!

  • @thomasalexander1563
    @thomasalexander1563 7 лет назад

    LIke this videos,,
    Wanna follow the journey of esp8266 and esp32..
    The most underrated channel...
    Patreon much support this channel..

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +1

      Thanks! For the moment, I decided to go without Patreon. Maybe I change my mind when I have 50'000 subscribers...

  • @justpaulpez
    @justpaulpez 6 лет назад

    Hello Andreas, I really enjoy your presentation of the subject. Step-by-step and very thorough. However, I'm stuck and perhaps you can help. I've gone through the Windows installation steps but don't have any ESP32 boards to select in Arduino IDE. (And I get compile/upload errors with any of the ESP8266 boards) What did I miss? Thanks! - Paul

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I do not know what you missed. Please do not mix the ESP8266 and the ESP32 support. They have nothing in common. Install the first till it runs and then the second.
      Hint: If you install the ESP32 files in a directory below "program files" you have to run get.exe as an administrator.

  • @clydealcott3379
    @clydealcott3379 2 года назад

    I was working on a similar projects which read the touch sensor from the gpio pin and output different tone as supposed to a piano, well I call it the touch piano... However, I encountered a bug that force me to abandoned the project. When I powered on the board it play automatically without touching the pins and it plays in a random order.
    Perhaps if you could share your code that might help me finish my project.
    As always thank you so much for this very informative video.
    Keep up the good work Sir.

    • @AndreasSpiess
      @AndreasSpiess  2 года назад +1

      I assume you have to calibrate the values when you startup your sketch (measure the values without touching and adjust your if statements)

  • @mounirabdallah1828
    @mounirabdallah1828 7 лет назад

    First of all Great Thanks for the guy with the swiss acc. ☺☺
    second , can we port contiki os to the nodemcu ? i mean there are so many capabilities that we can get using Contiki OS and it's cross level emulator cooja
    thanks in advance.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I think, this question has to be asked in the Contiki forums. The initiative has to come from there.

  • @DARCIOSILVESTRESABBADIN
    @DARCIOSILVESTRESABBADIN 5 лет назад

    Tanx Herren Sir

  • @EduardoMartinez-dm5pp
    @EduardoMartinez-dm5pp 6 лет назад

    The clicking sound at 13:05 is the sound of the radioactive energy spreading all over the room D: hahaha just kidding

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      You have to know: We Swiss are very energetic people ;-)

  • @taoufikulislam
    @taoufikulislam 6 лет назад +1

    Hello Andreas, first I would like to thank you for making so well explained tutorial series. Now let's talk about the problem. I am using NodeMCU32s. The Wi-Fi built in led control works fine with pin configuration changes (in my case pin 2 and not inverted as your wemos32). However, if Want to put more pins the firmware even does not gets uploaded. Any probable idea what is the solution?

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      In one or two of my ESP32 videos, you find a list of all ESP pins. Some are forbidden to be used (e.g. RX0 TX0) because they block your whole system.
      One thing I do not understand why it is not uploaded. What was the error message then?

    • @taoufikulislam
      @taoufikulislam 6 лет назад +2

      Hi, thanks for replying. Yes! I was able to finally figured it out after looking for several hours of research. Those pins i was trying (GPIO6,7,8) they are connected to the esp memory chip. thats why it was not getting uploaded.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      That is what I thought. This is why they are RED in my Excel table presented in my videos. You could have saved some of the hours ;-)

  • @Elektronik-1
    @Elektronik-1 6 лет назад

    Hallo! Ich fange grade an mich mit dem ESP32 zu beschäftigen. Habe es gestern nur mal kurz an den PC gesteckt und ein Terminal gestartet. Da kommt dann ne Startmeldung und jede Sekunde ein kurzer Text. Deshalb meine Frage: Kann man mit dem Modul auch etwas anfangen ohne es zu programmieren? Ist da schon irgendwas im Flash? Und wenn man es dann programmiert - wird dann evtl. etwas gelöscht, das man nicht mehr wieder herstellen kann?

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Man kann mit diesem Modul nichts anfangen ohne es zu programmieren und es wird immer alles gelöscht und durch das neue Programm ersetzt. Offenbar hat jemand vor dir etwas reingeschrieben. Das machen die Hersteller manchmal für ihre Tests

    • @Elektronik-1
      @Elektronik-1 6 лет назад

      Danach sieht es aus. Das zu löschen ist dann wohl kein Verlust. Danke.