WeMOS D1 ESP8266 vs Arduino Uno, Arduino Due and Teensy 3.2. Which one is the fastest board?

  Переглядів 65,599

educ8s.tv

educ8s.tv

8 років тому

In this video we are going to compare the computational speed of the WeMOS D1 ESP8266 based Arduino compatible board with the computational speed of the most popular Arduino boards and the Teensy 3.2. Let's get started!
💻 Code & Parts: educ8s.tv/esp8266-vs-arduino/
Want to learn to code?
👨‍💻 Check my new UKposts channel: bit.ly/3tku2n0
🎮 My Android Game: bit.ly/QuizOfKnowledge

КОМЕНТАРІ: 58
@cbm80amiga
@cbm80amiga 8 років тому
Nick, regarding your problems with crashing ESP8266 board solution is very simple. It seems that main loop in Arduino environment has some watchdog protection. So you cannot just put your long calculation code in setup() or loop() without leaving it from time to time. Simplest solution is to add delay(1) in main calculation loop called once every few seconds. It allows watchdog to think everything is fine and your code doesn't block entire MCU. There is only 1ms delay every few seconds so doesn't matter.
@Educ8s
@Educ8s 8 років тому
+cbm80amiga Thank you very much for your comment! I will try it and I am sure it will work. Thank you very much for taking the time to share the solution with us!
@cbm80amiga
@cbm80amiga 8 років тому
Hi again. Now I even know how to solve it properly. You have to call yield() function in your main loop to avoid watchdog activity.
@Educ8s
@Educ8s 8 років тому
+cbm80amiga Great. Thanks I will try it!
@andreportela7019
@andreportela7019 7 років тому
Did it work? =)
@cbm80amiga
@cbm80amiga 7 років тому
I don't think Nick tried it, but it works. ESP8266 cannot handle infinite loops without yield() or little delay
@thomasngulube2181
@thomasngulube2181 4 роки тому
Great video!! I didn't expect the wemos d1 board to be that fast. Can you please make a video on how to connect the wemos d1 board to a tft lcd R61509v using the breadboard. Thanks!
@nskmda
@nskmda 6 років тому
how much more power would D1 need vs Uno? like what are the currents it can source/sink? and how much current would it need itself? for MCUs battery life may b critical in some applications.
@PumpaXXL
@PumpaXXL 6 років тому
Excellent video, thank you.
@viisteist1363
@viisteist1363 6 років тому
well, i probably have an r2 board then and now managed to map the pins as: #define sclk D5 #define mosi D7 #define cs D2 #define dc D1 #define rst D0 but how can i fix this setup(), loop(), delay(1) or yield() thing then... and why is this not implemented in the arduino ide example codes already?:s
@newphobia
@newphobia Рік тому
how do you set the frequency of the D1 board to 160Mhz?
@Brutaltronics
@Brutaltronics 7 років тому
i love the esp8266, a lot of power in a small package, but seems to be very unstable at times, random resets and such. i hope the new ESP32 gets a better performance and reliability
@joshuarosen6242
@joshuarosen6242 6 років тому
This is usually because of the power supply. The ESP8266 needs quite a lot of power, particularly if the wifi is on. It is also sensitive to poor quality power. If you have at least a 1A PSU and put a 1000uF capacitor across the power pins on the board, it seems to be perfectly stable.
@thedankoona_5854
@thedankoona_5854 8 років тому
ive just received my ESP8266 of aliexpress! i want to controll my relay with the esp8266 (and a arduino uno if needed). Are there any good tutorials?
@thedankoona_5854
@thedankoona_5854 8 років тому
ps. its an ESP8266-01
@jokebox7
@jokebox7 4 роки тому
hi, the arduino source code is compatible with wemos D1 ?
@itcontrol7814
@itcontrol7814 Рік тому
감사해요~ 잘보았습니다.
@r.d.machinery3749
@r.d.machinery3749 3 роки тому
I too have had inexplicable errors running code on the Wemos D1. I don't think it is as stable as the Arduino Uno.
@omaryanas435949
@omaryanas435949 8 років тому
Cool video, could u plz make a video on how to use OV7670 camera module with Arduino.
@Educ8s
@Educ8s 8 років тому
+Anas Omary I will try that one day! Thanks for the comment!
@TaylorBlack0
@TaylorBlack0 4 роки тому
I have the exact same D1 board and can't for the life of me get it to work! esptool fatal error timed out waiting for packet header... Anybody know what's happening? I have tried just about everything it seems!
@viisteist1363
@viisteist1363 6 років тому
well, this cant get any more confusing than it already is, lol :s i thought that d1 has SPI pins built up like this(which i later looked up myself...): D8 IO, 10k Pull-down, SS GPIO15 D6 IO, MISO GPIO12 D7 IO, MOSI GPIO13 D5 IO, SCK GPIO14 So you would need to add RST + DC(which i use as D6/io12 + Rx/io3) after D8, because the display has those pins.... But the source code has pins D11 and D13 mapped out(after 2, 3 and 4), which do not even exist anywhere on the board?:s
@lucianocontri239
@lucianocontri239 2 роки тому
Could you find any datasheet on this board with the correct pins, this board its freaking me out with these messed up ports, almost regreting buying it
@TheKetsa
@TheKetsa 7 років тому
Next : test ESP32, Teensy 3.6 and other new boards
@stylesoftware
@stylesoftware 7 років тому
Apples, Pears, Grapes... Arduino's don't need to be fast. They are used for many PWM, TTL and Analog pins to connect to a large number of sensors. the rPi, the ESP8266 and many other boards cannot do this. If I need 3 x TTL (sensors) and 3 PWM (motors/servos) an i2c display perhaps; the Arduino Mega can handle all that info, and refine it then send it to a rPi or ESP8266 for web viewing. Think of the Arduino as the front end for sensors. Why? because it interfaces with sensors using protocols at a hardware level. Case in point, even a rPi3 at 1.2ghz x 4 cores, has difficulty emulating a TTL/Serial port @ 115200 baud. Why? Cause it doesn't have dedicated hardware. The arduino @ 8mhz can emulate a software TTL/serial port because it has the hardware to address the signal directly. The Pi is a computer. the ESP is an inbetween missing many hardware features, the Arduino is a hardware protocol master.
@Educ8s
@Educ8s 7 років тому
Hello Chris, Thanks for the comment. You are right, Arduino are perfect for this kind of work. This video was only a speed comparison of these popular boards.
@daveyhi3154
@daveyhi3154 7 років тому
Nice video. One comment is that "PI" is a word, not an acronym, and is pronounced like 'pie'.
@vladhategan5837
@vladhategan5837 8 років тому
I can't select the wemos d1 in the boards list , it says it is retired, and the port button is disabled, any ideas?
@Educ8s
@Educ8s 8 років тому
You most probably have a driver problem. Your board is not recognized by your computer.
@vladhategan5837
@vladhategan5837 8 років тому
i understand this, the problem i can't find th driver to install ( for ch340g i guess)
@vladhategan5837
@vladhategan5837 8 років тому
do you have any link or smth like that, that could help me?
@user-pq5qs1bt7y
@user-pq5qs1bt7y 3 роки тому
Très bien
@gioelebezzan2351
@gioelebezzan2351 8 років тому
Is there a bluetooth version of the WeMos D1 board?
@cbm80amiga
@cbm80amiga 8 років тому
+Gioele Bezzan For BT connectivity just use extra module.
@joshuarosen6242
@joshuarosen6242 6 років тому
No there isn't but bluetooth can easily be added with another module. Most ESP8266 boards are really just an ESP8266 plus a USB-TTL converter (CH340G or CP2102 usually) and a voltage regulator. They don't add any basic functionality to the bare ESP12 board.
@TheWhitde
@TheWhitde 5 років тому
Arduino Due is great... can get 50+ fps video on a 16BPP OLED at 128*128 with 8 bit parallel DAC off SD card. Due has heaps of I/O pins, 96K SRAM 512KB program memory and can get cheap clones that work well. Teensy is great as well... but the unit cost is high and run out of pins fast if need a fast 8 bit parallel connection. (on Due can read frames from 8 bit camera and drop frames straight to OLED) Can get a Due clone for < price of genuine Uno.
@Ziplock9000
@Ziplock9000 5 років тому
So I'm guessing the Teensy 3.6 is faster than the WeMOS D1?
@lesliesaunders7625
@lesliesaunders7625 8 років тому
Seems like the Arduino Uno days are numbered. A 32 bit replacement is long overdue.
@NOTuNOTme
@NOTuNOTme 8 років тому
I never realised the teensy had so much grunt :)
@Educ8s
@Educ8s 8 років тому
+NOTuNOTme Yes, it's a very powerful little board!
@SinanAkkoyun
@SinanAkkoyun 5 років тому
@@Educ8s But for an ARM core it's very bad. Is the 3.6 faster than the ESP?
@Drew-Dastardly
@Drew-Dastardly 6 років тому
3.1415980? What kind of pi is that? Is Indiana State Legislature up to their old tricks again?
@Educ8s
@Educ8s 6 років тому
The algorithm I am using to calculate the Pi needs a huge number of iterations in order to give a good accuracy of the Pi.
@Drew-Dastardly
@Drew-Dastardly 6 років тому
I figured that would be the case (but really the number of digits should be consistent with the precision achieved). I of course made a nerd segue to the famous case of those hick politicians trying to rewrite the laws of nature with legislation as is often their wont. ;)
@rmanpojo8485
@rmanpojo8485 7 років тому
K. this board is faster.. true. But it has only 1 analoge i.o... So It's is not a good alternative for the Arduino Uno.
@tobiforst7245
@tobiforst7245 6 років тому
Yeah, time för ESP32.
@dimitriosvlamis8696
@dimitriosvlamis8696 8 років тому
WeMOS D1 vs stm32f103 boards :D
@Educ8s
@Educ8s 8 років тому
+Dimitris Vlamis Yes, I will try that as well!
@jerrymk6846
@jerrymk6846 3 роки тому
# of trials = 100000 Estimate of pi = 3.1416058540 Time: 5 ms These boards are SLOWWWW Just kidding it was 3 ms at 1Ghz
@yhuaialmansore1926
@yhuaialmansore1926 5 років тому
ترجمة
@yhuaialmansore1926
@yhuaialmansore1926 5 років тому
ترجمة
@muhammad_talha
@muhammad_talha 2 роки тому
@@yhuaialmansore1926 tarjama in arabi?
20 способов помигать светодиодом на Arduino
10:14
Заметки Ардуинщика
Переглядів 84 тис.
Get a knife! | Standoff 2
01:06
Standoff 2 Live
Переглядів 1,5 млн
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Переглядів 71 млн
Не пей газировку у мамы в машине
00:28
Даша Боровик
Переглядів 1,2 млн
Why Arduino Uno R3 vs R4 Isn't Close in 2024
7:38
THE ELECTRONIC GUY
Переглядів 3,3 тис.
ESP8266 Vs Arduino Uno
5:48
learnelectronics
Переглядів 40 тис.
3D Prints Outside for 7 years: What happened? RMRRF2024
29:36
CNC Kitchen
Переглядів 97 тис.
Wemos D1 mini: A first look at this ESP8266 based board.
5:54
educ8s.tv
Переглядів 84 тис.
Introduction to the WeMos D1 R2
10:37
learnelectronics
Переглядів 49 тис.
Building a DSM2 R/C Transmitter with Arduino
14:16
James Bruton
Переглядів 174 тис.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Переглядів 5 млн
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 966 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 1,9 млн
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Переглядів 206 тис.