Thanks for this video. ESP32 offers so much. The idf code I looked at looks so complicated. Probably because of RTOS though.
@VerasakSahachaisaree
2 жыл бұрын
THANKS, this is what I looking for.
@GeekMustHave
7 жыл бұрын
Just joined your channel. Liked the presentation style, liked the white gloves, liked the accent, liked the ending, kinda like another channel I watch. Love them both. Keep broadcasting!!!
@pcbreflux
7 жыл бұрын
Thank you. I am curious about the other channel maybe you can give me a clue?
@noweare1
4 жыл бұрын
@@pcbreflux I think he was referring to Andreas Spiess. He has an excellent channel also. Alot of ESP32 and wireless.
@vke6077
2 жыл бұрын
Thanks for the video. This is great to know for my project which involves calculating timings :-)
@ats89117
6 жыл бұрын
Great video. It would have been even nicer to try to see how much power usage increased during the test for each of the boards...
@MrLinzhangyuan
4 жыл бұрын
I just tested this, there doesn't seem to be much difference in power consumption (unless you are thinking of running it on batteries for a long time etc): Arduino Mega 2560: Speed test: 5.08V, 0.069A, 0.350W, Time: 150.10s Empty code with blank setup and loop: 0.509V, 0.060A, 0.305W TTGO ESP32 T-Display: Speed test: 5.08V, 0.081A, 0.411W, Time: 10.51s Empty code with blank setup and loop: 5.08V, 0.066A, 0.335W
@ats89117
4 жыл бұрын
@@MrLinzhangyuan Good to know! Thanks!
@AtomkeySinclair
5 жыл бұрын
Hahaha! Wow... Neat test run man. Considering the cost of a MakerFocus ESP32 at about 23 USD if you need a fast controller the ESP rocks... Came here to see about a better CNC Stepper solution might be. I need to go see if the ESP32 has a interrupt handing routine. Thanks for the video.
@pcbreflux
5 жыл бұрын
Fair enough the ESP32 cost more and you have to consider other factors like size, heat, topology, power consumption, 3.3V logic levels, and so on. And sure you can handle internal or external interrupts even with arduino development (docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/intr_alloc.html , github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/GPIO). Looked up my sources today and you can order a ESP32 development board for as low as 4 USD and a raw module start by 3 USD (see maybe www.aliexpress.com/wholesale?SearchText=esp32 and sort by price) and my highlight this month - a esp32 with a 2 megapixels camera (ESP32 cam) for 7 to 8 USD.
@mnd4022
4 жыл бұрын
How to develop a WIFI wireless link between an ESP32 and a computer, the fastest possible with a real-time speed check? Help me please
@sirousmohseni4
3 жыл бұрын
Very good test. Thanks
@i3130002
5 жыл бұрын
Can you do this for ESP8266 ?
@tamgaming9861
5 жыл бұрын
Hast du evtl . auch einen Speed-Test zwischen ESP32 und einem Teensy? Beide sind ja sehr begehrt, aber fand noch keine vergleiche. Oder gibts mittlerweile noch andere Microcontroller die nicht so bekannt sind aber erwähnenswert?
@CF7_82
3 жыл бұрын
Great
@kalloszsolty
5 жыл бұрын
Needed to set the video speed to 2. Could have been used some labels about the values. The windows aligned nicely next to each other.
@pcbreflux
5 жыл бұрын
Have to admit that I view most of the videos or hear audio-books at 1.5x to 2x Speed. This as a big advantage of modern media to sync the body with the brain.
@St3venAU
7 жыл бұрын
I'd be curious what results you would get for the ESP8266 running the same code.
@belenhedderich3330
7 жыл бұрын
Yes me too
@pcbreflux
7 жыл бұрын
Sorry, can't do this now. My esp8266 boards are given to some where else. Maybe some viewer can do this or I do it in some weeks when the new ordered modules arrived.
@pcbreflux
7 жыл бұрын
Btw. If you have 33min you can watch the video from Ralph S Bacon - see in the description. (I watched only partial the ESP32 part).
@RaadYacu
7 жыл бұрын
I was going to suggest the same thing
@daskasspatzle2396
7 жыл бұрын
same for me...
@gionibegood6950
3 жыл бұрын
I am interested in tips for compiler optimisation on esp32, maybe you have some
@TheKetsa
7 жыл бұрын
Interresting, but sadly missing the ESP8266
@joshuavincent7884
4 жыл бұрын
i dont understand the code...you're adding the result of each math operation to total_millis, but how does that get you the time?
@angelSI2023
5 жыл бұрын
Nice video thx
@istvanzilizi6194
7 жыл бұрын
Hello, For me this is based on the clock speed difference mainly. AVR running on 16MHz, ESP I guess 240MHz and the difference around 15. Am I wrong?
@pcbreflux
7 жыл бұрын
Sure the main difference are the clock speed, beside the different architecture. Maybe we can see this as speed/price ?
@istvanzilizi6194
7 жыл бұрын
Yes of course a good point. May be the project size and the consumption are also can be a factor. I am just learning the ESP32 possibilities, Thank you for your videos!!!
@michaelgraff6978
7 жыл бұрын
If price is taken into consideration, will knock-off boards be used, or "real" Arduino boards? From memory, I think I can buy about 3 or 4 ESP-32 devices for the price of a single Mega. However, it gets fuzzy, since the only "real" component on the ESP-32 devices is the ESP-32 canned module itself...
@bonnome2
6 жыл бұрын
You can't compare clock speeds that easily. They both use different instruction sets and also latency between memory and cpu can play a huge role with the execution of instructions. Also chips can have different efficiency of branch prediction, branch speculation and out-of-order execution to increase speed. Videos explaining meltdown and spectre bug can give more information about how cpus can increase performance without increasing clockspeed!!
@Kaczakat
6 жыл бұрын
Primo - there is no double for Atmega, just look on the result , secundo - Nano, UNO, MEGA, PRO this all is almost the same, better try DUE, ESP8266, Bluepill ARM or Intel, tertio code is bad and result was some times 0 or just wrong.
@JernD
7 жыл бұрын
Why are some of the tests 0ms in duration for the Arduino Nano and Mega2560? (e.g. int32 test)
@pcbreflux
7 жыл бұрын
My assumption is that the compiler uses in default the "aggressive loop optimization" flag and even I try to avoid this by repeating the computation (copy and paste the code several times) the compiler just build a code for going straight to the solution in no time.
@jub8891
6 жыл бұрын
i like your gloves
@pcbreflux
6 жыл бұрын
Thanks, at least a little private protection.
@tamgaming9861
6 жыл бұрын
Hallo, erst mal Danke für den sehr interessanten Test! Echt toll das mal zu sehen! Ich hätte ne Frage bzw. Geschwindigkeit. Und zwar habe ich mir mitels HX711 und einer Wiegezelle eine Waage gebaut. Jetzt merke ich, dass die am 2560 doch immer ne gute Sekunde delay für die Werte hat. Denkst du da ist der 2560 für verantwortlich. Oder der HX711? Also ich habe da ein ganzes automatisiertes System dran was ich zu studienzwecken aufbaute, und da einen Ramps, Nema 17, IRRemote usw.. Meinst du dieses verzögern der Wiegedaten liegt am 2560 oder eher am HX711? Würde mich über deine Meinung sehr freuen, da ich das Problem gerne in den Griff bekommen würde. Oder gibt es noch eine andere bessere Alternative als den HX711? Und vielleicht noch ne Frage, gibt es für den 2560, auch eine ESP Variante wo man boards drauf stecken kann?
@pcbreflux
6 жыл бұрын
Tam Gaming Hallo, laut Datenblatt kann der HX711 ja 10SPS bzw. 80SPS (samples per second), selbst bei 24bit ist dies nichs was den 2560 überfordern sollte. Tippe daher eher auf ein Feature der Bibliothek? Der esp32 (und esp8266 schon gar nicht) hat aber doch ein paar weniger Pins und habe daher leider noch keine kompatiblen Boards gesehen. Wäre sonst z.B. auch für den 3D Drucker Eigenbau interessant.
@tamgaming9861
6 жыл бұрын
Hallo! Richtig für den 3D Drucker Eigenbau wärs super interessant! Habe auch gesehen dass Arduino Befehle damit noch teilweise nicht funktionieren, oder immer wieder angepasst werden müssen. Ich habe irgendwo mal gelesen, dass ein Beinchen am Chip (ganz aussen an einer Ecke) am HX711, wenn man das durchtrennen würde, dem HX711 unglaublich auf die Beine helfen würde. Jemand hatte mittles Wiegezelle einen Bedlvl gebaut. Also wenn Hotend auf Bett trifft, bzw. Wiegezelle Signal gibt, weiß das Autobedlevling dass die Höhe erreicht ist. War aber alles sehr technisch erklärt, und habs ehrlich gesagt nicht ganz verstanden. Finde es aber auch nicht wieder. Weisst du was das sein könnte mit dem Beinchen beim HX711, wie der die Werte schneller hergeben könnte?
@DmitryFomin
7 жыл бұрын
Impressive! But how about IO speed?
@pcbreflux
7 жыл бұрын
Thanks. Will add a second code example with just switching a gpio pin on and off with standard arduino functions in a loop and give an update. Using a interface will limit the calculation by the interface or the connected devices and the codebase varry between hardware interface and bit banging.
@pcbreflux
7 жыл бұрын
Added the gpio testes: code here github.com/pcbreflux/espressif/tree/master/esp32/arduino/sketchbook/ESP32_speed_gpio 1000000 writes high and low ESP32 0.24s Mega2560 12.39 s Nano 7.11 s
@awaisahmed7033
6 жыл бұрын
is it a bench mark ?
@ndgoh67
4 жыл бұрын
Nice Inggeris...
@upendrajain8838
7 жыл бұрын
Can I give input 9V power supply to 12V power jack ? Is it right or wrong ? What should in do ?
Пікірлер: 53