Why is ESP32 better than Arduino?

  Рет қаралды 1,534,545

Robert Feranec

Robert Feranec

Күн бұрын

Пікірлер: 729
@cmxpotato
@cmxpotato 9 ай бұрын
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.
@williankoessler5935
@williankoessler5935 8 ай бұрын
I'm sorry i can't like this twice... Those things should've been said in the video
@Ed19601
@Ed19601 8 ай бұрын
If you need wifi then simple i2c peripherals solve yr ADC and PWM problems. If you dont need wifi or bluetooth, stick to arduino
@notyourtipicaltechguy6438
@notyourtipicaltechguy6438 8 ай бұрын
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-zx1qo
@NoName-zx1qo 8 ай бұрын
stm32 is better than both
@romanbengaldrole4061
@romanbengaldrole4061 7 ай бұрын
Actually it uses little power when the WiFi and Bluetooth are off. I didn’t have problems with PWM or analog and you can set the pins to be UART, I2C or SPI and it still works. For WiFi, I could make it work with radio, wifi and PWM at the same time. However, one thing to know is that it’s harder to code (with an Apple computer it is quite long to set up the software), and it easily burns as the voltage regulators aren’t like on an Arduino. For example a radio module with no capacitors is a problem with these…(smaller arduinos can’t handle it either)
@Choralone422
@Choralone422 8 ай бұрын
Remember the S in IoT stands for security. Especially on a device with built in Wifi and Bluetooth.
@xuansonvu8100
@xuansonvu8100 7 ай бұрын
So IoT dont have secure?
@GTAmaniac1
@GTAmaniac1 7 ай бұрын
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.
@aceman0000099
@aceman0000099 6 ай бұрын
I don't make firmware, I make limp-ware
@hanspeterbestandig2054
@hanspeterbestandig2054 6 ай бұрын
Hahahaha, I love this phrase! 😁 It hits the spot!👍
@hanspeterbestandig2054
@hanspeterbestandig2054 6 ай бұрын
…especial in a Device from an Chinese vendor which uses some proprietary binary blob for its WIFI modules… 😏
@goranjosic
@goranjosic 7 ай бұрын
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)
@voldemort9127
@voldemort9127 3 ай бұрын
Hey can i connect with you?, i need some clarifications on things about a iot device
@MoisesCaster
@MoisesCaster 9 ай бұрын
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.
@Ahmedhkad
@Ahmedhkad 9 ай бұрын
Yep, that why the best practice is to have a template of code for defined pins with // comments
@sadteeto
@sadteeto 9 ай бұрын
avoid strapping pins! Check the esp32 datasheet for details
@101picofarad
@101picofarad 9 ай бұрын
Это не баг, а фича - читайте документацию )
@101picofarad
@101picofarad 9 ай бұрын
@iaros.h если ваш прибор должен обладать веб интерфейсом, то есп32 очень конкруентноспособен именно из-за цены. Ну там умная теплица, овощехранилище, мониторирование парамтеров какого-то агрегата и т.п. применения не требующие сверхспособностей малинок. Естественно для esp32 удобнее не голый ардуинокод писать, а уложить его во FREE RTOS обертку.
@Andres_81
@Andres_81 8 ай бұрын
​@iaros.h I mean, that is the purpose of development boards like arduino and esp32, for prototyping and hoobiest. If you want to produce a product you have to create your own circuit and pcb
@nalinux
@nalinux 8 ай бұрын
Not better or worse. All depends what you need.
@juliashenandoah3965
@juliashenandoah3965 4 ай бұрын
I require it to control a battle-mech with two Navy railguns.
@markuskosters4301
@markuskosters4301 4 ай бұрын
Thank you!
@Flash020201
@Flash020201 4 ай бұрын
@@cubirk Sometimes the price is a big dealbreaker! I discussed with someon thee other day who needed over 75 arduinos for a large scale project. That marginal cost in comparison from the R3 to the R4 can mean the world when scalability comes into play :)
@peerlessrecords6236
@peerlessrecords6236 4 ай бұрын
of course it's better. arduino is dead. they could've teamed up with espressif earlier before the nodemcu boards came out. they messed up. nobody's buying that overpriced arduino garbage lmao.
@cumiebaka
@cumiebaka 3 ай бұрын
"hm I think I need a bad product"
@wilgarcia1
@wilgarcia1 4 ай бұрын
Arduino was always meant to be the most inexpensive way to get in to programming robotics. I remember when you could get one included with a magazine. or like $5 usd.
@KegRaider
@KegRaider 4 ай бұрын
Yep, used to be! I only use ESP32 when I need speed. For all mundane slow MQTT type device, I use the ESP8266. Low power and Wifi still.
@Hukkinen
@Hukkinen 3 ай бұрын
My ESP12F (8266) wifi is not good. Now I'd go for ESP32-C3 mini, boards for a few € like the older 8266 variants
@moriyamakyon1067
@moriyamakyon1067 Ай бұрын
Official ardino uno costs 30€ !!!!!! , RP2040 or ESP32 in comparison cost from 1 to 3 €
@tommythuyen4063
@tommythuyen4063 8 ай бұрын
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
@patborjon6778 7 ай бұрын
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?
@niels.faurskov
@niels.faurskov 4 ай бұрын
How is an ESP32 not just as suitable?
@timmy7201
@timmy7201 4 ай бұрын
For simple designs, I usually just integrate the microcontroller IC itself in my pcb design, cheaper more compact compared to an Arduino. For designs of medium complexity, I prefer to integrate one of the ESP family chips on my pcb design or sometimes an STM chip. For designs of high complexity, I just integrate an RPI Compute module or iMX7/8 on the PCB... I don't see any need for an Arduino, across the board...
@greenspace.
@greenspace. 4 ай бұрын
​@@niels.faurskov There are cases where power consumption is important. Also if you don't need all of the features the ESP32 offers, why pay for them?
@wolfrust0
@wolfrust0 4 ай бұрын
its so big tho
@AndyClements
@AndyClements 7 ай бұрын
I'll stick with my atmega*8 for most projects. Current consumption easily tuned down to micro amps when needed.
@JanicekTrnecka
@JanicekTrnecka 6 ай бұрын
This thing can run on small battery for ages if properly designed!
@honor9lite1337
@honor9lite1337 3 ай бұрын
Indeed
@Johnny-es9xg
@Johnny-es9xg 5 ай бұрын
If you do not need IOT the vanilla MCU''s are very durable. I have a Atmel 328p running a motor (with driver) on a PUMP in a factory 24/7 for months now even if a FET goes short to VCC 12v it does not kill it. Replace the MOSFET and away we go. We do use the ESP 32 for some sanitizing device that needs IOT control, but yeah sometimes the Bluetooth and WIFI just dies not regularly ,but after a few years it can.
@ugetridofit
@ugetridofit 3 ай бұрын
But can you stick in a USB thumb drive and update your flash on its own?
@Atom224
@Atom224 3 ай бұрын
@ugetridofit That's only important for DIY stuff and not Pro Grade/Industrial products. Besides you have STM32s Nucleos with built in STLink for flashing AND real-time debugging.
@plinble
@plinble 4 ай бұрын
Some people just want something to read a few sensors and activate a few actuators: pumps, wind blinds, thermometer, nothing more complicated than a washing machine.
@mao73a
@mao73a 4 ай бұрын
I use both but: - arduino has reacher and better libraries/examples/tutorials -Uploading program to esp takes ages compared to arduino -arduino uno has higher pins amperage - less need for additional transsistors - arduino has more pins for use - it's bigger and i can at least see it :-)
@ugetridofit
@ugetridofit 3 ай бұрын
You clearly dont know what your doing. My application is 4MB for the ESP32 and it only takes 2.3 seconds to upload that,
@TurdBoi666
@TurdBoi666 3 ай бұрын
​@@ugetridofit Cringe esp32 fanboi lmao
@jeremygeorgia4943
@jeremygeorgia4943 10 күн бұрын
If you have a powerful computer, of course it won't take long to upload a program to an ESP32. However, if you have an average desktop or a cheaper laptop, it will take significantly longer to program an ESP32 Vs an Arduino. It's a 32 bit dual core machine. I like that the Arduino has grouped pins for specific purposes, and you don't necessarily need a pinout map, to be sure you can use the pin that you want to use. Also, the Arduino operates in 5 volts. Many hall effect sensors, motor controllers, and PWM LED controllers only work properly with a 5 volt signal. Of course, you can control an Arduino with an ESP32, using the analog inputs.
@YharonTheReal
@YharonTheReal 2 күн бұрын
@@TurdBoi666 can arduino avr boards run mario64? i dont think they can (one core on esp32 used for calculations, the other for rendering, esp32 has much more capabilities, if you set up right you can have 4 megabytes of a bit slower ram in usage compared to tiny littly of 2 KB of ram on uno and nano, and i also was a arduino fan boi until i got my first esp module (was esp8266 yet still better than avr boards) and i dont think loading speed cares that much when ur trying to load megabytes of flash data to esp32 (compared to even mega's max of 256 KB), and it can handle even rendering of fractals on a big screen, you just dont make the projects that require a lot of ram , thats where the real programming begins
@fucku2b
@fucku2b Күн бұрын
​@@YharonTheReallmao, but can it run crysis? didn't think so
@TheReptileDragons
@TheReptileDragons 6 ай бұрын
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.
@kabiskac
@kabiskac 4 ай бұрын
You are saying that ESP-IDF with a VS Code extension is more proprietary than a whole IDE that is STM32CUBE?
@J-PopEnjoyer
@J-PopEnjoyer 4 ай бұрын
@@kabiskac as far as i remember - stm32 IDE brings really great usability. So i guess it maybe more proprietary than VS code + ext, but, damn, it's a good instrument to use, when u get to know how to work with it
@ugetridofit
@ugetridofit 3 ай бұрын
If you have a hard time with the API then atmel is for you.
@Atom224
@Atom224 3 ай бұрын
@J-PopEnjoyer Agree, very powerful, but man, does it suck the way ST designed HAL programming.
@eng_dude
@eng_dude 27 күн бұрын
​@@Atom224how come?
@macemoneta
@macemoneta 4 ай бұрын
Don't forget that ESP32s can run Tasmota off-the-shelf open source firmware, eliminating the need to write firmware in most cases. For custom operations, Tasmota allows on-chip scripting (in script or Berry). I have over 100 Tasmota devices running. At $1.50 USD for ESP32-S2 developer boards, including on-chip PSRAM, large projects are a snap. I've even replaced Raspberry Pis for some projects, reducing cost , power consumption, and complexity.
@paxsevenfour
@paxsevenfour 4 ай бұрын
I do really like ESP32’s and 8266’s for things like holiday light display projects using WLED but the most glaring issue is the closed components of these boards, imho.
@ugetridofit
@ugetridofit 3 ай бұрын
Even if it was open 98% of most people don't even know what they are looking at. This is why Arduino is so popular. People just pull in library's and never even look at the code.
@gabemorris1231
@gabemorris1231 5 ай бұрын
The raspberry pi pico is dominant in my opinion. It out performs the Arduino and is $5
@jnharton
@jnharton 6 ай бұрын
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.
@yevgeniyfedorov2381
@yevgeniyfedorov2381 4 ай бұрын
ESP32 is a nice microboard when you need integrated WiFi/BT. I rarely use those, so my board of choice is RP2040 (cheap, compact, battery-friendly and quite powerful). And when the project is math-heavy, Teensy 4.0 is still the king. This thing is so fast, it can run circles around other Arduino-compatible boards of similar size, including all versions of ESP32.
@ugetridofit
@ugetridofit 3 ай бұрын
not the new P4 dual core 400MHZ
@yevgeniyfedorov2381
@yevgeniyfedorov2381 3 ай бұрын
@@ugetridofit I doubt it, AFAIK ESP32-P4 lacks a true hardware FPU, which Teensy 4 definitely has.
@Transitooooor
@Transitooooor 9 ай бұрын
Also keep in mind esp32 very power hungry fo battery based projects.
@spartanbeast3575
@spartanbeast3575 6 ай бұрын
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)
@nicky9841
@nicky9841 4 ай бұрын
Hi can you give any source for that statement? No offense, because in many forum even from the arduino website says that a nano esp 32 consumes wayy low energy
@Transitooooor
@Transitooooor 4 ай бұрын
Now use NRF52 for battery powered projects that need wireless functionality esp32 great for other projects not requiring batteries. Has Nano got wifi and blue tooth? Any esp32 with that is power hungry check the data sheet.
@ThermopylaeCapital
@ThermopylaeCapital Ай бұрын
For me it's important that the board got TCP/IP stack and can do standard POSIX sockets in C. I want to be able to fetch metrics and statistics out of the unit in a easy way. Also be able to control the unit from the outside, like toggling swiches and sending commands to it, etc.
@andreyturkin
@andreyturkin 9 ай бұрын
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.
@zbubby1202
@zbubby1202 6 ай бұрын
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
@paristo
@paristo 4 ай бұрын
The STM32 is great for software based applications like smart devices or connectivity. Where Arduino Micro Pro is superior to hardware based applications, like motor controllers, analog input readout controller and very low power controllers. Two different purposes really, not better overall than other.
@andreyturkin
@andreyturkin 4 ай бұрын
@@paristo Strongly disagree. You have a point when comparing against esp32 but stm? Stm32 in particular has a very large lineup of devices which are extremely capable in various areas. You can have a software solution which is orders of magnitude better than atmegas. You can have a timer suite _specifically_ designed for motor controller applications with hardware-sustained advanced features - which is much better than (AFAIK) atmegas can do; on analog input you could do a lot with ADCs, including things like simultaneous capture of multiple inputs or, say, multiplexed capturing so you could have a whole lot of inputs - again, hardware-assisted so cpu core doesn't have to orchestrate all of that in irqs or anything, just needs to deal with ready data. Very low power controllers? Stm32 got that covered as well with their L series, so does TI with their msp430 and others do as well - they'd perform at least on par with atmels.
@Jacob-bm6wb
@Jacob-bm6wb 4 ай бұрын
Could make meshes with them but sometimes you dont want any wireless connectivity
@fof1353
@fof1353 9 ай бұрын
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
@Username9182736451
@Username9182736451 Ай бұрын
I used the esp32 as the ecu in an EV. Worked pretty well. Yes, the ADCs are noisy. But i was able to talk spi to a 2 port CAN board, and control motors with LED library. The biggest challenge with arduino and esp32 is fiddling with Billy Bob's library to make it, lets say, industrial. I wasnt sure about how to use the second spi port. So you have to proceed with paranoia about everything. Always keep a working example. Always do automated testing. I wish I could confidently hook up as many spi devices as I want and a esprog hardware debugger effortlessly. I think it's possible, but certainly not easy. I had it working at one point, but a year later I couldn't figure out that debugger again. I don't think the no pwm output/measurement in hardware is a legit critism. There is dedicated hardware. Also it has a built-in CAN interface, which handy for automotive products. The one I bought had a display i used to display the firmware version and debug stuff. I had plans to control it over wifi or Bluetooth, but never got around to it (like, e.g. let me summon my car!).
@superpacocaalado7215
@superpacocaalado7215 4 ай бұрын
Connect it to your phone and you can use it to transfer data anonymously, it would of great help for people avoiding censorship.
@erickgabrielalfaroroldan5333
@erickgabrielalfaroroldan5333 4 ай бұрын
And what about the Raspberry Pico which is a lot cheaper?
@damny0utoobe
@damny0utoobe 9 ай бұрын
ESP32 is running a binary blob for the network stack that could have a potential CCP backdoor.
@Mike-ry4ti
@Mike-ry4ti 9 ай бұрын
Care to elaborate?
@LifeGeneralist
@LifeGeneralist 8 ай бұрын
@@Mike-ry4ti Chinese Communist Party snooping
@rendoesmath
@rendoesmath 8 ай бұрын
there we go again
@kklol07
@kklol07 8 ай бұрын
​@@rendoesmath😮damn
@Canthus13
@Canthus13 8 ай бұрын
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.
@SuperNeotendo
@SuperNeotendo Ай бұрын
it depends what you need for your project. i do not need an esp32 for simple tasks
@korayk.454
@korayk.454 8 ай бұрын
Saw the video while programming PIC16f628 😅
@vitto_pincharrata
@vitto_pincharrata 5 ай бұрын
I found a 16f628 in the street a few months ago and I am trying to recicle it into a Tiny Satellite sculpture (like the Bhoite's ones)
@davidjackson2115
@davidjackson2115 3 ай бұрын
I like the clock speed - but not the wired in connections to "undue outside infulence" {if you dont want it} exploding pagers were a good example.
@zentriceggofficial
@zentriceggofficial 3 ай бұрын
Teensy 4.1 overclocks to 600mhz and beyond. I started with Arduino but quickly tired of the 16mhz. Switched to ESP Wroom32 & utilised both cores at 240mhz. I have Teensy 4.1 (2 of) & a DaisySeed.
@noweare1
@noweare1 5 күн бұрын
the esp32 can do loads more than the avr chips but it comes with a learning curve as in you have to learn web technologies html, css and javascript, networking etc. It supports lots of protocols like a desktop. I do love the avr 8 bit chips though they are fun.
@2012TheAndromeda
@2012TheAndromeda 7 ай бұрын
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...
@upzzz3483
@upzzz3483 6 ай бұрын
Yes, how to read more stable analog signals? Do you have any other idea?
@AstoundingAmelia
@AstoundingAmelia 6 ай бұрын
​@@upzzz3483arduino's can read signals very accurately
@alfaxgo
@alfaxgo 3 ай бұрын
​@@upzzz3483I'd use n external ADC module for higher resolution and precision.
@eng_dude
@eng_dude 27 күн бұрын
​@@upzzz3483low pass filter probably. Or use an external chip for ADC.
@bryangianesini2621
@bryangianesini2621 3 ай бұрын
The digital outputs are 3.3V. They don't work with my 5V relays.
@sampopihlaja
@sampopihlaja 4 ай бұрын
Flashing an ESP32 takes like 100x the time to flash a basic arduino. Id never use ESP32 unless wireless connectivity is required from the project. Just to save on development time.
@ugetridofit
@ugetridofit 3 ай бұрын
That is because either your equipment is outdated or you have no idea how to change the upload rate. I have a 4MB download and it only takes 2.5 seconds for that. Take some time and learn before you spread false stuff.
@TurdBoi666
@TurdBoi666 3 ай бұрын
​@@ugetridofit cringe ESP32 fan
@jeanchindeko5477
@jeanchindeko5477 3 ай бұрын
Which Arduino board are you talking about? Are you talking about the Arduino Nano ESP32? Or other Arduino board using Espressif microcontrollers? Or are you comparing Espressif ESP32 series of microcontrollers to ARM used in other Arduino boards?
@nochkin
@nochkin 4 ай бұрын
Why is Intel i7 better than Windows 10? You can't really compare a chip with a software framework. But even if you compare 32-bit ESP32 with old 8-bit AVR, that's silly to compare technologies which are many years apart.
@JeppeAchtonNielsen
@JeppeAchtonNielsen 6 ай бұрын
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?
@ugetridofit
@ugetridofit 3 ай бұрын
Its turned off out of the box you have to enable it. Why dont people educate themselves.
@JeppeAchtonNielsen
@JeppeAchtonNielsen 3 ай бұрын
@@ugetridofit If you can show me a physical switch I will believe you. Otherwise you have to trust the microprocessor, I don't.
@derekedmondson9909
@derekedmondson9909 2 күн бұрын
ESP 32 is an awesome microcontroller. It also has a secondary ultra low power cpu that lets you use various sleep modes for conserving battery power, or reducing detectability.
@mrlmfao1011
@mrlmfao1011 9 ай бұрын
I used both, at first I didn't like esp32 that much but now I would pick it anyday over an Arduino.
@yesyes9698
@yesyes9698 9 ай бұрын
Why? Would you mind elaborating? Thanks.
@mrlmfao1011
@mrlmfao1011 9 ай бұрын
@@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.
@lonewolftech
@lonewolftech 4 ай бұрын
It’s really not at all more flexible 😂😂😂😂
@codewizard58
@codewizard58 5 ай бұрын
As others have said, it depends on what you need. I build my own Arduino like systems using the ATMEGA328P
@Ribbons0121R121
@Ribbons0121R121 4 ай бұрын
ok but does my automatic door closer NEED wifi n bluetooth?
@ugetridofit
@ugetridofit 3 ай бұрын
maybe not, but for $4 who cares. leave those features off
@Username9182736451
@Username9182736451 Ай бұрын
Of course! I hooked up a esp32 to my garage door, so I can check if I left it open from anywhere, and close it using my phone. Esp32 + Blynk is awesome.
@AlghostUnit
@AlghostUnit 4 ай бұрын
honestly the size of the pieces can make them very interesting today for the people that want to build their mobile.
@Chronologist89
@Chronologist89 5 ай бұрын
For IoT stuff, ESP is nice. If you want power, I can recommend the Teensy 4.1 board. The board is absolutely tiny, but packs a Cortex M7 running at 600MHz. This thing, which is smaller than an RPi Zero packs more power than my first Intel Pentium 4 PC back in the day and I love that :D
@xXNOTEXx
@xXNOTEXx 5 ай бұрын
It's good... Had fun making a flight controler with it. Had quite few hiccups but it was fine. But had to use Arduino when using lcd display on the RC.
@ChadKovac
@ChadKovac 2 ай бұрын
Also there's serious research going into broadcasting and receiving using LoRa over the ESP32 PWM pins
@supersanic3446
@supersanic3446 6 ай бұрын
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.
@elpiel
@elpiel 4 ай бұрын
You can also program it with Rust 🦀🦀 We did switch out main board for a Pico W though as it has better support for async and embassy.
@mikkelens
@mikkelens 4 ай бұрын
the pico does seem like the best of both worlds for stuff where ESP/STM isn't already an obvious pick
@IamTheHolypumpkin
@IamTheHolypumpkin 4 ай бұрын
I depends on what you need. I don't always need 240Mhz, 16Mhz can be o plenty. But if I need more power, I rather jump ship to the Raspberry Pi Pico. Not because it's necessarily better, but because I worked with it in a commercial setting and I'm therefore very familiar with it.
@HerbaMachina
@HerbaMachina 4 ай бұрын
Also the Attiny 1614s are great and do 20Mhz and with the arduino core for the Attinys addressable LED code works just as you'd expect. ESP32s are overkill for most applications and are very power hungry.
@ugetridofit
@ugetridofit 3 ай бұрын
Why anyone would use a Pico is beyond me. uSD corruption if power loss is very likely, its not rated for temps below 0 deg. Slow start up, always out of stock.
@johnm2012
@johnm2012 3 ай бұрын
​@@ugetridofitWhat is uSD? If you mean micro SD card, Pi Pico doesn't use one.
@tharii314
@tharii314 5 ай бұрын
Well, they could be. If there are sufficient information about their functions, ports, registers and etc. so that we could know which is which and what the hell can we perform with ESP32.
@666aron
@666aron 9 ай бұрын
Did someone mean Atmel/atmega?
@Mcs1v
@Mcs1v 8 ай бұрын
ArDuInO!44!!4
@moonscript2000
@moonscript2000 7 ай бұрын
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
@xuansonvu8100 7 ай бұрын
How ras pi zero is cheaper?
@ten-faced-carrot
@ten-faced-carrot 6 ай бұрын
Hold on, Pico or Zero?
@moonscript2000
@moonscript2000 6 ай бұрын
Check the edit
@MH-vx1fo
@MH-vx1fo 6 ай бұрын
At least Arduino, Raspberry works equally well in Zero and Pico versions. I had constant problems with ESP; I gave up trying and experimenting.
@JG-nm9zk
@JG-nm9zk 4 ай бұрын
ESP32 is a family of chips so..... which one are you talking about? The pi zero doesn't have a deep sleep that consumes micro amps. There are use cases for both.
@AnFr33
@AnFr33 3 ай бұрын
Risc-V boards are good too for projects, AI Vision for example
@liotcik
@liotcik 2 ай бұрын
What about power consumption? This is important for mobile devices.
@Validole
@Validole 4 ай бұрын
ESP is effn useless if you need the LE part of BLE, which it claims to support. Every time a new one comes out, I check if they've gotten their power draw in BLE use under control. So far, I've been invariably disappointed.
@dinithaw
@dinithaw 8 ай бұрын
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
@Sohailkhan-zw1gl 7 ай бұрын
how do u program stm32 ? stmcubeide or arduino ide?
@cine.abhilash
@cine.abhilash 20 күн бұрын
in India The ESP32 costs only ₹350 which is equal to $4.7 appx. and jf we buy the copy ones it is only ₹150 which is equal to $1.8 appx.
@vaioskaliakoudas6388
@vaioskaliakoudas6388 4 ай бұрын
Is the ESP-32 suitable for absolute beginners???
@lonewolftech
@lonewolftech 4 ай бұрын
Fuck no! It’s a pita
@vaioskaliakoudas6388
@vaioskaliakoudas6388 3 ай бұрын
@@lonewolftech So, it's difficult to learn for an absolute beginner like me...
@LucianoFoxtrot
@LucianoFoxtrot 4 ай бұрын
It's not better; it's designed for different purposes. Arduino remains far superior for those who want to learn electronics, as it was literally created for that purpose and was never intended for use in projects beyond educational purposes.
@mohammadesfahani1060
@mohammadesfahani1060 5 ай бұрын
In comparison with arduino, esp has lots of advantages. Also, esp adc pins sometimes are not that accurate compare to arduino. But, in comparison with ARM mcu, esp output pins are limited with low functionality. With ARM mcu, we can expect DAC output, BKP ram, high speed ccm ram, camera support, FAT32, lots of ADC, lots of timers, RTC, DMA, USB, sometimes Ethernet, multiple of I2c, multiple SPI, and something higher processing speed.
@hinzster
@hinzster 3 күн бұрын
I still use Arduino Nanos (not Unos) for three reasons: they're small, dirt cheap - even cheaper than ESP32 - and most of the time they are *enough*. Most of my projects don't need WiFi or bluetooth, and since I'm breadboarding most of the time, 240MHz is actually quite a lot higher than I'd be comfortable with, so most of the time spent would be delay loops anyway.
@ericthecyclist
@ericthecyclist Ай бұрын
Should mention that the ESP32 has DACs (8 bit), which is rare to find on arduino boards.
@brdane
@brdane 5 ай бұрын
I don't think people realize just how fast 16 megahertz is. There's a very good chance that 12 megahertz is even fast enough for whatever microprocessor home utility or robot you're wanting to make.
@Hr1s7i
@Hr1s7i 4 ай бұрын
Depends. If you go for very basic automation where all you're driving are switches and a bunch of executive mechanisms, sure. Anything which has regulation in it however, would strain such a slow chip. There is a hard limit to how much you can spread the logic laterally.
@lonewolftech
@lonewolftech 4 ай бұрын
@@Hr1s7imy guy we use far worse shit in factories in high end plcs…. The atmega is fine
@Hr1s7i
@Hr1s7i 4 ай бұрын
@@lonewolftech As I said, it depends. If you have systems where the objects you want to control has very high reactive properties and you need to operate it in basic PID or cascade or Smith configuration, you won't be able to get away with a slow controller. Naturally objects with high accumulative properties are exempt, since you use PI or even P law to control them. Ultimately it comes down to the system in question and how well you can identify it.
@plinble
@plinble 4 ай бұрын
Isn't there the Raspberry Pi for more CPU, have a server/ light bulb combo. ZigBee might be OK, but EZ fibre optic, or CAN has the robustness.Any remote connectivity needs a security check of everything.
@stevenclark2188
@stevenclark2188 3 ай бұрын
And before this it was STM32s running Mbed, because they gave you real CPU power and libraries for all the stuff like timer interrupts that Arduino was missing.
@ESmith
@ESmith 6 күн бұрын
I can’t get my XIAO esp32c3 to connect to my TTL. Driving me insane
@tomeks666
@tomeks666 4 ай бұрын
but they are powerhungry compared to arduino. in some uses it matters a lot
@maxvideodrome4215
@maxvideodrome4215 9 ай бұрын
ESP32 wifi stack too much latency for time sensitive applications and motion control sadly.
@nickalexander2505
@nickalexander2505 9 ай бұрын
That’s actually great feedback, was planning on using an esp microcontroller for a design I have upcoming
@maxvideodrome4215
@maxvideodrome4215 9 ай бұрын
@@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.
@nickalexander2505
@nickalexander2505 9 ай бұрын
@@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
@maxvideodrome4215
@maxvideodrome4215 9 ай бұрын
@@nickalexander2505 too bad because the ESP32 modules are so inexpensive
@101picofarad
@101picofarad 9 ай бұрын
I have 20..30hz by wifi get.
@Canthus13
@Canthus13 8 ай бұрын
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.
@wil9861
@wil9861 2 ай бұрын
Can someone list the academic courses or topic one would need to get into self taught electronics
@SamGib
@SamGib 3 ай бұрын
Not everything needs WiFi or BT. In fact, I try to avoid them due to security and stability.
@SERAVIVA
@SERAVIVA Ай бұрын
How did you... levitate it...
@majdai
@majdai 5 ай бұрын
But i faced a lot of problems using esp32 more than Arduino
@tommarekcz
@tommarekcz 5 ай бұрын
one issue I am experiencing is slow compiling time in arduino ide.
@balee15
@balee15 2 ай бұрын
for heavy industry only PIC, AVR, Z80 etc....
@Scorponox93
@Scorponox93 4 ай бұрын
would've been great to know this in january when I had to do an arduino project for a class which then turned into an iot project...
@IronMeDen1
@IronMeDen1 4 ай бұрын
I need an arduino and a bunch of dupont cables and doing some weird manually timed pulls to even be able to get a connection for my ESP32 and I still haven't managed to get code onto the thing. Most likely a skill issue though.
@MorgothCreator
@MorgothCreator 6 күн бұрын
ESP8266 and ESP32 are still quite unstable, you can't rely on them yet, the application can freeze or crash, they need to do more worl on the low level WiFi libraries to make them more stable.
@sh4n940
@sh4n940 28 күн бұрын
A problem that i noticed when i worked with esp32 if you want to use esp-now and other protocols that use wifi probably you will get some errors, esp-now is over wifi.anyway ESP32 the best board for IoT
@mapagmasidtv
@mapagmasidtv 6 ай бұрын
Thanks robert now i understand i have to buy an esp32 developement kit too
@SvRider512
@SvRider512 3 ай бұрын
What are projects everyone is doing with these boards?
@JaySharma_javascript
@JaySharma_javascript 5 ай бұрын
I want something which reads precise analog signals. Any suggestions?
@ugetridofit
@ugetridofit 3 ай бұрын
A/D converter
@SupernovaSpence
@SupernovaSpence 27 күн бұрын
I heard that it’s better than arduino because of Wi-Fi Wi-Fi Wi-Fi… great argument 👍🏻 let’s just forget about the trade offs… like power, pwm, dac’s, adc’s etc
@randysteven88
@randysteven88 3 ай бұрын
I wish there was a ESP32 with 54 digital input/output (or more) like the Ard. MEGA.
@timmy7201
@timmy7201 4 ай бұрын
The ESP32 is a bare-bones microcontroller, Arduino is a proto-board platform based on various types of microcontrollers. There is a big difference between those two! I'm going to use an ESP32, whenever I must design something that requires wifi and less than a dozen IO pins. I'm not going to use an Arduino, when the design requires no wifi but 90 IO pins! In that case I'm just using an At-mega6490, or I will look at what Microchip and TI have to offer. Arduino is not a type of microcontroller, but a toy platform meant for kids and students!
@Hukkinen
@Hukkinen 3 ай бұрын
ESP32 dev boardgames abundant though
@RaphaelM-MG
@RaphaelM-MG 4 ай бұрын
What about RP2040? Is it a strong competitor or not?
@mariocosta2050
@mariocosta2050 2 ай бұрын
Depends on what we can do. To Kill a flie we don't needs an RPJ-7... That is the case, we have to keep the things Simple as possible...
@Aiduss
@Aiduss Ай бұрын
weird question. why car is better than bicycle or plane? different things are for different tasks dooh
@widjisantoso3074
@widjisantoso3074 20 күн бұрын
any one have the same experience in compiling arduino ide for the esp 32, which taking so long?
@leovillant768
@leovillant768 4 ай бұрын
Arduino still doesn't eat a whole lot of battery tho
@armonfrohlich6348
@armonfrohlich6348 4 ай бұрын
The problem I have with clips like this is that only people who don't know anything about it and are looking for information watch videos like this. And they get completely incompetent advice or are misled... First of all, Arduino is a brand, not a specific product. So does the creator want to claim that an Esp32 is better than, for example, an infrared shield? Or a shield for motor control? Better than any product that Arduino offers? Even if it was a vase? Channels like this should really be banned because they are misleading. Apart from that, the right tool for every job. If I wanted to build a device for on the go, for example, I would definitely choose an Arduino controller. These are known for their robustness, among other things. They are also not as prone to failure as the Esp32, which is also annoying if there are certain other devices in the vicinity, such as microwaves or similar, or a device that is supposed to detect fields. Besides, what do I want with double or even five times the power when the Mini's is more than enough? What's the point? Cars are being compared to tricycles... In addition, the warning in the manual that you should work within the brand is not (just) there for greed. Firstly, you cannot use every Arduino shield on the esp32. With Arduino controllers, this works across the entire product range. In addition, even the esp32 uses the advantages of the Arduino shields and the IDE. Without Arduino, there would be no esp32.... but what I consider to be the third point (besides being more reliable and robust) is that you can easily replace the controller. No soldering, no fiddling around... just use a pair of tweezers or something similar to pry the chip out and insert a new or different one, depending on the project. Then there is the community, the tutorials and so on... yes, the esp32 has more power. But if you don't need that, you don't need an esp32, right? How about a clip like "when an esp32 is better than such and such an Arduino controller".
@baller-qw9bb
@baller-qw9bb 20 күн бұрын
or for about the same size u can get a RPi zero 2 W it has wifi and the chip runs at 1.1GHz
@wtmayhew
@wtmayhew 3 ай бұрын
Of course the Arduino Uno R4 Wi-Fi has an ESP32 SoC processor, so you can have both at once.
@daze8410
@daze8410 4 ай бұрын
esp32 was hard for me to get into because I did not know any programming before, still iffy on C but micropython is an option for a lot of boards
@AnotherCG
@AnotherCG Ай бұрын
You cannot compare these like that. Arduino is a movement platform. ESP is also part of the Arduino platform
@rickhunt3183
@rickhunt3183 3 ай бұрын
The application dictates the hardware. While I gravitate towards the esp32. I primarily try to focus on the raspberry pi pico as it natively runs in python and its very easy to upload to since the host see's it as a flash drive. One thing to consider is that the Arduino uses 5 volt logic and most sensors do as well. There's absolutely nothing wrong with using the AT328 microcontroller. If your primary focus is on cpu speed. You might want to rethink your application, algorithm or both. Consider splitting up the application processes over multiple microcontrollers for best efficiency. I've written lots of machine code that ran at .89 MHz and 1 MHz without any problems and you can too.
@Industry-insider
@Industry-insider 3 ай бұрын
That 240 MHz one is also a dual core
@ugetridofit
@ugetridofit 3 ай бұрын
and the new P4 is dual core 400mhz
@TurdBoi666
@TurdBoi666 3 ай бұрын
​@@ugetridofit this ratio is dual core
@JimnyVR5
@JimnyVR5 4 ай бұрын
also it's 3.3V which is a pain if you got an Arduino heavy environment
@ugetridofit
@ugetridofit 3 ай бұрын
If your still working with 5v your back in the horse and carriage days.
@x7heDeviLx
@x7heDeviLx 2 ай бұрын
I think both are needed the more hobbyist electronics the better
@OlafFichtner
@OlafFichtner 8 ай бұрын
ESP32 is a microcontroller (board), Arduino is a microcontroller platform. You can use boards with ESP32 on that Arduino platform. Apples and oranges...
@FieldSobrietyTest6676
@FieldSobrietyTest6676 Ай бұрын
Arduino walked so ESP could run. They're cool at their own times. That's technological improvement.
Have you ever seen soldering THIS close?
9:53
Robert Feranec
Рет қаралды 748 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
I put ChatGPT on a Robot and let it explore the world
15:24
Nikodem Bartnik
Рет қаралды 1,3 МЛН
How to Make ESP32 MARAUDER
5:16
ARTFOR
Рет қаралды 13 М.
12 Amazing ESP32 Projects explained in 9 minutes!
9:28
ToP Projects Compilation
Рет қаралды 393 М.
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 1,9 МЛН
Forget WiFi! This Wireless Method is WAY Better? (ESP-NOW)
12:14
GreatScott!
Рет қаралды 762 М.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 1,1 МЛН
I Accidentally Bought the New Arduino UNO R4 (And It's INSANE)
5:15
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,6 МЛН
The Magic of RISC-V Vector Processing
16:56
LaurieWired
Рет қаралды 351 М.