Why is ESP32 better than Arduino?

  Рет қаралды 1,460,777

Robert Feranec

Robert Feranec

Күн бұрын

Пікірлер
@cmxpotato
@cmxpotato 8 ай бұрын
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 7 ай бұрын
I'm sorry i can't like this twice... Those things should've been said in the video
@Ed19601
@Ed19601 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
stm32 is better than both
@InsipidProgrammer
@InsipidProgrammer 7 ай бұрын
​@@NoName-zx1qo I haven't gotten around to that one yet, but have experimented with stm8 and it's fun too
@Choralone422
@Choralone422 7 ай бұрын
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 6 ай бұрын
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… 😏
@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 2 ай бұрын
"hm I think I need a bad product"
@MoisesCaster
@MoisesCaster 8 ай бұрын
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 8 ай бұрын
Yep, that why the best practice is to have a template of code for defined pins with // comments
@sadteeto
@sadteeto 8 ай бұрын
avoid strapping pins! Check the esp32 datasheet for details
@101picofarad
@101picofarad 8 ай бұрын
Это не баг, а фича - читайте документацию )
@101picofarad
@101picofarad 8 ай бұрын
@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
@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 2 ай бұрын
Hey can i connect with you?, i need some clarifications on things about a iot device
@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 3 ай бұрын
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 2 ай бұрын
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 24 күн бұрын
Official ardino uno costs 30€ !!!!!! , RP2040 or ESP32 in comparison cost from 1 to 3 €
@tommythuyen4063
@tommythuyen4063 7 ай бұрын
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 6 ай бұрын
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
@TheReptileDragons
@TheReptileDragons 5 ай бұрын
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 12 күн бұрын
​@@Atom224how come?
@Johnny-es9xg
@Johnny-es9xg 4 ай бұрын
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.
@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 2 ай бұрын
​@@ugetridofit Cringe esp32 fanboi lmao
@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 5 ай бұрын
This thing can run on small battery for ages if properly designed!
@honor9lite1337
@honor9lite1337 2 ай бұрын
Indeed
@plinble
@plinble 3 ай бұрын
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.
@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 2 ай бұрын
ESP32 dev boardgames abundant though
@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 8 ай бұрын
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.
@damny0utoobe
@damny0utoobe 8 ай бұрын
ESP32 is running a binary blob for the network stack that could have a potential CCP backdoor.
@Mike-ry4ti
@Mike-ry4ti 8 ай бұрын
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.
@macemoneta
@macemoneta 3 ай бұрын
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.
@gabemorris1231
@gabemorris1231 4 ай бұрын
The raspberry pi pico is dominant in my opinion. It out performs the Arduino and is $5
@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 3 ай бұрын
@@Hr1s7imy guy we use far worse shit in factories in high end plcs…. The atmega is fine
@Hr1s7i
@Hr1s7i 3 ай бұрын
@@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.
@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.
@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 2 ай бұрын
​@@ugetridofit cringe ESP32 fan
@CanNotTrade
@CanNotTrade 26 күн бұрын
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.
@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.
@2012TheAndromeda
@2012TheAndromeda 6 ай бұрын
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 5 ай бұрын
Yes, how to read more stable analog signals? Do you have any other idea?
@AstoundingAmelia
@AstoundingAmelia 5 ай бұрын
​@@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 12 күн бұрын
​@@upzzz3483low pass filter probably. Or use an external chip for ADC.
@andreyturkin
@andreyturkin 8 ай бұрын
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 5 ай бұрын
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.
@AlghostUnit
@AlghostUnit 4 ай бұрын
honestly the size of the pieces can make them very interesting today for the people that want to build their mobile.
@Validole
@Validole 3 ай бұрын
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.
@fof1353
@fof1353 8 ай бұрын
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
@korayk.454
@korayk.454 7 ай бұрын
Saw the video while programming PIC16f628 😅
@vitto_pincharrata
@vitto_pincharrata 4 ай бұрын
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)
@SuperNeotendo
@SuperNeotendo 25 күн бұрын
it depends what you need for your project. i do not need an esp32 for simple tasks
@mrlmfao1011
@mrlmfao1011 8 ай бұрын
I used both, at first I didn't like esp32 that much but now I would pick it anyday over an Arduino.
@yesyes9698
@yesyes9698 8 ай бұрын
Why? Would you mind elaborating? Thanks.
@mrlmfao1011
@mrlmfao1011 8 ай бұрын
@@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 3 ай бұрын
It’s really not at all more flexible 😂😂😂😂
@Atom224
@Atom224 4 ай бұрын
I wish STM32 would get more attention from the community.
@marlonvillanueva6986
@marlonvillanueva6986 4 ай бұрын
The FPV drone community has loved the STM32 for over a decade now.
@ugetridofit
@ugetridofit 3 ай бұрын
Why it totally sucks in comparison to what the ESP32 can do.
@Atom224
@Atom224 3 ай бұрын
@ugetridofit Currently, the most powerful MCU is from the STMH7 line. Also, no other manufacturer has such a diverse portfolio of MCUs. Especially ultra low power ones. Besides that, STM32s have a LOT of peripheral I/O from display drivers to motor controllers to built-in Ethernet, FDCAN, Octo SPI..... Try doing that with your ESP32. It may be a champ in the IoT space, but when it comes to control systems, it pales in comparison.
@eng_dude
@eng_dude 12 күн бұрын
Built a USB force feedback steering wheel that uses an Odrive. So awesome!
@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.
@erickgabrielalfaroroldan5333
@erickgabrielalfaroroldan5333 4 ай бұрын
And what about the Raspberry Pico which is a lot cheaper?
@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?
@renren_does_programming
@renren_does_programming 7 ай бұрын
One phrase to describe an esp32, "A cpu on a stick".
@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.
@Chronologist89
@Chronologist89 4 ай бұрын
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
@ericthecyclist
@ericthecyclist 25 күн бұрын
Should mention that the ESP32 has DACs (8 bit), which is rare to find on arduino boards.
@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 3 ай бұрын
the pico does seem like the best of both worlds for stuff where ESP/STM isn't already an obvious pick
@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.
@Jacob-bm6wb
@Jacob-bm6wb 3 ай бұрын
Could make meshes with them but sometimes you dont want any wireless connectivity
@Username9182736451
@Username9182736451 16 күн бұрын
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!).
@PerOnnai
@PerOnnai 4 ай бұрын
It's all fun in games until someone finds out how to hack them😂
@lonewolftech
@lonewolftech 3 ай бұрын
It ain’t hard to do that’s why we don’t use them and won’t!
@maxvideodrome4215
@maxvideodrome4215 8 ай бұрын
ESP32 wifi stack too much latency for time sensitive applications and motion control sadly.
@nickalexander2505
@nickalexander2505 8 ай бұрын
That’s actually great feedback, was planning on using an esp microcontroller for a design I have upcoming
@maxvideodrome4215
@maxvideodrome4215 8 ай бұрын
@@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 8 ай бұрын
@@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 8 ай бұрын
@@nickalexander2505 too bad because the ESP32 modules are so inexpensive
@101picofarad
@101picofarad 8 ай бұрын
I have 20..30hz by wifi get.
@ChadKovac
@ChadKovac 2 ай бұрын
Also there's serious research going into broadcasting and receiving using LoRa over the ESP32 PWM pins
@bryangianesini2621
@bryangianesini2621 2 ай бұрын
The digital outputs are 3.3V. They don't work with my 5V relays.
@liotcik
@liotcik Ай бұрын
What about power consumption? This is important for mobile devices.
@khalid_g_dev9273
@khalid_g_dev9273 2 ай бұрын
what i am hearing as cyber security: big attack surface !!
@khalid_g_dev9273
@khalid_g_dev9273 2 ай бұрын
be careful guys and stay updated :)
@supersanic3446
@supersanic3446 5 ай бұрын
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.
@leovillant768
@leovillant768 4 ай бұрын
Arduino still doesn't eat a whole lot of battery tho
@JeppeAchtonNielsen
@JeppeAchtonNielsen 5 ай бұрын
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.
@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.
@codewizard58
@codewizard58 4 ай бұрын
As others have said, it depends on what you need. I build my own Arduino like systems using the ATMEGA328P
@SamGib
@SamGib 2 ай бұрын
Not everything needs WiFi or BT. In fact, I try to avoid them due to security and stability.
@tharii314
@tharii314 4 ай бұрын
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.
@wtmayhew
@wtmayhew 3 ай бұрын
Of course the Arduino Uno R4 Wi-Fi has an ESP32 SoC processor, so you can have both at once.
@vaioskaliakoudas6388
@vaioskaliakoudas6388 4 ай бұрын
Is the ESP-32 suitable for absolute beginners???
@lonewolftech
@lonewolftech 3 ай бұрын
Fuck no! It’s a pita
@vaioskaliakoudas6388
@vaioskaliakoudas6388 2 ай бұрын
@@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.
@cine.abhilash
@cine.abhilash 5 күн бұрын
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.
@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.
@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 5 ай бұрын
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.
@mohammadesfahani1060
@mohammadesfahani1060 4 ай бұрын
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.
@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 16 күн бұрын
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.
@MavestudioR
@MavestudioR 28 күн бұрын
How did you... levitate it...
@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 2 ай бұрын
​@@ugetridofitWhat is uSD? If you mean micro SD card, Pi Pico doesn't use one.
@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...
@martingerken7094
@martingerken7094 4 ай бұрын
You compare apples with beer: Arduino is an environment for development, ESP32 is a MCU. Arduino can be used to program ESPs
@fardouk
@fardouk 3 ай бұрын
A portable "man in the middle" device
@djouze00
@djouze00 4 ай бұрын
Can't we normalize searching for microcontrollers that are useful for the applications and like... project a PCB or consider a devkit? Instead of always using arduinos and esps? Its always funny how little people care about this part, if you gave them a brick that has a main function and a loop function they'd be happy. A little bit of effort into understanding how these things work would be great.
@hanspeterbestandig2054
@hanspeterbestandig2054 6 ай бұрын
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… 🙄
@monkev1199
@monkev1199 3 ай бұрын
@hanspeterbestandig2054 more than likely the company they are licensing some IP from doesn't want their code to be open source. So it's a binary blob or the product doesn't ship.
@ugetridofit
@ugetridofit 3 ай бұрын
over paranoid people. ESP is used in far to many commercial products. If there was anything like that in there it would have been caught by now, and they would loose everything
@plinble
@plinble 3 ай бұрын
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.
@FieldSobrietyTest6676
@FieldSobrietyTest6676 29 күн бұрын
Arduino walked so ESP could run. They're cool at their own times. That's technological improvement.
@_forg_
@_forg_ 3 ай бұрын
I have bricked 3 consecutive ESP32's while working on a project, make of that what you will
@ugetridofit
@ugetridofit 3 ай бұрын
It;s ok. one day you will learn how to do things correctly.
@_forg_
@_forg_ 3 ай бұрын
@@ugetridofit thanks gramps 👍, I will do my best
@TurdBoi666
@TurdBoi666 2 ай бұрын
​@@ugetridofit This ratio will make you do better
@stevenclark2188
@stevenclark2188 2 ай бұрын
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.
@tomeks666
@tomeks666 4 ай бұрын
but they are powerhungry compared to arduino. in some uses it matters a lot
@dinithaw
@dinithaw 7 ай бұрын
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 6 ай бұрын
how do u program stm32 ? stmcubeide or arduino ide?
@ultrapim1
@ultrapim1 22 күн бұрын
People will grab a 100mhz+ esp to read a single digital pin and send that info to their web app.
@AnFr33
@AnFr33 3 ай бұрын
Risc-V boards are good too for projects, AI Vision for example
@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.
@666aron
@666aron 8 ай бұрын
Did someone mean Atmel/atmega?
@Mcs1v
@Mcs1v 8 ай бұрын
ArDuInO!44!!4
@AnotherCG
@AnotherCG 28 күн бұрын
You cannot compare these like that. Arduino is a movement platform. ESP is also part of the Arduino platform
@schizoorreality
@schizoorreality 3 күн бұрын
Don't forget it has 2 cores, this is a key feature
@lalit_22
@lalit_22 2 ай бұрын
Raspberry Pi be like do i count😂?
@randysteven88
@randysteven88 3 ай бұрын
I wish there was a ESP32 with 54 digital input/output (or more) like the Ard. MEGA.
@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...
@foobarables
@foobarables 7 ай бұрын
Comparing arduino with an ESP32 is like comparing dogs and cats. Each have their own applications.
@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.
@SupernovaSpence
@SupernovaSpence 12 күн бұрын
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
@someidiot4311
@someidiot4311 4 ай бұрын
Performance is usually useless in microcontrollers.
@majdai
@majdai 4 ай бұрын
But i faced a lot of problems using esp32 more than Arduino
@sh4n940
@sh4n940 13 күн бұрын
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
@hudsonator7259
@hudsonator7259 7 ай бұрын
My go-to is the pi pico
@ten-faced-carrot
@ten-faced-carrot 6 ай бұрын
Pico W for me
@hudsonator7259
@hudsonator7259 6 ай бұрын
@@ten-faced-carrot well the pico family I havent used the actual pico but I do have two pico ws
@ugetridofit
@ugetridofit 3 ай бұрын
What do you do when your application needs to work outside? Its not temp rated for that.
@hudsonator7259
@hudsonator7259 2 ай бұрын
@@ugetridofit its just under zero degrees ferenheit to almost 100 I think it'll work fine outside where I am And who says it will go outside
@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".
@HelamanGile
@HelamanGile 3 ай бұрын
Esp 8266 has Entered the chat
@Aiduss
@Aiduss Ай бұрын
weird question. why car is better than bicycle or plane? different things are for different tasks dooh
@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 2 ай бұрын
​@@ugetridofit this ratio is dual core
@Mike-ry4ti
@Mike-ry4ti 8 ай бұрын
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.
@cmxpotato
@cmxpotato 8 ай бұрын
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.
@kklol07
@kklol07 8 ай бұрын
​@@cmxpotatowhat is heap fragmentation
@argvSys
@argvSys 7 ай бұрын
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-ry4ti
@Mike-ry4ti 5 ай бұрын
@cmxpotato your problem was starting off with something with limited processing resources for the specific task to begin with!
@Mike-ry4ti
@Mike-ry4ti 5 ай бұрын
@@argvSys you can still do the basics with a newer controller, just like you can take a cup of water from the open ocean👍
@TheOfficialDorianelevator
@TheOfficialDorianelevator Ай бұрын
the ESP32 might be good for stuff, but you'd much better need a Arduino for stuff like air raid siren control panels, you dont need wi-fi nor insane speeds, just trigger contactors & buttons, hell even a more basic thing than a Arduino could do this.
@autohmae
@autohmae Ай бұрын
From what I hear, lots of people are now using RISC-V instead
3 HACKING gadgets you have to TRY!!
19:34
NetworkChuck
Рет қаралды 1,7 МЛН
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,5 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 1,9 МЛН
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 735 М.
How I Built A LEGO Treadmill That Moves In EVERY Direction
18:06
Banana Gear Studios
Рет қаралды 940 М.
I put ChatGPT on a Robot and let it explore the world
15:24
Nikodem Bartnik
Рет қаралды 1,2 МЛН
Building a USB-C breadboard power supply
2:23
Axiometa
Рет қаралды 22 М.
I made maps that show time instead of space
10:44
Václav Volhejn
Рет қаралды 976 М.
The IMPOSSIBLE Laptop Fan...
14:19
Dave2D
Рет қаралды 1,4 МЛН
Have you ever seen soldering THIS close?
9:53
Robert Feranec
Рет қаралды 727 М.
It’s Been a Good Run, Phone Providers.
26:31
Data Slayer
Рет қаралды 5 МЛН
The 20 Best ESP32 Projects of 2024!
14:44
ToP Projects Compilation
Рет қаралды 114 М.