Why ESP32's Are The Best Microcontrollers (ESP32 + Arduino series)
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
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!!
For a moment your voice sounds like Great Scott's voice 😁👌
Yeah
Normal, they are cousins.
Truuee!! i so agree. had to look at the name of the channel again
Totally agree
Got totally confused for a second
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.
This is true, it's understandably confusing for hobbiest since the PWM module is called the LED controller (LEDC) in espressifs documentation.
@@vaughndoyle5489seriously? Wow, that's a bad oversight.
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.
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.
What would be a alternative to the esd32 that would satisfy these demands? Raspberry pi5?
Thank you! Exactly what I needed. Concise and informative! All the other people just brag about it “for hours”!
Haha....faced same issue
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!
Is it possible to program with ST Link V2?
One disadvantage is they don't properly fit on breadboards (unless you use two breadboards side by side).
Another one is the low quality of analog digital conversion on ESP-32
@@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
@@cj37373 Another on is the pesky 3.3V
@@cj37373 what resolution is their ADC??
Thank you very much for sharing ESP32. It is very helpful to me and ESP32 is a great small projects.
I have used ESP32 devices and it is interesting to do. So, I think this is a good video for beginners.
Thanks for the introduction to ESP32. You mentioned Voice Recognition, could you explain further on this topic?
Thanks for the short yet detailed video on ESP. I was planning to move away from Arduino and found this.👌👌👌
Thank you so much for this video
Awesome playlist. Thank you very much for the effort. You've got new subscriber :)
OTA updates over the internet. Pr9bably the biggest pro if you're using in a product
ESP32 is a great board for small projects.
I’d be interested to see a comparison of this vs the Raspberry Pi Pico
Great suggestion! I will try to get my hands on one ;)
When two dogs fight for a bone (ESP and Pico) the third dog takes it away (Teensy 4).
The reason why the chip is powerful, it's Tensilica core processor. Thank you for the video.
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...
Great topic, thanks 👍
Great videos! What software do you use to create your animations and edit your videos?
ChiCom Express! 🤔🤨😱
Camt wait for the esp64
Excellent..!
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.
This looks so good when compared to arduino...
Thank you
Thanks
Nice
What are some entry jobs that lead to an embedded job while you learn to program?
I want to know more eps32😁
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.
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!
@@simplyexplained You're welcome :)
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.
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
How about now?
What if i don't want to use the Arduino Framework at all? What are the alternatives? Does it have its own framework?
Yes, ESP-IDF.
I wonder , such a powerful SoC, why it's so cheap compare Arduion? 8$ vs 12$.
it don't publish detail data sheet.
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.
@@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.
Can this be use in actual poduction? Functioning 24/7? If not what do you suggest? Thank you for info!
Stay away from anything arduino or rasberry pi if you intend to rely on it 24/7.
@@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.
@@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.
@@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.
@@michealdumasii5432 Hey, I'm doing a similar project. What did you end up using???
how to receive data from rs232 to esp32 using rts and cts in arduino please help me
Is it possible to program with ST Link V2?
Dual core on something the size of my thumb... Insane...
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
PWM stands for Pulse Width Modulation
Pussy money weed
Is esp32 having ATMEGA32U4
How to fall in love with ESP32 in 2:36 minutes
what about the ESP8226 ??
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!)
Does the esp32 come factory installed with an operating system? Please forgive the stupid question.
Some ship with a basic program that blinks the LED, but some ship without any programming at all.
Ok how can I build flight computer
Or where I can find it please
LOL!
Isnt a arm cortex more energy efficient?
Is it?
👍
wish this was micropython instead of garduinos.
Can i use as alternatif for Arduino nano??
The best microcontroller depends on the project. This is way to expensive for many projects.
What is the cheapest microcontroller with WIFI?
It's not 😂 the esp is one of the cheapest boards on the market
@@KingdomChablo It's not even close to the cheapest micro out there.
@@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.
@@KingdomChablo 28 pin dip Pic16's are under a dollar on ebay, you don't seem to know what a microcontroller is, lmao
and just 50 cents on alie express
It's better in micropython
nothing important happens on an ESP32... extremely limited in protocols, extremely limited in DMA... hobbies only
ESP32 is from China.
And it is super cheap.
"A ton of memory"
Has 512KB of RAM.
Even 8MB seems small.
Haha, true! But for a microcontroller this is truly a lot of memory to play with!
Until you need to write 8MB of code...
What RAM heavy tasks are you giving to a tiny microcontroller though?
Arduino has 2kB of RAM so this seems absolutely huge in comparison. And, it's a microcontroller - not a PC.
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 ...
Because of its huge volume, it uses a mature and advanced process. Therefore, the price of a single product can be low.
Is it made in china ?
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."
what isn't made in China?
jnk mal raspberry pi
@@default_youtube_profile Raspberry Pi's are made in Wales, CHINA, and Japan.
@@jnkmal9519 High quality IC's. They are from Taiwan, Korea, Japan, but not from China.
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.
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.
He that's great can u teach me more about esp 32
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
PWM stands for Pulse Width Modulation
Yes, it does.