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

preview_player
Показать описание
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!

Want to learn to code?

Рекомендации по теме
Комментарии
Автор

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.

cbmamiga
Автор

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

Brutaltronics
Автор

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.

stylesoftware
Автор

Next : test ESP32, Teensy 3.6 and other new boards

TheKetsa
Автор

Nice video. One comment is that "PI" is a word, not an acronym, and is pronounced like 'pie'.

daveyhi
Автор

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

viisteist
Автор

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!

thomasngulube
Автор

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.

TheWhitde
Автор

how do you set the frequency of the D1 board to 160Mhz?

newphobia
Автор

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

viisteist
Автор

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.

nskmda
Автор

I too have had inexplicable errors running code on the Wemos D1. I don't think it is as stable as the Arduino Uno.

r.d.machinery
Автор

I never realised the teensy had so much grunt :)

NOTuNOTme
Автор

Seems like the Arduino Uno days are numbered. A 32 bit replacement is long overdue.

lesliesaunders
Автор

So I'm guessing the Teensy 3.6 is faster than the WeMOS D1?

Ziplock
Автор

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.

rmanpojo
Автор

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!

TaylorBlack
Автор

Cool video, could u plz make a video on how to use OV7670 camera module with Arduino.

omaryanas
Автор

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_
Автор

hi, the arduino source code is compatible with wemos D1 ?

jokebox