Why ESP32's Are The Best Microcontrollers (ESP32 + Arduino series)

Sdílet
Vložit
  • čas přidán 9. 09. 2024
  • The ESP32 is a very powerful microcontroller with built-in WiFi and Bluetooth, a dual-core CPU and a lot of memory.
    In this video I'll go over all of the features and explain why it's possibly the best chip to use for your next IoT project!
    ⚡️Other videos in this series:
    • ESP32 + Arduino
    (Everything you need to know about programming the ESP32 by using the Arduino Framework)
    🌍 Social
    Twitter: / savjee
    Facebook: / savjee
    Blog: savjee.be
    Become a Simply Explained member: / @simplyexplained

Komentáře • 120

  • @Evilslayer73
    @Evilslayer73 Před 8 měsíci +10

    esp32 is a little gem to have in hands it goes from portable game console ,to robotics etc i love this little module! and very easy to work with and im just an amateur!!

  • @LightTubes
    @LightTubes Před 4 lety +83

    For a moment your voice sounds like Great Scott's voice 😁👌

  • @emilybendsspace
    @emilybendsspace Před 2 lety +25

    PWM stands for pulse-width modulation, not power management. You can vary average power to an LED using this, but that's not all, and this is really a capability of the analog outputs pins, there's no chip dedicated to managing LEDs specifically.

    • @vaughndoyle5489
      @vaughndoyle5489 Před 5 měsíci +2

      This is true, it's understandably confusing for hobbiest since the PWM module is called the LED controller (LEDC) in espressifs documentation.

    • @PurpleMomgoose
      @PurpleMomgoose Před 8 dny

      ​@@vaughndoyle5489seriously? Wow, that's a bad oversight.

  • @TheRussianhippie
    @TheRussianhippie Před 3 lety +26

    The ESP32 is fantastic and is now my default micro-controller for most projects. However it requires a lot of power to operate and that can create a signifigant challenge for battery powered IoT devices that need to run for a long time. Still, fantastic microcontroller and great for a ton of applications and managing sleep mode properly it can lower power consumption massively.

    • @hippopotamus86
      @hippopotamus86 Před rokem +7

      It actually uses less power than an Arudino uno with a basic script running. In hibernation mode, it uses about the same. Perfect for IoT devices, in fact, plenty of IoT devices already use ESP 32's and can last a year or more on a small button battery.

    • @Readwriter01
      @Readwriter01 Před 21 dnem

      What would be a alternative to the esd32 that would satisfy these demands? Raspberry pi5?

  • @NickTheHunter
    @NickTheHunter Před 3 lety +10

    Thank you! Exactly what I needed. Concise and informative! All the other people just brag about it “for hours”!

  • @sparkymarkm322
    @sparkymarkm322 Před 4 lety +15

    Thanks for the great series! I've been away from microcontrollers for around three years, decided to get back in lately but with espressif chips instead of arduinos, and I've been floundering around all day today trying to find may way around. You've given me a lot to start with and I was glad to see I can code right there in VS Code!

  • @mikoaj1321
    @mikoaj1321 Před 3 lety +43

    One disadvantage is they don't properly fit on breadboards (unless you use two breadboards side by side).

    • @cj37373
      @cj37373 Před 3 lety +1

      Another one is the low quality of analog digital conversion on ESP-32

    • @orange_tweleve
      @orange_tweleve Před 7 měsíci

      ​@@cj37373for me using grounded wires and grounded case for the potentiometer and powering the esp32 via a battery really helps to tone down the noise to basically 1 or 2 digits on the 4095 range which is pretty useful compared to having 40 -30 variation before without these

    • @LungsMcGee
      @LungsMcGee Před 10 dny

      @@cj37373 Another on is the pesky 3.3V

    • @PurpleMomgoose
      @PurpleMomgoose Před 8 dny

      ​@@cj37373 what resolution is their ADC??

  • @user-hv2tg3ii8m
    @user-hv2tg3ii8m Před 10 měsíci +5

    Thank you very much for sharing ESP32. It is very helpful to me and ESP32 is a great small projects.

  • @ChathuYasas
    @ChathuYasas Před 7 měsíci +1

    I have used ESP32 devices and it is interesting to do. So, I think this is a good video for beginners.

  • @peterlaikc
    @peterlaikc Před 3 lety +4

    Thanks for the introduction to ESP32. You mentioned Voice Recognition, could you explain further on this topic?

  • @PraveenMax
    @PraveenMax Před 3 lety +3

    Thanks for the short yet detailed video on ESP. I was planning to move away from Arduino and found this.👌👌👌

  • @abymohanan9403
    @abymohanan9403 Před 3 lety +2

    Thank you so much for this video

  • @gustavocardenas6489
    @gustavocardenas6489 Před 2 lety +1

    Awesome playlist. Thank you very much for the effort. You've got new subscriber :)

  • @thefatmoop
    @thefatmoop Před 3 lety +3

    OTA updates over the internet. Pr9bably the biggest pro if you're using in a product

  • @ArduinoTex
    @ArduinoTex Před rokem +2

    ESP32 is a great board for small projects.

  • @audigex
    @audigex Před 3 lety +5

    I’d be interested to see a comparison of this vs the Raspberry Pi Pico

    • @simplyexplained
      @simplyexplained  Před 3 lety +4

      Great suggestion! I will try to get my hands on one ;)

    • @lovemadeinjapan
      @lovemadeinjapan Před 2 lety

      When two dogs fight for a bone (ESP and Pico) the third dog takes it away (Teensy 4).

  • @kavorka8855
    @kavorka8855 Před rokem

    The reason why the chip is powerful, it's Tensilica core processor. Thank you for the video.

  • @Ownedyou
    @Ownedyou Před 3 lety +3

    Far from all Arduino libraries work with ESP32. Though there is usualy a way around it. Had to rewrite code using libraries that dealt with timers in a ATMega specific ways...

  • @frankdearr2772
    @frankdearr2772 Před 4 měsíci

    Great topic, thanks 👍

  • @floehr
    @floehr Před 4 lety +3

    Great videos! What software do you use to create your animations and edit your videos?

  • @MajorCaliber
    @MajorCaliber Před rokem +1

    ChiCom Express! 🤔🤨😱

  • @64-bit63
    @64-bit63 Před 2 lety +1

    Camt wait for the esp64

  • @msg1956
    @msg1956 Před 9 měsíci

    Excellent..!

  • @qzorn4440
    @qzorn4440 Před rokem

    the LILYGO® TTGO T-CAN485 ESP32 CAN Modbus rtu RS-485 Supports TF Card WIFI Bluetooth Wireless is also a very good project board.. thanks.

  • @mdzaid5925
    @mdzaid5925 Před rokem

    This looks so good when compared to arduino...

  • @debihsofiane3229
    @debihsofiane3229 Před 3 lety

    Thank you

  • @basmaal-ghali9174
    @basmaal-ghali9174 Před 4 lety

    Thanks

  • @sagarghode9016
    @sagarghode9016 Před 4 lety +1

    Nice

  • @raba650
    @raba650 Před rokem

    What are some entry jobs that lead to an embedded job while you learn to program?

  • @user-hv2tg3ii8m
    @user-hv2tg3ii8m Před 8 měsíci

    I want to know more eps32😁

  • @xialemai6412
    @xialemai6412 Před 4 lety +12

    It's not better. It's different.
    Most Arduino project I'm doing don't require wifi or BT, or the fancy extras of the ESP32.
    One thing you haven't mension that is, to me, an advantage of this board, is that it's operating voltage is 2.2 to 3.6V, not Arduino's 5V.

    • @simplyexplained
      @simplyexplained  Před 4 lety +6

      True, I should've mentioned that it depends heavily on your use case. For me personally, I want all my sensors to report their state back to Home Assistant. But use case vary.
      Yep, the input voltage is something I should've mentioned as well. Thanks for the feedback!

    • @xialemai6412
      @xialemai6412 Před 4 lety +1

      @@simplyexplained You're welcome :)

    • @omniyambot9876
      @omniyambot9876 Před 3 lety +9

      What? It's better. In absolutely everything, I mean everything. Just a little bit of brain. It's better, not twice, not thrice, but several multiple times in every aspect. Okay? Period.

    • @LawrenceRitchie
      @LawrenceRitchie Před 3 lety

      Normally, I'd get an Arduino because it's way cheaper, but would go for this if I need more memory or BT/Wi-Fi etc. -- it's still pretty cheap

  • @Jakecodezz
    @Jakecodezz Před 9 měsíci

    How about now?

  • @tcl78
    @tcl78 Před 2 lety +1

    What if i don't want to use the Arduino Framework at all? What are the alternatives? Does it have its own framework?

  • @lxw5231
    @lxw5231 Před 4 lety +3

    I wonder , such a powerful SoC, why it's so cheap compare Arduion? 8$ vs 12$.

    • @lxw5231
      @lxw5231 Před 3 lety

      it don't publish detail data sheet.

    • @simplyexplained
      @simplyexplained  Před 3 lety +4

      I guess it has to do with volume. The esp32 and esp8266 are used in millions of devices, where as Arduino is more limited to hobbyists.
      Also: the datasheet of the chip is available. First result on Google.

    • @pengyuecai553
      @pengyuecai553 Před 2 lety

      @@simplyexplained The current 8-bit price increase of AVR is because after microchip acquired atmel, it gave its status to PIC to suppress AVR and clear its inventory. In addition, the process of AVR is relatively old, and there are fewer factories for manufacturing and packaging, and the price will become more and more expensive.

  • @benmenorjr.1032
    @benmenorjr.1032 Před 3 lety +2

    Can this be use in actual poduction? Functioning 24/7? If not what do you suggest? Thank you for info!

    • @JohnSmith-fq3rg
      @JohnSmith-fq3rg Před 3 lety +1

      Stay away from anything arduino or rasberry pi if you intend to rely on it 24/7.

    • @tolzidan
      @tolzidan Před 3 lety +1

      @@JohnSmith-fq3rg The ESP2866 and ESP32 are both used in pretty high volume devices on the market. However these are pretty powerfull chips and use a decent bit of power to work so you'll want to review your requirements with that in mind.

    • @JohnSmith-fq3rg
      @JohnSmith-fq3rg Před 3 lety

      @@tolzidan I know they are used in high volume stuff, but in use they have a reputation for unreliability. They can't be trusted to serve in place of micro controllers in many applications, especially if they handle safety systems, as long as you don't rely on them for the wrong things, they are great. Not cheap, but if you need their capabilities, it's great. Especially the Arduino's, the ESP's a much better but still not trustable in critical applications.

    • @michealdumasii5432
      @michealdumasii5432 Před 3 lety +1

      @@JohnSmith-fq3rg what would you consider to be good for a 24/7 operation? I'm starting a project using an electric motor and programming a speed control and different things. But eventually when I master what I'm doing I would like for something to be able to operate 24/7.

    • @adoSrelliK
      @adoSrelliK Před 2 lety

      @@michealdumasii5432 Hey, I'm doing a similar project. What did you end up using???

  • @dileepgowda6586
    @dileepgowda6586 Před 3 lety

    how to receive data from rs232 to esp32 using rts and cts in arduino please help me

  • @sepehrsaberi4360
    @sepehrsaberi4360 Před 3 měsíci

    Is it possible to program with ST Link V2?

  • @MrKYT-gb8gs
    @MrKYT-gb8gs Před rokem

    Dual core on something the size of my thumb... Insane...

  • @igeorge688
    @igeorge688 Před 3 lety

    I developed an anti theft device with ESP32 DOIT.
    I want to change and move it to ESP32 HUZZAH32.
    I read the whole data sheet but i am confused about the pins i can use without any conflict.
    On the DOIT i had, first a membrane keypad.
    4 Outputs for horizontal lines with the following GPIO:
    KH1-26
    KH2-19
    KH3-18
    KH4-23
    3 Inputs for vertical line. Each line is pulled up by 1K resistor:
    KV1-35
    KV2-33
    KV3-34
    2 Leds Outputs:
    Red-21
    Green-22
    1 Output = Enable control line for your Adafruit MiniBoost 5V @ 1A - TPS61023:
    Pwr_On-5
    1 Input from and RFID Reader (TX-line of the reader)
    RFID_In-25
    Please be so kind and help me to select the corresponding GPIO or GPIn to move the whole project to ESP32 Huzzah32

  • @knysliux001
    @knysliux001 Před 3 lety +3

    PWM stands for Pulse Width Modulation

    • @Jupa
      @Jupa Před 14 dny

      Pussy money weed

  • @ftrstudio7557
    @ftrstudio7557 Před 2 lety

    Is esp32 having ATMEGA32U4

  • @heemagauss8691
    @heemagauss8691 Před 2 lety

    How to fall in love with ESP32 in 2:36 minutes

  • @AcidiFy574
    @AcidiFy574 Před 2 lety

    what about the ESP8226 ??

  • @ameliabuns4058
    @ameliabuns4058 Před rokem

    Esp32 is incredible and cheap but there's no Best microcontroller
    And also. It doesn't have DMA2D and LTDC or a DSI interface. Does it? (I'm genuinely not sure I'm asking!)

  • @climbeverest
    @climbeverest Před 10 měsíci

    Does the esp32 come factory installed with an operating system? Please forgive the stupid question.

    • @simplyexplained
      @simplyexplained  Před 10 měsíci +1

      Some ship with a basic program that blinks the LED, but some ship without any programming at all.

  • @mazinalrasheed5087
    @mazinalrasheed5087 Před 3 lety

    Ok how can I build flight computer
    Or where I can find it please

  • @Gerald-iz7mv
    @Gerald-iz7mv Před rokem

    Isnt a arm cortex more energy efficient?

  • @georgegeorge899
    @georgegeorge899 Před 2 lety

    👍

  • @gingercholo
    @gingercholo Před 3 lety +1

    wish this was micropython instead of garduinos.

  • @thewanderingguy5436
    @thewanderingguy5436 Před 2 lety

    Can i use as alternatif for Arduino nano??

  • @JohnSmith-fq3rg
    @JohnSmith-fq3rg Před 3 lety +6

    The best microcontroller depends on the project. This is way to expensive for many projects.

    • @EspenSwane
      @EspenSwane Před 3 lety

      What is the cheapest microcontroller with WIFI?

    • @KingdomChablo
      @KingdomChablo Před 3 lety +5

      It's not 😂 the esp is one of the cheapest boards on the market

    • @JohnSmith-fq3rg
      @JohnSmith-fq3rg Před 3 lety

      @@KingdomChablo It's not even close to the cheapest micro out there.

    • @KingdomChablo
      @KingdomChablo Před 3 lety +6

      @@JohnSmith-fq3rg you can get this device for 7 dollars on Amazon. Teensy 4.1 is like 30 dollars. The original arduino nano is 20 dollars. WTF u talking about.

    • @JohnSmith-fq3rg
      @JohnSmith-fq3rg Před 3 lety +1

      @@KingdomChablo 28 pin dip Pic16's are under a dollar on ebay, you don't seem to know what a microcontroller is, lmao

  • @Batsboem1
    @Batsboem1 Před 5 měsíci

    and just 50 cents on alie express

  • @-gero-7429
    @-gero-7429 Před 3 lety

    It's better in micropython

  • @orthodoxNPC
    @orthodoxNPC Před 2 lety

    nothing important happens on an ESP32... extremely limited in protocols, extremely limited in DMA... hobbies only

  • @zs1021
    @zs1021 Před 2 lety

    ESP32 is from China.

  • @Alkis05
    @Alkis05 Před rokem

    And it is super cheap.

  • @typingcat
    @typingcat Před 3 lety +1

    "A ton of memory"
    Has 512KB of RAM.
    Even 8MB seems small.

    • @simplyexplained
      @simplyexplained  Před 3 lety +5

      Haha, true! But for a microcontroller this is truly a lot of memory to play with!

    • @tangwoonthai
      @tangwoonthai Před 2 lety

      Until you need to write 8MB of code...

    • @lemagreengreen
      @lemagreengreen Před 2 lety +1

      What RAM heavy tasks are you giving to a tiny microcontroller though?

    • @snorman1911
      @snorman1911 Před rokem

      Arduino has 2kB of RAM so this seems absolutely huge in comparison. And, it's a microcontroller - not a PC.

  • @drevilatwork
    @drevilatwork Před 3 lety

    Anyone wondering why such a good chip is so cheap but you can't seem to find it without wifi and Bluetooth.... could it be that it's subsidized by the Chinese government that could could access it easily through the wifi and Bluetooth ...

    • @pengyuecai553
      @pengyuecai553 Před 2 lety +1

      Because of its huge volume, it uses a mature and advanced process. Therefore, the price of a single product can be low.

  • @default_youtube_profile
    @default_youtube_profile Před 4 lety +1

    Is it made in china ?

    • @xialemai6412
      @xialemai6412 Před 4 lety +1

      Google : "where is esp32 manufactured"
      "Shanghai
      ESP32 is created and developed by Espressif Systems, a Shanghai-based Chinese company, and is manufactured by TSMC using their 40 nm process. It is a successor to the ESP8266 microcontroller."

    • @jnkmal9519
      @jnkmal9519 Před 4 lety +8

      what isn't made in China?

    • @default_youtube_profile
      @default_youtube_profile Před 4 lety +1

      jnk mal raspberry pi

    • @jnkmal9519
      @jnkmal9519 Před 4 lety +4

      @@default_youtube_profile Raspberry Pi's are made in Wales, CHINA, and Japan.

    • @lovemadeinjapan
      @lovemadeinjapan Před 2 lety

      @@jnkmal9519 High quality IC's. They are from Taiwan, Korea, Japan, but not from China.

  • @lovemadeinjapan
    @lovemadeinjapan Před 2 lety

    For me the ESP32 is mostly the chip to use when a project has to be converted into a batch of 10000 junk quality mass-market china produced cheap-as-hell craptronics. In development state, it is a PITA module. ATSAMD51, Teensy 4 and NRF52 are so much easier to work with. I happily pay a few bucks extra for those boards.

  • @retrorocket73
    @retrorocket73 Před rokem +3

    Very nice video. I have always used these ESP family of microcontrollers and have had great success with them. I started with a ESP 8266. The variety of the ESP 32 definetly lets an individual get more bang for there buck. I recently programmed mine for the voice features and it sounds like a real person. Try out the Talkie from Texas Instruments based on the old speak and spell that was a hit back in the day. Thanks for a great video keep up the good work.

    • @sarthakkshirsagar8126
      @sarthakkshirsagar8126 Před 6 měsíci

      He that's great can u teach me more about esp 32

    • @sarthakkshirsagar8126
      @sarthakkshirsagar8126 Před 6 měsíci

      Also can u teach by meetin on zoom call I only know basic but I want use it in making projects and learn from experts

  • @SuperbTech
    @SuperbTech Před 4 lety +2

    PWM stands for Pulse Width Modulation