Raspberry Pi Pico VS ESP32 S2 speed comparison benchmark using CircuitPython

  Рет қаралды 222,905

educ8s.tv

educ8s.tv

Күн бұрын

Пікірлер: 250
@rocketgirl3366
@rocketgirl3366 2 жыл бұрын
They have to estimate Pi, and the ESP32 took 3.14 seconds to do it... That's a sign
@seebaastian
@seebaastian 2 жыл бұрын
nice video, but I'm not quite sure if python is the best language to compare the power that lies behind some architecture.
@svenprigann2631
@svenprigann2631 2 жыл бұрын
That's what I thought. It's like comparing athletic performance of two runners by only letting them walk on their hands.
@talk2azs
@talk2azs 2 жыл бұрын
Micropython is VERY slow on the Pico. This is why I use c as my language of choice. I am using bothe cores I'm my projects. In my case I need seemless integration in my projects. Any stalls in my main code will cause visual flickering problems. The second core solves my issues.
@altimmons
@altimmons 2 жыл бұрын
Yea you never know what assembly python will be unrolled into. Sometimes it can be quite baffling unrolling a command to 30 -300 operations when C would do it in one or two
@altimmons
@altimmons 2 жыл бұрын
A better approach would be just to use advertised IPC x Clock (instructions per clock) to get instructions per second
@altimmons
@altimmons 2 жыл бұрын
It’s worth taking a look at the generated code sometimes to get a sense of just how much slower python must run than native code. Python is much easier to understand though, but I have found it’s performance to be very poor on these boards. Just the libraries and the micropython kernel quickly eat up that 2-4mb of flash. Like really quickly.
@hikingpete
@hikingpete 2 жыл бұрын
Where the RP2040 really shines is with complicated I/O. Rather than bit-banging your protocols on the main core, you can use drivers for the PIO cores to manage the low-level details, and work mostly with filled buffers at your application level. The second core is useful in much the same way - offload a complicated process with sensitive timing, leaving your core application logic untroubled by such things. Also, reports are that it overclocks very nicely. All that said, I still love the ESP32 for some workloads.
@Gameplayer55055
@Gameplayer55055 2 жыл бұрын
esp has wifi and Bluetooth, it is very handy feature. for projects that don't require internet connection i use good old arduino nano
@cmxpotato
@cmxpotato 2 жыл бұрын
If the ESP32-S2 is implemented with a DMA for niche protocols, I don't think the pico's PIO is a straightforward victory. Then again, I'm not too familiar with the ESP's DMA implementation either, so this might be a straight victory for the pico. But for conventional protocols like I2C or SPI, DMA with the ESP32 and DMA or PIO with the pico should be fairly equal. Though I would give extra points to the ESP because its larger ram means it can have a larger buffer. It does seem the pico has a lot more performance left on the table if python isn't used here. I'm curious how it would fair if this test is done on C. Even with Python, deleting the code drawing that progress bar will make the gap between the two smaller.
@Gameplayer55055
@Gameplayer55055 2 жыл бұрын
@@cybermechid9181 that stupid miner/covid/??? related chip crisis kills me. even microcontrollers became more expensive. i remember pico started from 2$. hopefully i have some bought before esp8266 radio can be turned off in settings. tho pico has more pins, better to use it if no wifi required
@MichaelKingsfordGray
@MichaelKingsfordGray 2 жыл бұрын
@@Gameplayer55055 Coward.
@zipp4everyone263
@zipp4everyone263 2 жыл бұрын
Just a question: Would it be possible to use the pi with a gpio expander to deal with both i2s audio and a full 107key keyboard setup by dividing the operations between the cores? Could probably benefit using a C-language for that comapred to the rather sluggish circuitPython code that usually runs on these dev board.
@KimasM
@KimasM 2 жыл бұрын
One small thing that I noticed right away is LED on ESP32 compared to Pico. The other side is CH304 chip it's only useful for development but not for actual project so it also uses some current. So if you thinking about project specific current you would emit all those before mesuring. Pico has integraded USB support so it doesn't need to use USB to TTL. So if thinking about actual project you would only use ESP32 module itself not entire dev board. This would give fair comparison between two. Plus WIFI/BT should also be sure to be fully disabled.
@Educ8s
@Educ8s 2 жыл бұрын
I hope you took away lots from this video. Let me know below! PS. I created a course named "Object Oriented Programming Made Easy. Get it here 👉 bit.ly/3NaMfg4
@ragesmirk
@ragesmirk 2 жыл бұрын
You can overclock the pi pico to 250mhz
@sleepib
@sleepib 2 жыл бұрын
Can still get the pico for $4 from official distributors.
@wegi9621
@wegi9621 2 жыл бұрын
Ok, first thing - progress bar is delayed calculations and on the slower machine doing more delay, what is incorrect. If you don't believe simply do progress bar on the half screen size and check time difference. You should only calculate timestamps in calculation time and the second thing: To be honestly you should calculate PI 2 times, on the RPI paralelly on the two cores, and on the ESP one after one - that wouldbe show really how fast they are. It is not? Cheers
@Educ8s
@Educ8s 2 жыл бұрын
I will try to do a parallel computer of Pi in the future. In this video I just test single core performance. Thanks for the tips!
@sharkustuff
@sharkustuff 2 жыл бұрын
Great vid!
@e_neko
@e_neko 2 жыл бұрын
Was the WIFI radio disabled in your ESP32 sketch? At least for ESP8266 the difference in power use with active WIFI is significant, even when it is not in use.
@AndreasHammerschmidt
@AndreasHammerschmidt 2 жыл бұрын
There is a huge difference in power consumption among different ESP32 boards. The CH340 oder CP2102 bridges sometimes consume more than the ESP32 itself (especially if you do battery powered applications where the ESP32 consumption can be as low as 0,0025 mA). If you want to compare power consumption you should disable radio and reduce the core speed to about 120 MHz which will bring the ESP32 power consumption below 10 mA.
@Educ8s
@Educ8s 2 жыл бұрын
Thanks for the very useful information!
@MrZANE42
@MrZANE42 2 жыл бұрын
Have you verified that the LCD updating doesn't effect the test result. My suggestion would be to remove the progressbar and just write test running at start of test
@Educ8s
@Educ8s 2 жыл бұрын
Yes you are right, the LCD updating is included in the time needed to run the script. I included it on purpose in order the test not to be pure mathematical, to be closer to real life which usually needs driving an updating a display. Thanks for comment.
@PeetHobby
@PeetHobby 2 жыл бұрын
Second thread is very powerful, can run second task that normally would slow down your code significant on the second core, and it's easy to use in the code. For example, you can run TFT driver on the second core, or serial communication, etc. So your program runs full speed, that can be huge difference in many cases.
@mig2008pt
@mig2008pt 2 жыл бұрын
Regarding power consumption, the led on the ESP32 can be desoldered as it is adding to the total wattage without doing nothing to the performance outcome of his test, also, don’t know if the radios are disabled, witch also adds to the total power consumption.
@Educ8s
@Educ8s 2 жыл бұрын
I will try that as well. Thanks!
@MattDawson01
@MattDawson01 2 жыл бұрын
I've seen people say you can o/c the pico to 436Mhz. You could probably safely run it at 266Mhz and you'd be at same speed as ESP32.
@adamw.8579
@adamw.8579 2 жыл бұрын
But 2 cores if you know how to use it. Even under Arduino for beginners is multicore library for using Pico second core. Micro Python is also handy for quick developing.
@AdaptivePhenix
@AdaptivePhenix 2 жыл бұрын
Just started running the Picomite (Pico with MMBASIC) at 378MHz. Seems solid and no significant temperature rise 👍😎
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
You can't run python application to measure hardware performance. The implementation of python runtime very much affects the speed of execution and for each MCU the implementation details differ a lot. So you might be measuring the quality of python implementation, not hardware performance.
@Educ8s
@Educ8s 2 жыл бұрын
I agree with what you said. My point of doing the test is not to test the processors, but if someone is using CircuitPython to build his project to know which board is faster running CircuitPython. I think it is useful to know.
@iliasalaur
@iliasalaur 2 жыл бұрын
Actually, if he would use pure c++, the esp32 would be also faster.
@artifank2747
@artifank2747 2 жыл бұрын
@@iliasalaur but by how much? Can Pico's second core close the gap? How well does ESP32 handle IO operations compared to Pico's PIO implementation? This test is the first thing most people will see and it will give them the wrong idea about the potential use cases and performance metrics of these boards. Also I would imagine Pico would win with a proper multithreaded version of this algorithm (maybe even single core when running at 250MHz).
@iliasalaur
@iliasalaur 2 жыл бұрын
@@artifank2747 man, pico's max clock frequency is 133MHz, while esp32's max clock frequency is 240MHz. That means that it will run faster in all cases.
@iliasalaur
@iliasalaur 2 жыл бұрын
@@artifank2747 and btw, esp32 has 2 performance cores and 1 ulp core.
@gregclare
@gregclare 2 жыл бұрын
Nice simple comparison video. Quite informative, although for me the choice of which microcontroller to use in a project generally comes down to the peripheral’s required (eg. Is wireless needed etc.), and also the number of GPIOs I need, and whether I need low power standby (for battery powered), etc. i.e. Given the speed of most cheap MCU’s today, it’s now pretty rare that speed is a deciding factor.
@TheGFS
@TheGFS 2 жыл бұрын
agreed.. Im a big fan of the esp boards, have like 11 of those around the house and in these few years i've been interested in mcu's clock speed has not been a limit so far .. For me it's been mostly connectivity (pins, and ofc wifi) , avilable space (kb's) , physical dimensions, IDE support (dont like the arduino ide and like to use VSCode for all my coding), documentation and specially good pinout maps... However this was a fun video and all, but i feel that benchmarking should be done with C
@az09letters92
@az09letters92 2 жыл бұрын
Next comparison: hammer vs screwdriver. ESP32 has its uses, but so does RPi Pico. Pico is unbeatable, when you need a ton of cycle exact IO, thanks to its PIO. Try to output DVI signal on an ESP32, not going to be able to do it. But Pico can do it just fine. Horses for courses. Both are absolutely great uCs and have their niches. You might end up using BOTH of them in the same project!
@jaedson-barbosa
@jaedson-barbosa 2 жыл бұрын
There's nothing ESP32 can't do.
@dazzer_
@dazzer_ 2 жыл бұрын
@@jaedson-barbosa VGA with zero CPU usage, and PWM at 200 MHz please. Working fine on the Pico, but would like to move it to a ESP32. Can it do it?
@jaedson-barbosa
@jaedson-barbosa 2 жыл бұрын
@@dazzer_ you know the PWM frequency is configurable, don't you?
@dazzer_
@dazzer_ 2 жыл бұрын
@@jaedson-barbosa Yes, I do, but that wasn't the question.
@richardmarsden6541
@richardmarsden6541 2 жыл бұрын
@@dazzer_ I'm pretty knowledgable on the esp32, and it can't do either of the things you ask.
@dazzer_
@dazzer_ 2 жыл бұрын
Which is faster, my tractor or my car? My tractor, of course! Application = Plough a field. If anyone tells you one of these is simply faster than the other, move on. They are likely just a fanboy with no experience of other platforms.
@mixmashandtinker3266
@mixmashandtinker3266 2 жыл бұрын
Very nice and informative video. Would be interesting to see a bare metal programmed comparison. ie. the boards using assembly and not the high(ish) level libraries and functions.
@iblocstudios5563
@iblocstudios5563 Жыл бұрын
the rp2040 is around 0.70$ - 0.80$ and can be overclocked it has less IO if i remember correctly but has 2 cores, is pretty fast and cheap
@zipp4everyone263
@zipp4everyone263 2 жыл бұрын
This is quite a nice test but its a bit lacking imo. It would be nice to see two tests running on each device. Since the esp32 can only handle 1 instance at the time (without some fancy asyncronus work), the pi might be a better choice depending on how you can utilize the extra core. Still really intresting, thank you for the video! Also, is it possible to do a calculation on the probable compute strength (flops) and compare it to energy draw? Would be really interesting to see any internal latency meassurements as well. Also, doesnt the rp2040 lack a floating point unit compared to the ESP32-s2?
@RDCST
@RDCST 2 жыл бұрын
Could be the USB converter responsible of 15-18mA of power consumption in the ESP32 board?
@EdFrench_uk
@EdFrench_uk 2 жыл бұрын
It would be interesting to see how the esp32 did with it's clock slowed - it should reduce the power consumption.
@MiniLuv-1984
@MiniLuv-1984 2 жыл бұрын
I'd expect the current is proportional to the number of instructions per second, so they should be very close power wise per instruction. In either case, when you are talking about 10's of milliamps for operation, the problem is the same for either platform - long term use with battery power. What is more interesting to me is the low power mode and the current drain under low power mode to judge which to use for battery based applications.
@EdFrench_uk
@EdFrench_uk 2 жыл бұрын
The ESP32 S2 does also have a low-power core. I've used it on the older esp32 and it's very handy for battery-based applications
@MiniLuv-1984
@MiniLuv-1984 2 жыл бұрын
@@EdFrench_uk Thanks Ed. I've been wondering which route to take esp32 or pico and this video nudged me towards the esp32. I will chase up the low power modes on both and see which one to use. I will be using these in a camper running off the house batteries, so although I have plenty of power, leaving it on for months while parked will kill the house batteries and I know, at some point, I will forget to switch it all off, so utilising low power mode will ensure the batteries stay good.
@EdFrench_uk
@EdFrench_uk 2 жыл бұрын
@@MiniLuv-1984 worth posting your ideas on the esp32 reddit first. The ULP is hard even for very simple tasks! Often just waking the main cpu when a pin changes is enough tho'
@TBL_stevennelson
@TBL_stevennelson 2 жыл бұрын
It would be nice to do a long test and include the 2nd core of the pico. It would like to see if having 2 cores makes up for the slower proformance and if the power differences.
@Educ8s
@Educ8s 2 жыл бұрын
Yes, I will try to do it in a future video, but in C, since CircuitPython does not yet support the two cores of the Pico
@BertoldVdb
@BertoldVdb 2 жыл бұрын
Your esp32s2 devboard has a led driven with ~10mA. Might want to remove that before doing low power work.
@etmax1
@etmax1 2 жыл бұрын
The processor chip on the pico actually has no Flash, and the Flash device is a serial Flash. This means that the chip has to load code chunks less than 264k and run them then swap them out for new code bits. This is an issue only on larger programs of course, but if you set aside large buffers for USB or WiFi processing then you could see a considerable performance hit. My guess is that the pico is between 80% slower and maybe as much as 1000% slower depending on the application, with smaller applications being favoured. It would be nice to have someone test this with a test suite designed to specifically disadvantage the pico's architecture.
@Educ8s
@Educ8s 2 жыл бұрын
Interesting info. Thanks for sharing!
@TzOk
@TzOk 2 жыл бұрын
Pi Pico is $4 and it is a fixed price. It also has its unique PIO (4 PIO cores for each CPU core), which is a game changer for many applications. It however lacks WiFi/BT capabilities.
@gg-gn3re
@gg-gn3re 2 жыл бұрын
ESP32 S2 is also $2-$4, he probably got it from some resale shop in his country that doubles the price. (which is very common)
@ragesmirk
@ragesmirk 2 жыл бұрын
You can get rp2040 board for 3$ weact rp2040 , doesn't have buck boost converter but high quality board. S2 with psram for 4$ wemos s2 mini
@RinksRides
@RinksRides 2 жыл бұрын
Nice touch to include a watt-hour figure (even in the form of time-domain), thank you.
@TT-it9gg
@TT-it9gg 2 жыл бұрын
Very nice! I ran simple calculations and CoreMark on Pico and ESP32, the result is similar. The fastest one so far is 912Mhz Teensy 4 especially on 64bit floating point calculation. The K210 600Mhz is good for 64bit integer.
@ragesmirk
@ragesmirk 2 жыл бұрын
The pico can be overclocked to 250mhz and be se to with -O3 flag
@Educ8s
@Educ8s 2 жыл бұрын
Cool! Thanks for sharing. I will try it!
@fsmaia
@fsmaia 2 жыл бұрын
ESP32 is growing faster and it's getting cheaper. I would use esp32.
@chucksommer7784
@chucksommer7784 2 жыл бұрын
First I want to say a wonderful video posting, concise and clear, easy to understand and follow. And I would give this 4.7 stars our of 5.0 . I am just being picky about the units, at 3:50 this video describes the RP2040 board using 10% less POWER (than the ESP32) to perform this calculation. And I agree the the RP2040 uses 10% less SOMETHING, however that SOMETING is not POWER, but it is ENERGY. (NOTE: Most non-technical people don't understand the distinction between Power and Energy)
@djjmsimon
@djjmsimon 2 жыл бұрын
Did you disable the WiFi during the power test?
@Educ8s
@Educ8s 2 жыл бұрын
No, but I didn't enable it either. I thought it would be off by default. I have to look more into it. Thanks for pointing it out!
@schrodingerscat1863
@schrodingerscat1863 2 жыл бұрын
@@Educ8s The S2 WIFI radio needs to be explicitly disabled or it draws power even when not in use.
@desmond-hawkins
@desmond-hawkins Жыл бұрын
This is a good approximation and the results are kind of expected, but it would be good to see the same test running natively instead of through CircuitPython, and without intermediate progress being sent to the display. You're spending time updating the screen and the execution benchmark is skewed by potential differences in the way the two boards communicate with the display. There's no good way to tell what these differences are here. Ideally you'd have them boot, start a timer, run the benchmark, stop the timer, and only use the display to show the results at the end.
@randomdamian
@randomdamian 10 ай бұрын
I bought the ESP32-S3 as I couldn't find any S2. Awesome Video thanks :) I need single core power.
@bonnome2
@bonnome2 2 жыл бұрын
I recently ordered a esp32s3 board. Circuitpython still doesn't have multithreading support though 😔
@Educ8s
@Educ8s 2 жыл бұрын
The ESP32 S3 is beast. I have to develop a dual-core benchmark to make a comparison with the Pi Pico when we get multithreading support.
@alexandrsoldiernetizen162
@alexandrsoldiernetizen162 2 жыл бұрын
Be a man, use C
@TheAstronomyDude
@TheAstronomyDude 2 жыл бұрын
Hi Nick! Thanks for the comparison! Do you like the new S2 more than the original ESP32?
@ragesmirk
@ragesmirk 2 жыл бұрын
S2 is lower consumption with 1 core instead of 2.
@dragonfly-7
@dragonfly-7 7 ай бұрын
Excellent video ! Did you consider to rerun the test with an RPi Pico W ? I'm not sure if the wireless option has an impact on the result though. Furthermore: Would it make sense to try to make use of the 2nd core by introducing threads (AFAIK the 2nd core is not used in Python code by default) ?
@Nathan-Tas
@Nathan-Tas 2 жыл бұрын
To make it fair, on the Pico, what happens if you set the CPU frequency to 250Mhz? machine.freq(250000000)
@Educ8s
@Educ8s 2 жыл бұрын
Can I do that on CyrcuitPython?
@sonla247
@sonla247 4 ай бұрын
Thanks a lot for sharing. I have a project now. I need to display some data on multiple oled displays via SPI protocol and within 100 meters. So can I ask you a question? If I need to use 100-200 OLED and use RaspberryPi. Can I complete my project? Please give me some avide.
@deehigh3359
@deehigh3359 2 жыл бұрын
I wonder what result you get if you compare to the ESP32-C3 RISC V board. According to my experience, the C3 @160MHz is twice as fast as a Pico that is overclocked to 240MHz. Of course, only single core used.
@iliasalaur
@iliasalaur 2 жыл бұрын
Same with the esp32 board, it can also be overclocked to 240MHz, and has a second core
@deehigh3359
@deehigh3359 2 жыл бұрын
@@iliasalaur That's true, but if you run Pico and ESP32 S2 both at 240MHz, Pico is faster as RISC M0+ is more efficient than LX7. On the other hand, if you compare single cores only, ESP32 C3 RISC V core clocked @160MHz is faster than a Pico @240MHz. That's what I see at least, but not benchmarked under lab conditions... Comparing single vs dual core uC is a difficult one I don't dare, because too many other dependencies like SW quality, thermal power capability, RAM and Flash channel bandwidth, mem paging ect. have large influence on result.
@iliasalaur
@iliasalaur 2 жыл бұрын
@@deehigh3359 actually, we shouldn't compare pico and esp32. Both of them are designed for different reasons. First for simplicity of interacting, second for developing iot stuff. So, that's it
@piconano
@piconano 2 жыл бұрын
Long live ESP32! Kicking ass while chewing gum.
@shaolin21
@shaolin21 Жыл бұрын
Was the WIFI module turned off on the ESP during the current consumption test?
@mlsh-azerty
@mlsh-azerty Жыл бұрын
well not really pico have two core so we can do 133hz*2=266 and is bigger than the esp so on multi tasking pico is faster in theory python is monocore so probably not the best choice (maybe cirquitpython is mulricore ?)
@BeLikeHashu
@BeLikeHashu Күн бұрын
That's not how CPU works🥹
@alexnik8334
@alexnik8334 2 жыл бұрын
ESP32 (not S2) is same architecture as ESP32S2, but has two computing cores, so 2x speed vs S2 and 2x cheaper price vs PI. Also You forgot to mention about 8Mhz low power core on both ESP32 and ESP32S2, so computing power is even higher :)
@alexandrsoldiernetizen162
@alexandrsoldiernetizen162 2 жыл бұрын
Actually the pico has an additional 8 programmable IO cores
@marinehm
@marinehm Жыл бұрын
I’ve been playing with both. I think the ESP32 is the best option! Try to find a Pico W for less than the ESP32. Try to find a basic Pico for under the same price of the ESP32. Cost and functionality; the ESP32 wins! 🎉
@guatagel2454
@guatagel2454 Жыл бұрын
I use both at the same time in a special application. The esp32 manage the network and the raspi manage the analog signals and the business logic. We have two separated teams of developers, one for each uc.
@avejst
@avejst 2 жыл бұрын
Great video as always 👍 Thanks for sharing your expirence with all of us:-)
@remimunteanu
@remimunteanu 2 жыл бұрын
First of all great video. Both are great boards. Let's not forget esp brought wifi to the makers. The pico has a few aces in its sleve like Hardware Divivide and can be overclocked to 266Mhz super easy. Division on micros without dedicated hardware is very , very taxing on performance. If you could try and use the Hardware Divide, and bump up the speed a bit on the pico, it will smoke the esp in this specific case. :) What you did with the pico is like driving a Ferrari in 1st gear : no dual core, no hardware divide, no overclock :)
@Educ8s
@Educ8s 2 жыл бұрын
Thanks for the info. It is very interesting, I would love to try it.
@iliasalaur
@iliasalaur 2 жыл бұрын
Salut din România
@fluffykitties9020
@fluffykitties9020 9 ай бұрын
At 3:08 it seems like the ESP32 knew you were testing it and was live on camera, so it wanted to flex. LOL. It gave you the time of 3.14, the same as the pi result :)
@EletronicaeTecnologia
@EletronicaeTecnologia 2 жыл бұрын
Muito bom o vídeo. Parabéns.
@paulmichaelfreedman8334
@paulmichaelfreedman8334 Жыл бұрын
How did the pico perform at max overclock (280 MHz)? Default is 125.
@OrgathmTech
@OrgathmTech 2 жыл бұрын
On the esp is a LED lightning. That costs the 10 percent 😀
@sspicyyful
@sspicyyful 2 жыл бұрын
Now there is a pico W with wifi but still ESP32 boards can accomodate an external antenna, which makes them much more useful in many cases.
@schrodingerscat1863
@schrodingerscat1863 2 жыл бұрын
Any project using WIFI or Bluetooth the S2 is the only option and anything using complex fast IO the PICO would be the better option. People need to learn to match the device to their problem. Also you need to make sure you turn off the WIFI/Bluetooth radio on the S2 when testing. By default these use a lot of power even when not being used unless explicitly turned off.
@MeTube3
@MeTube3 2 жыл бұрын
The 2040 chip on the Pico is available as a component and has been used on other implementations including WiFi and Bluetooth boards.
@tinkmarshino
@tinkmarshino 2 жыл бұрын
This was great.. a good honest appraisal of both boards.. the esp 32 is what I will use.. But not for what you think.. I like the wifi connection.. It makes for easier use in some of my projects..
@duckyblenderold
@duckyblenderold 2 жыл бұрын
ok...
@MagnusWedmark
@MagnusWedmark 2 жыл бұрын
Thanks for an interesting video. Isn't the IO-processor of the Pico the most prominent difference if comparing them? I would guess that makes stuff possible on the Pico which would still be impossible (much harder) using ESP32.
@schrodingerscat1863
@schrodingerscat1863 2 жыл бұрын
Exactly my thought, the IO processor on the PICO is a game changer for complex IO.
@daneast
@daneast 2 жыл бұрын
ESP32 also has Bluetooth, in addition to the WiFi.
@faelpinho
@faelpinho Жыл бұрын
Very nice comparisons you made, comparing boards and libraries (CircuitPy vs Arduino, for example).
@joeisuzu2519
@joeisuzu2519 2 жыл бұрын
Good info. Thanks. I would like to same test adding the esp32-s3
@M00SEYM00SE-e6d
@M00SEYM00SE-e6d Жыл бұрын
Great video, exactly what I wanted to know. Thanks.
@rotorblade9508
@rotorblade9508 Жыл бұрын
thonny ide (uses an interpreter) made my pico run 10x slower than my nano, idk it’s useless to have 8x times 2cores more processing power and be 10x slower than a poor nano. I’ve just switched to arduino ide and it now runs about 500 times faster but there is another problem. compilation takes several minutes makes it very difficult to debug.
@MrA6060
@MrA6060 2 жыл бұрын
Could the script be modified to use 1 core on the pico for the calculation and the other to drive the display? how would that change?
@Educ8s
@Educ8s 2 жыл бұрын
Yes, but unfortunately not with CircuitPython. I have to rewrite the test in C.
@nursenmaranc4659
@nursenmaranc4659 Жыл бұрын
hi, can I connect raspberry pi pico with stm32 black pill? Is it possible?
@kevinconrad7542
@kevinconrad7542 10 ай бұрын
The comments on a KZbin video are actually helpful and informative. Imagine that!
@DavidGlaude
@DavidGlaude Жыл бұрын
Not sure it makes a lot of sense to compare on that task, and inside CircuitPython... except if you plan to use it with CircuitPython. I think the Pico has no floating point math and is using library to do the math... and that might not be the case for the ESP32S2 so on some mathematical activities. I think the size of the community, the documentation, the support, ... are big factor for the maker community. Price and availability are also important.
@Cristian-yj4gk
@Cristian-yj4gk 2 жыл бұрын
My guess, before watching your benchmark run is that it would be the ARM RPi board who wins. Compiler should be better, and the Python runtime should be more optimized for an arch that is mainstream these days
@Educ8s
@Educ8s 2 жыл бұрын
That's a good point!
@chrissmith7259
@chrissmith7259 2 жыл бұрын
The ESP32 S2 takes approximately Pi seconds or 3.14 seconds and the Raspberry Pi takes approximately 2 Pi seconds or 6.4 seconds. Interesting. and a bargain price for both.
@bramSDASCL1759
@bramSDASCL1759 2 жыл бұрын
Do you have video comparing esp32 and esp32-s3??
@elektron2kim666
@elektron2kim666 7 ай бұрын
I hate libraries and it was much faster to write a bit of code in MMBasic to begin with. I can focus on the tasks, hardware and the modules for things. I bought some ESP32 stuff anyway and it's the same SPI, I2C, Serial, Display and whatnot protocols with more wireless functionality on the ESP32 side. Low power and no heat is a major factor sometimes. They can easily communicate together, so just do you.
@paddy1437
@paddy1437 2 жыл бұрын
brilliant. always love your videos 👍
@qzorn4440
@qzorn4440 2 жыл бұрын
LILYGO® TTGO T-CAN485 ESP32 CAN Modbus rtu RS-485 Supports TF Card WIFI Bluetooth Wireless is a great project board. thanks. great video.😎
@gtosama146
@gtosama146 2 жыл бұрын
This benchmark is great idea for tiny boards.
@cristianalejandroayontzint6018
@cristianalejandroayontzint6018 2 жыл бұрын
Is there anyway to do this same benchmark using both cores instead of one from the RPi?
@Educ8s
@Educ8s 2 жыл бұрын
Yes, I will try that soon but on Arduino since CircuitPython does not support multicore applications yet.
@sanjyuu2298
@sanjyuu2298 2 ай бұрын
Deos this test utilize FPU?
@hallkbrdz
@hallkbrdz 2 жыл бұрын
You should compare these to a Teeny 4.1. Single core, but at 600 Mhz, which can be overclocked. Much more powerful, with a lot more I/O. I would use C libraries for the comparison however.
@Educ8s
@Educ8s 2 жыл бұрын
Yes, Teensy is a beast. I would love to test it!
@gregorymccoy6797
@gregorymccoy6797 2 жыл бұрын
Whoa.... A benchmark but in Python? Not only is Python slow but the runtime for the language is probably compiled a bit different for each platform. I think straight C or C++ would be a better indicator.
@carlosperezm
@carlosperezm 2 жыл бұрын
It's a great video. Can you make a video about the serial communication between Raspberry pi pico and Matlab, or could you help me by showing me how I could do it?
@another3997
@another3997 10 ай бұрын
The benchmark itself is quite limited. It's certainly shows some specific aspects of relative performance, but there needs to be a broader set of tests.
@michalmi944
@michalmi944 Жыл бұрын
Note that Pi Pico can easily run at twice the frequency
@georgef7754
@georgef7754 2 жыл бұрын
This is a great comparison. I prefer a non fruit powered device.
@HDtechreviews
@HDtechreviews 2 жыл бұрын
3:07 it took 3.14 seconds on the ESP ;D
@fikajlo
@fikajlo 8 ай бұрын
I hope you understand you can disable the wifi and Bluetooth modules on the esp32 to make it use much less power
@nicksanchez3796
@nicksanchez3796 2 жыл бұрын
Thanks for doing this. It was really interesting
@ElectronicFanArm
@ElectronicFanArm Жыл бұрын
you can operate up to 240MHz with the pico so in that case it could be as fast as ESP32 in my opinion
@clydealcott3379
@clydealcott3379 2 жыл бұрын
I heard the ESP 32 devkit v1 has 2 cores not sure tho... I would love to see the comparison if it's true. Love your video❤️
@Educ8s
@Educ8s 2 жыл бұрын
Yes, the ESP32 v1 is dual core but it features two cores of an earlier LX6 architecture. The new ESP32 S3 is dual core with the newest LX7 architecture but the cores should have identical performance with the ESP32 S2.
@uzairp
@uzairp 2 жыл бұрын
something interesting might be to overlock the pi and see what performance it can achieve
@earth2k66
@earth2k66 2 жыл бұрын
I have tried to overclock pico, and it works fine up to 250mhz. Yes, it gets slightly warm but 2x processing speed is noticeable.
@AlexDanilovFapsiSu
@AlexDanilovFapsiSu 2 жыл бұрын
У ESP32 тоже два ядра, первое обслуживает модули WiFi и BLE. Это ядро так же можно задействовать в работе. Вопрос только в распараллеливании вычислительной задачи.
@petros.petros
@petros.petros 2 жыл бұрын
ωραίος! - nice video!
@Educ8s
@Educ8s 2 жыл бұрын
Thanks!
@xoddopaul
@xoddopaul 2 жыл бұрын
Also compare ESP32 with DUE
@dekipet
@dekipet 2 жыл бұрын
ESP32 is waaaay faster than almost everything. Except Teensy 4.0
@lampshadesneeded
@lampshadesneeded 10 ай бұрын
Why waste 2 of the 3 cores on esp?
@chaos5411
@chaos5411 2 жыл бұрын
Congrats, you proved c/c++ is faster than micropython. Since there's a C/C++ sdk for the RP2040, why didn't you run the same code on both chips?
@RuhjedVentula
@RuhjedVentula 2 жыл бұрын
do you have the ESP32 S3?
@Educ8s
@Educ8s 2 жыл бұрын
I don't have one, but since the ESP32-S3 has two cores, which are exactly the same as the the core of the S2, I think they have exaclty the same performance. I will get one to test it though. Cheers!
@neozeed8139
@neozeed8139 2 жыл бұрын
weird I thought the esp32 boards were dual core.. ?
@Educ8s
@Educ8s 2 жыл бұрын
Yes, the original ESP32 is dual core. The ESP32 S2 is a newer variant with one core and no BT. There is also the S3 which is dual core and offers BT.
@myvin2887
@myvin2887 2 жыл бұрын
Another invention of the bicycle
@expiredlamb2000
@expiredlamb2000 2 жыл бұрын
Could you try the same running c++?
@Educ8s
@Educ8s 2 жыл бұрын
Yes I would love to try it.
@Rashadrus
@Rashadrus 2 жыл бұрын
ESP-32WROWER-B - my board.
@mr.anonymous298
@mr.anonymous298 Жыл бұрын
Very informative video 😊
@cloudmirchi
@cloudmirchi 2 жыл бұрын
Nice work 👏👏
@massimosbano7875
@massimosbano7875 2 жыл бұрын
Mmmh the power consuption test is not very accurate, the ESP32 S2 have the USB2UART ic and a red LED....
@Educ8s
@Educ8s 2 жыл бұрын
Yes, I tested the boards without any modification..
@joveaaron-real
@joveaaron-real 2 жыл бұрын
Great video! Are you Spanish?
@Educ8s
@Educ8s 2 жыл бұрын
Thanks! I am Greek.
@BaffledBelief
@BaffledBelief 2 жыл бұрын
The non s version of the esp32 are nominally more expensive and feature 2 cores
@Educ8s
@Educ8s 2 жыл бұрын
Yes, but of an earlier architecture, LX6 vs LX7 of the ESP32 S2.
@jim9689
@jim9689 Жыл бұрын
Damn nice job, thanks!
@TheErixcode
@TheErixcode 2 жыл бұрын
I remember I had pentium with 133 mhz cpu clock speed 😂😂🫣
Raspberry Pi Pico ST7735 display tutorial - CircuitPython
6:07
R-Pi Pico 2: 10 Things You Must Know Before Buy!
6:50
ToP Projects Compilation
Рет қаралды 19 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 137 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 35 МЛН
Arduino VS CircuitPython Speed Comparison
5:48
educ8s.tv
Рет қаралды 45 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 619 М.
#370 Raspberry Pi Pico vs ESP32 (-S2) and STM32 Blackpill
15:53
Andreas Spiess
Рет қаралды 391 М.
Is this Best ESP32 board? New T-Display S3 ESP32S3
10:17
Volos Projects
Рет қаралды 351 М.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 1 МЛН
What ESP32 to buy & use? ESP32 S2,S3,C3,C6,H2...
5:01
ChipInDetail
Рет қаралды 114 М.
Why did Raspberry Pi make their own SSD?
12:58
Level 2 Jeff
Рет қаралды 266 М.
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Рет қаралды 353 М.
Raspberry Pi Pico 2: a RISC-V bet!
8:05
Jeff Geerling
Рет қаралды 302 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 137 МЛН