There are legitimate downsides to the ESP32 not mentioned. It's terribly inaccurate for analog read (especially when WiFi/Bluetooth is running), draws 3-10 times the power than other modern microcontrollers, its PWM is software emulated so it's unusable if you need precise and accurate PWM. Just some things to be careful about because some of these are dealbreakers for some projects.
@williankoessler59352 ай бұрын
I'm sorry i can't like this twice... Those things should've been said in the video
@Ed196012 ай бұрын
If you need wifi then simple i2c peripherals solve yr ADC and PWM problems. If you dont need wifi or bluetooth, stick to arduino
@notyourtipicaltechguy64382 ай бұрын
They forgot power consumption as well... The Arduino is more power efficiënt in general, and are easier to get into lower power consumption sleep as well, another plus is the Io count of atmel chips as well...
@NoName-zx1qo2 ай бұрын
stm32 is better than both
@iGNUiCouldАй бұрын
@@NoName-zx1qo I haven't gotten around to that one yet, but have experimented with stm8 and it's fun too
@Choralone4222 ай бұрын
Remember the S in IoT stands for security. Especially on a device with built in Wifi and Bluetooth.
@xuansonvu8100Ай бұрын
So IoT dont have secure?
@GTAmaniac1Ай бұрын
ESP32s are as secure as you make the firmware. Because you know, you make the firmware. Also if you don't want to use the inbuilt wifi and Bluetooth you can just not turn the modules on.
@aceman000009920 күн бұрын
I don't make firmware, I make limp-ware
@hanspeterbestandig205418 күн бұрын
Hahahaha, I love this phrase! 😁 It hits the spot!👍
@hanspeterbestandig205418 күн бұрын
…especial in a Device from an Chinese vendor which uses some proprietary binary blob for its WIFI modules… 😏
@nalinux2 ай бұрын
Not better or worse. All depends what you need.
@MoisesCaster3 ай бұрын
I use ESP32, however, some pins have issues; some pins start turned on or pulsating for a few milliseconds, which is critical when the pin is being used to drive motors or power equipment.
@Ahmedhkad3 ай бұрын
Yep, that why the best practice is to have a template of code for defined pins with // comments
@sadteeto3 ай бұрын
avoid strapping pins! Check the esp32 datasheet for details
@101picofarad3 ай бұрын
Это не баг, а фича - читайте документацию )
@mona.supremacy3 ай бұрын
tbh, you should have read the documentation, but it doesn't change the fact that esp32 is good for nothing except early prototyping dirt cheap
@101picofarad3 ай бұрын
@@mona.supremacy если ваш прибор должен обладать веб интерфейсом, то есп32 очень конкруентноспособен именно из-за цены. Ну там умная теплица, овощехранилище, мониторирование парамтеров какого-то агрегата и т.п. применения не требующие сверхспособностей малинок. Естественно для esp32 удобнее не голый ардуинокод писать, а уложить его во FREE RTOS обертку.
@OptimuseqАй бұрын
Don't forget about dual-core. Having two cores allows you to run code simultaneously on both cores, enabling multitasking and improved performance
@goranjosicАй бұрын
It depends on application. I'm a hobbyist, so I never use the same microcontroller for every project. When I only need to read and send data (e.g. via 433mhz network), attiny85 is irreplaceable, consumes little and does everything necessary. If you need to run the display and do other things at the same time, and the RPi is too big, then the esp32 is the best option, but as someone below said, analog reading is bad, consumption is huge, etc. it has its downsides... (many people, including me, never use its low power core, because it is complicated to program)
@mrlmfao10113 ай бұрын
I used both, at first I didn't like esp32 that much but now I would pick it anyday over an Arduino.
@yesyes96983 ай бұрын
Why? Would you mind elaborating? Thanks.
@mrlmfao10113 ай бұрын
@@yesyes9698 simply because I wasn't used to it. When you do something for so long and figure out the issues that come with it you get comfortable using it again and again. But esp32 is much more flexible than Arduino so it's worth learning something new.
@tommythuyen40632 ай бұрын
ESP32 is suitable for IoT project which requires Wifi or Bluetooth connection. Meanwhile, Arduino is suitable for projects that do not require an Internet connection, such as smart trash, automatically opening doors, burglar alarm devices, etc... And devices that consume very little power.😊
@patborjon6778Ай бұрын
What about the new UNO R4 ? I'm about to get a Rev3 or the newer R4 which comes w/WiFi & Bluetooth. Would it be better to get the Rev3 and a WiFi expansion, or just get the R4?
@damny0utoobe3 ай бұрын
ESP32 is running a binary blob for the network stack that could have a potential CCP backdoor.
@Mike-ry4ti3 ай бұрын
Care to elaborate?
@LifeGeneralist2 ай бұрын
@@Mike-ry4ti Chinese Communist Party snooping
@rendoesmath2 ай бұрын
there we go again
@kklol072 ай бұрын
@@rendoesmath😮damn
@Canthus132 ай бұрын
I wouldn't use it for a secure application, for sure. But I doubt the CCP is interested in my cat door or the sensors in my van.
@travism93763 ай бұрын
Also keep in mind esp32 very power hungry fo battery based projects.
@spartanbeast357517 күн бұрын
hook up high wattage solar cells with a solar charge module and diode and bam, you have yourself a DIY battery charger (just make sure not to overheat any delicate components)
@andreyturkin3 ай бұрын
Take any STM32 board, take ESP, take the new RISC-V based board - all of them are orders of magnitude more powerful than Arduino in all possible measuremenet points, and most of them are also cheaper.
@zbubby12024 күн бұрын
And demonstrably worse at analog applications. This video is a comparison of a cheapy wifi dev chip with a strictly embedded 8 bit MCU. He set the bait and you bit lol
@2012TheAndromedaАй бұрын
The ADC functions on these things are kinda garbage... You can have all the same hardware and software but it may still read wildly different results...
@upzzz348311 күн бұрын
Yes, how to read more stable analog signals? Do you have any other idea?
@AstoundingAmelia9 күн бұрын
@@upzzz3483arduino's can read signals very accurately
@foobarablesАй бұрын
Comparing arduino with an ESP32 is like comparing dogs and cats. Each have their own applications.
@korayk.4542 ай бұрын
Saw the video while programming PIC16f628 😅
@shikanokonokokoshitantan2 ай бұрын
One phrase to describe an esp32, "A cpu on a stick".
@supersanic344611 күн бұрын
The Arduino Uno R4 does have an integrated ESP32 chip, but to the best of my knowledge it can not be used to do any processing, just networking and the main microcontroller of the board that does all the processing is actually an RA4M1 from Renesas, which is significantly slower.
@dinithaw2 ай бұрын
Now i always prefer to work with stm32 instead of arduinos cuz i mastered it ( i mastered working with atmega328 too) i also work with raspberry pi pico & esp32.. but simple things need simple solutions so sometimes i use arduino nanos & pro minis for simple tasks
@Sohailkhan-zw1glАй бұрын
how do u program stm32 ? stmcubeide or arduino ide?
@Mike-ry4ti3 ай бұрын
People obsess over the esp32 clock speeds, when was the last time you maxed out your arduinos clock speed? I build engine management systems with arduino and still have not maxed it out yet. Arduino is older technology, it's now expensive and and there are newer, more advanced controllers to move on to. I wouldn't even consider starting with arduino now, start with raspberry pi pico or esp32. Arduino has almost disappeared here in Japan, it's the 3.3V logic when your old designs use 5v that is the annoying bit.
@cmxpotato3 ай бұрын
Haha I have easily. I made mine drive a touch screen display, control and monitor an aerosol device, and transmit encrypted data to a server all running in parallel (with RTOS). It's actually not too hard to run out of memory or trigger heap fragmentation when dealing with anything encryption related, especially when you're trying to to get data over https.
@kklol072 ай бұрын
@@cmxpotatowhat is heap fragmentation
@argvSys2 ай бұрын
Starting with ESP32 or RPi Pico? I am not sure, that just would teach you the really basics. People still need to learn how a MCU actually works, and RP2040 and DFQW(i dont know the actual chip's name) are way too complex for that.
@Mike-ry4ti13 күн бұрын
@cmxpotato your problem was starting off with something with limited processing resources for the specific task to begin with!
@Mike-ry4ti13 күн бұрын
@@argvSys you can still do the basics with a newer controller, just like you can take a cup of water from the open ocean👍
@666aron3 ай бұрын
Did someone mean Atmel/atmega?
@Mcs1v2 ай бұрын
ArDuInO!44!!4
@maxvideodrome42153 ай бұрын
ESP32 wifi stack too much latency for time sensitive applications and motion control sadly.
@nickalexander25053 ай бұрын
That’s actually great feedback, was planning on using an esp microcontroller for a design I have upcoming
@maxvideodrome42153 ай бұрын
@@nickalexander2505 I have an application where a motor is controlled via wifi. I mean, 20-30ms would be “acceptable” but looking at 200-400ms. I know parsing JSON on a uC is ridiculous, but even UDP data grams are slow.
@nickalexander25053 ай бұрын
@@maxvideodrome4215 oh damn, wow. Ok so seems like either arduino or potentially at least for my case something even beefier, got it. Bless for the info my giy
@maxvideodrome42153 ай бұрын
@@nickalexander2505 too bad because the ESP32 modules are so inexpensive
@101picofarad3 ай бұрын
I have 20..30hz by wifi get.
@TheReptileDragons11 күн бұрын
You are forced to use proprietary software for the low level stuff on ESP32s which is a non-starter at least for me. I’ve spent too long trying to figure out how to use their API and why things don’t work the way I expect, so I just prefer STM32s with an off-chip wifi or bluetooth module.
@jnharton16 күн бұрын
Aside from the low prices and ready availability of development boards, the best argument here is that it makes working with web/network services much, much easier. Most beginners won't really understand what the factors limiting them are, only whether something is easy or hard /for them/ in practice.
@sleppy_9105Ай бұрын
Fun fact: the raspberry pi zero is both cheaper and better in terms of specs. The pi zero runs at 1 GHz single-core and 512 megabytes of RAM. It also has Wi-fi and Bluetooth, both being more reliable than the ESP32. Did i mention that the pi zero also has GPIO pins? EDIT: Just re-checked the price for the ESP32. The ESP32 is 6.50€ cheaper (10€ for the ESP32 and 16.50€ for the Pi zero 2 W)
@xuansonvu8100Ай бұрын
How ras pi zero is cheaper?
@ten-faced-carrot21 күн бұрын
Hold on, Pico or Zero?
@sleppy_910520 күн бұрын
Check the edit
@MH-vx1fo16 сағат бұрын
At least Arduino, Raspberry works equally well in Zero and Pico versions. I had constant problems with ESP; I gave up trying and experimenting.
@fof13533 ай бұрын
Don't forget RTOS, more pwms, dual core. But then again i use both Arduino for simple things and Esp for something more with RTOS to utilise it maximally. For exmaple i use arduino to automatically drive my shutters but esp i turned ito flight controller
@AndyClementsАй бұрын
I'll stick with my atmega*8 for most projects. Current consumption easily tuned down to micro amps when needed.
@JanicekTrnecka5 күн бұрын
This thing can run on small battery for ages if properly designed!
@mapagmasidtv19 күн бұрын
Thanks robert now i understand i have to buy an esp32 developement kit too
@hanspeterbestandig205418 күн бұрын
Be aware that the ESP32 uses some proprietary Code (Espressive keeps this secret) for its WIFI capabilities. Nobody - except Espressive - knows exactly what this does. Keep in mind that the ESP is a Chinese product. And if I‘d keen to know what others do then I‘d do my very best to keep control over THIS core component of a system! So I‘d NEVER suggest to use an ESP32 in an environment where Security/ the protection of Data is an subject! But interestingly this is no issue. But these Folks are also very calmed by using the Windows Cloud… 🙄
@shaounaknande813819 күн бұрын
240Mhz is the radio frequency. The actual microcontroller cpu frequency is 80Mhz. Also additional advantage is that the esp32 can process 32 of data where as the arduino processes 8 bit data
@BSPBuilder12 күн бұрын
Not at all. The ESP32-S3 microcontroller's dual-core 32-bit LX7 microprocessor has a maximum CPU frequency of 240 MHz. The radio frequency is 2.4 GHz.
@shaounaknande813812 күн бұрын
@@BSPBuilder ohhh...That's great 👍
@raphaelboichot89724 күн бұрын
I've definitely switched from ESP32 to Pi Pico without regret. To compare what is comparable...
@MrKYT-gb8gsАй бұрын
Does the peer to peer comms work over whTs the range? Can I add an antenna? I have a usecase for a little remote control vehicle thing..
@JeppeAchtonNielsen20 сағат бұрын
Then connectivity is exactly why I won't be using ESP32. If I want WIFI/Bluetooth I can add it to Arduino. But how do I remove or permanently disable it on ESP32?
@lavacat7202 ай бұрын
Esp32 is cheaper than an arduino
@oskratart7724Ай бұрын
esp32 is a good product between MCU and MPU, which actually means it can't replace both MCU and MPU.
@Canthus132 ай бұрын
An Arduino is wonderful for remote sensor applications that either don't need a data connection or are able to connect in other ways. They're great for repetitive tasks that don't require much processing overhead. ESP32 is enough to run an entire mac classic emulator with CPU to spare. It's overkill for many applications. It's nice, though, if you need the power, or just don't care about power utilization or code optimization.
What would be result of comparison between raspberrypi and esp32
@OlafFichtner2 ай бұрын
ESP32 is a microcontroller (board), Arduino is a microcontroller platform. You can use boards with ESP32 on that Arduino platform. Apples and oranges...
@ShiroiAkumaSamaАй бұрын
ESP Now with the normal PCB antennas was the biggest disappointment I ever tested in my life, barely any range, you are lucky if you get through one single wall.
@Sohailkhan-zw1glАй бұрын
got 700m with pcb antenna
@TheCustomFHD14 күн бұрын
RP2040 being like:
@nobody29373 ай бұрын
Agree...😊
@maximkonechno87427 күн бұрын
Very unreliable and not easy to deal with at the same time. Arduino is better for basic projects and stm for something serious. If you just need some flimsy web stuff use esp.
@zbubby12024 күн бұрын
328p is best when a decent ADC is needed. An ESP32 is best for when you need to give your dog's turd CoNnEctIvIty!!
@Bnryzombie2 ай бұрын
I use RP2040s
@muhammedenescelik996815 күн бұрын
If you gonna add esp32, why need Atmel?
@hudsonator72592 ай бұрын
My go-to is the pi pico
@ten-faced-carrot21 күн бұрын
Pico W for me
@hudsonator725920 күн бұрын
@@ten-faced-carrot well the pico family I havent used the actual pico but I do have two pico ws
@dragonex68Ай бұрын
Im using arduino nano 33 iot and ble boards
@optikid03732 ай бұрын
And then there’s teensy
@muhammadjumiatmokhtar3 ай бұрын
where i can buy that modul dev board like this video ?
@RobertFeranec3 ай бұрын
I am working on a step-by-step tutorial showing how you can design it by yourself. Will be coming soon
@fabio.13 күн бұрын
How far can they communicate? Is if a low frequency that passes walls? Thanks
@fabio.13 күн бұрын
"around 220 meters ESP-NOW has a limited signal range, typically around 220 meters under ideal conditions. The actual range can vary depending on factors like environmental interference, antenna design, and obstacles in the communication path."
@fabio.13 күн бұрын
it's 2.4 GHz
@erfanhuda4 күн бұрын
nice
@wm8123Ай бұрын
Arduino is a company/platform, not a Chip or Board...... And there are official Arduino ESP32 boards....
@Icanfly-2 ай бұрын
stupid to compare hardware and mostly software framework that also work on ESP32, say esp32 + Arduino better than avr + Arduino
@MatthieuPadrinesАй бұрын
But 3.3V and not 5V :/
@xanderortega4359Ай бұрын
Arduino still better for starters
@luisfelipemarquezandrade8442 ай бұрын
En Colombia cuesta 22 cop
@fortheregm12493 ай бұрын
I mean it even has touch sensor while asleep. Only advantage of Arduino is the 5v logic. It doesn't even compete on price.
@AstoundingAmelia9 күн бұрын
Well that and also arduinos are a lot more accurate on the analogue read and pwm signals which can matter a ton depending on what you're doing, For example, if you're trying to read the tachometer output from your standard 12 volt PC fan and then control that fan with PWM an ESP is Just too inaccurate. where as an Arduino will always give you a correct signal. tested this myself using a board that came with an esp32 and Arduino mega chip in the same board and I found that when measuring the same tach signal The ESP jumped around a lot more and was just not as accurate whereas the Arduino gave an accurate value every single time
@fortheregm12499 күн бұрын
@@AstoundingAmelia Well i will also say that there are alot more things you need to be aware of when coding an ESP compared to Arduino. very often requiring the same functionality I've had to spend considerable time researching on how to get it done right. i.e for analog input accuracy you are comparing 10-bit to 12-bit, so ESP is 4 times more "accurate". But the value it outputs is not linear so you need a very complicated math equation in the code to actually get the more accurate results. So ease of use is defo a pro for arduino. Mega 2560 is an absolute BEAST btw, but then you are comparing an ESP to a chip that costs 10X - 50 X its price .
@fortheregm12499 күн бұрын
@@AstoundingAmelia maybe I'll also add that for ESP input you are on a lower logic level with higher impendence and sensitivity so you are much more susceptible to noise, likely needing a small cap and resistor to read the results right on analog input. So the ease of use also extends to hardware design. its just a more advanced chip with more hoops to jump, TBH the chips I always end up using is the pro mini unless i need wifi.
@tomacaster3 ай бұрын
Esp32 has 2x 240mhz
@Canthus132 ай бұрын
Which one? Some have 2, some have 1. Some also have an ultra low power core for reading GPIO and such while the main core is in sleep mode.
@bramSDASCL1759Ай бұрын
a webserver on your pocket,, esp32
@phillipdeville63152 ай бұрын
Teensy is interesting
@jams2u7863 ай бұрын
I also disagree, connecting (REMOTE ACCESS), is better as an option. (REMOTE access "can' be a backdoor to malicious morons).
@MehdiGuizaniАй бұрын
Not true haha the chip can perform low power tasks 😂
@uz1232 ай бұрын
esp32 is chinese chips and is not safe to be used in iot or critical wireless infrastructure. it's cheap tho.
@lavacat7202 ай бұрын
What isn't Chinese? 😂
@kennedycheskakiАй бұрын
@@lavacat720 everything is chinese. Even the iphone was made in china. Multiple parts/components are sourced from china also. Good luck muricans
@fendy_2 ай бұрын
In my country after some smart people in the customs made a stupid decision, we often lightly joking that people who run their IoT using Arduino as "orang kaya" or "rich people".
@vibhavverma874024 күн бұрын
The adc of esp is worst
@hitension73 ай бұрын
I still use atmega328 for most of my projects. I disagree.
@jams2u7863 ай бұрын
I also disagree, connecting (REMOTE ACCESS), is better as an option. (REMOTE access "can' be a backdoor to malicious morons).