Arduino Tutorial: First look at the WeMos D1 Arduino compatible ESP8266 Wifi Board from Banggood.com

  Переглядів 201,982

educ8s.tv

educ8s.tv

8 років тому

In this video we take a look at the WeMos D1: a Wi-Fi enabled Arduino compatible board based on the ESP8266 chip. The price of it is so tempting, less than 9$. Without any second thoughts I ordered it a few days ago I received it and started working with it.
The board looks like an ordinary Arduino board. The dimensions and the pin layouts are exactly the same. So, this board is compatible with all the existing shields for Arduino. But don't expect them to work at once, since the libraries available for the ESP8266 chip are few so far. The board, instead of an ATMEGA chip that standard Arduino boards use, use the impressive ESP8266 WiFi chip!
The ESP8266EX chip that the WeMos D1 board uses offers:
• A 32 bit RISC CPU running at 80MHz
• 64Kb of instruction RAM and 96Kb of data RAM
• 4MB flash memory! Yes that's correct, 4MB!
• Wi-Fi
• 16 GPIO pins
• I2C,SPI
• I2S
• 1 ADC
--------------------
Code & Parts
--------------------
educ8s.tv/arduino-esp8266-tuto...
Want to learn to code?
👨‍💻 Check my new UKposts channel: bit.ly/3tku2n0

КОМЕНТАРІ: 136
@clarkso65
@clarkso65 Рік тому
Thank you so much for this wonderful tutorial, I was about to teardown my D1 board thinking it won't work until I saw this.
@johnturcott9998
@johnturcott9998 7 років тому
I've had a WeMos D1 R2 for about 2 months and all but given up on Arduino IDE ESP8266 SPI projects that I've found online. Your example, after switching pins from SDA and SCL to D3 and D5 worked perfectly. Thank you!
@JerryEricsson
@JerryEricsson 7 років тому
Wow thanks a million! For some reason I kept looking for the flash button on this device, at last some time last night while digging around on the Internet, I found the information that some of these boards do not need the flash button, or a jumper set to flash. So I followed your lead and uploaded the blink program and it works!! Now I can use this board for something when the need arises. Perhaps a wireless thermometer or something that displays on my cell phone, mounted under the hood of our RV so it is out of the sunlight but still protected from the engine heat by the insulation that is built into the system!
@fredflintstone8048
@fredflintstone8048 8 років тому
As usual your work is greatly appreciated. Thank you for sharing. I'm going to get one of these and start working with it.
@Educ8s
@Educ8s 8 років тому
+Fred Flintstone Thank you very much!
@FranzStrasse
@FranzStrasse 8 років тому
There are so many "channels" that purport to explain things or teach you something. Most of them work really hard to cram 5 minutes of information into a 25 minute video (often because they don't edit before posting). Your site is a wonderful exception. You cram 10 minutes of information into a 5 minute video -- I can always stop and go back but I will never die of boredom. Thanks. This video was just what I was looking for!
@Educ8s
@Educ8s 8 років тому
+FranzStrasse Thank you very much for your comment. I am glad that my aproach to video creating is well received. I think that viewer's time is valuable and I don't want to waste not a single second of it. I am going to publish a new video about the impressive Wemos D1 soon. Stay tuned!
@NOTuNOTme
@NOTuNOTme 8 років тому
Very useful video. Can see me using this for a little IoT project.
@danjunk-DIY
@danjunk-DIY 10 місяців тому
Good information. I just started working on it.
@HX2003
@HX2003 7 років тому
I just received this. Works well :)
@dancampbell9090
@dancampbell9090 4 роки тому
Thanks for your video, very helpful
@albertolopez4684
@albertolopez4684 3 роки тому
Great video!! Thank you very much!!
@najiurrahman-wr9ox
@najiurrahman-wr9ox 11 днів тому
thank you so much don't have the word to thank you
@errorbytedioxy4464
@errorbytedioxy4464 Рік тому
nice video, thanks for the little help. Greetings from Germany
@markcast6841
@markcast6841 7 років тому
Great video. I thought this was an add on to the UNO. So can this board be used as a stand alone system? I would like to make something that will text/email me if a sensor is triggered, like an alert board if my sump pump fails.
@ivanvictor457
@ivanvictor457 5 років тому
It's very good channel! Thanks....
@norm1124
@norm1124 8 років тому
Nice build. The big question is how much the MKR1000 will cost.
@mbutts1139
@mbutts1139 8 років тому
Would be great to make a UTC clock that updates time occasionally via the net. Great for Ham Radio.
@blast_phoenix
@blast_phoenix 4 місяці тому
Thanks bro❤
@markgreco1962
@markgreco1962 8 років тому
Nice one!!
@Educ8s
@Educ8s 8 років тому
+Mark Greco Thank you!
@MrScooter46290
@MrScooter46290 8 років тому
Nice, I ordered one and will get it soon! My Project-This will take over my home automation at the circuit breakers solid state relay bank from the Arduino Leonardo. I was directed here again by Eric W. Mkme.org
@Jevist
@Jevist 7 років тому
Help needed! Thanks for this example, I used the code example and it worked pretty well (I removed all OLED references as I just wanted to try out the WIFI functionality). In 99% of the cases the example code is correctly showing a result of 14 characters: It works fine! Every now and then however, the result is: It works fine!ÿ Note the additional ÿ at the end! Still, the length is reported to be 14 characters, so it seems to recognise that only 14 bytes were received, yet somehow reading the ethernet buffer spits out this extra character under some circumstances? Would love to understand this, to make sure I can apply it in a robust failsafe solution.
@rafaelmarroquin4429
@rafaelmarroquin4429 8 років тому
Great video, I bought one of them but on Ebay, but still not coming :D
@Vagubando
@Vagubando Рік тому
And what needs to be changed or added to the sketch in order to register two access points (that is, two WiFi networks)? If one doesn't work, will it connect to the other by itself?
@Levisgil47
@Levisgil47 8 років тому
Here is the link in the preference to download the ESP8266 board emulation sw: arduino.esp8266.com/stable/package_esp8266com_index.json
@cesarBUGARIN19597
@cesarBUGARIN19597 5 років тому
Muchas gracias ya puedo hacer mi tarea xD
@ShashankNaithani
@ShashankNaithani 7 років тому
How to control With WEMOS D1 Over LAn WIFI. I have install the 8266 Library and did the Basic OTA connection. NOw what should I do ... Can you tell me further with a tutorial. I am new to this.
@hicham3341
@hicham3341 8 років тому
جزاك الله خيرا
@buiciucdaniel6794
@buiciucdaniel6794 4 роки тому
Hi. I've connect an oled 0.91 to an adrduinoo uno ind it works. The same project is not working on arduino UNO wifi . Any ideea?
@flyjodel
@flyjodel 7 років тому
With the Wemos D1, i mentionned that it was quite slow. In fact the client.println() is very slow. So to make it faster, it is better to concatenate all the strings together and then to send the command client.println(TotalString);
@jacquesokes
@jacquesokes 5 років тому
Hi there, Could I use this chip and create a web server on the device? I would like to have it to create a webserver that I can log onto to read certain data on my phone
@surenbono6063
@surenbono6063 5 років тому
....thinkin of sandwiching D1 ESP8266 with VS1053b + 2-4-inch LCD touch screen -Module-...for the cheapest streaming radio connected to a hifi amp...call it burgeradino...is it possible.?..i cant find any similar project sketch yet..do u know how to do it.?..does the D1 Esp32 accepts D1 ESP8266 sketches.?..vice versa .
@metanulski
@metanulski 7 років тому
I dont get it. the modified Adafruit_GFX.h is missing. There is supposed to be a explanation in the readme.txt but this is also missing. :-(
@Gabriel-iu5ow
@Gabriel-iu5ow 8 років тому
Could you give me the link of the libraries?
@squalazzo
@squalazzo 8 років тому
hi, can normal shields be mounted on top of this board without problems? I think to different logic levels, in general esp8266 is 3.3v while arduino is 5v... or wemos implemented some kind of logic level translations to make the D1 5v tolerant?
@arjanvandewiel574
@arjanvandewiel574 8 років тому
Strange, can you make a video about the pins?
@squalazzo
@squalazzo 8 років тому
+Arjan van de Wiel what video? the pins of the esp8266 are in the link in video description, which states that all IO is at 3.3V, while standard arduino is 5v, and most sensors work at 5v, too...
@arjanvandewiel574
@arjanvandewiel574 8 років тому
+squalazzo All the standard shield work on 5V logic, which can damage the board. Are there logic shifters on board?
@squalazzo
@squalazzo 8 років тому
+Arjan van de Wiel no shield has logic shifters... so, what's the point to have standard arduino pinout on this board if you cannot use the shields, anyway?
@edgeeffect
@edgeeffect 8 років тому
That's a lot of I2C ports!
@IstvanNagy86
@IstvanNagy86 8 років тому
It's not an Arduino. It's an ESP8266 in the form factor of the Arduino Uno. Yes, you can compile stuff for the board with the Arduino IDE, but you don't have to. You have NodeMCU, Espruino, bare metal C/C++ on your hands. Even Basic is available if that's your heart's desire. You can use Sming or Platform.io. And yes, this doesn't have as many libs as the Arduino, still the number of libs available is steadily growing. And performance wise this easily beats any Arduino. I think the biggest weakness is the lack of hardware timers and PWMs of the ATmega. Maybe the ESP32 chip will solves this, it's on the hoirzon and available soon.
@venkateshe7506
@venkateshe7506 8 років тому
+István Nagy platformio is not framework but a platform. Sming is a framework and yes it needs to evolve, but it works just fine.
@IstvanNagy86
@IstvanNagy86 8 років тому
Venkatesh E thanks for the corrections!
@tiwar87
@tiwar87 6 років тому
It works equal at ESP 8266 12E? What is better? What could be your advice? Thnks in advance
@jeffmitchell3625
@jeffmitchell3625 5 років тому
Could you be able to tell me what capacitor could take the place of a D1 10 25v Surface mount v chip? It is for an old Rockfordfosgate amplifier.
@ericleonhuertamanzanilla4262
@ericleonhuertamanzanilla4262 5 років тому
I found this comment very enlighting, than you very much. I know it is now three years old, but I just need to use this board for a project and again, the comment led me in the proper direction.
@upul6819
@upul6819 8 років тому
I like this leassen
@user-uw7ww8bc9l
@user-uw7ww8bc9l 7 років тому
Board has 8 pin ATTiny ? If not, then what is 8 pin chip ?
@shakirahsanromeo7863
@shakirahsanromeo7863 6 років тому
Is it a retired product now ? Should I buy it ?
@siddeshmp4156
@siddeshmp4156 7 років тому
I'm getting time from internet using D1 wifi board, I want it to put the time on to RTC ds3231. Please help me in this.
@AliSher-vd9lj
@AliSher-vd9lj 7 років тому
Can we program wemos D1 with Matlab GUI.... ?
@Mrpilka987
@Mrpilka987 8 років тому
i've followed your instruction, but everytime i try to upload this message comes up: Arduino: 1.6.6 (Windows 10), Board: "WeMos D1, 80 MHz, Serial, 115200, 4M (3M SPIFFS)" Board d1 (platform esp8266, package esp8266) is unknown Error compiling.
@Educ8s
@Educ8s 8 років тому
+Josef josífek I haven't tried it on Windows 10. Do you have a Windows 8 machine to test it again?
@Mrpilka987
@Mrpilka987 8 років тому
+educ8s.tv i've found solution: it doesn't support arduino IDE 1.6.6+ so i downgraded back to 1.6.5 and it works perfectly
@Educ8s
@Educ8s 8 років тому
Good to hear that!
@boragamerz9145
@boragamerz9145 6 років тому
Are you using Wemos D1 R1? What's the difference between D1 R1 and D1 R2?
@yaseenmallick7278
@yaseenmallick7278 7 років тому
Can you make a video for Ambilight for PC with D1 mini V2 and Apa102 leds. I want to use D1 mini V2 because its fast, very cheap only $4 with shipping and Apa102 because its faster PWM, Great for PC and PC Gaming. Can you make a tutorial with this. THANKS :)
@vickraj8226
@vickraj8226 2 роки тому
Do you know if this works with Data Logger shield ?
@PhilipChandler
@PhilipChandler 6 років тому
Cannot GET /versions/2.4.0/package_esp8266com_json
@madivic
@madivic 2 роки тому
if used adaptor , what volt ? 9 volt or 12 volt
@charbelsarkis3567
@charbelsarkis3567 7 років тому
is this the same as arduino board?
@norberthartmann5075
@norberthartmann5075 8 років тому
is it possible to show a example with bmp180 or BH1750 ? both with i2c-bus. thanks.
@Educ8s
@Educ8s 8 років тому
+Norbert Hartmann I don't know if there libraries for the ESP8266 module. I have to check it.
@norberthartmann5075
@norberthartmann5075 8 років тому
+educ8s.tv thanks!!
@wjose68
@wjose68 6 років тому
Hello, I have a problem in making this operation, the system gives me this error ( downloads.arduino.cc/packages/package_index.json), I was unable to solve it, you can help me ?? thank you
@larsniklassonhede3798
@larsniklassonhede3798 6 років тому
educ8s.tv+ I have a CNC mashine in the garage. I want to know when it is ready. I thinking of have a Arduino with a Wifi module mounted on the CNC. It shall send a signal of my internal Wifi net and I can see it inside my house it is ready ny an other Arduino-wifi module. Do you think it is realistic or shall I use Bluetooth instead. Greatful for help
@jeronimopourtau5302
@jeronimopourtau5302 Рік тому
Hola me sale este error: c:\Users\Usuario\Documents\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:29:26: fatal error: avr/pgmspace.h: No such file or directory #include ^ compilation terminated. exit status 1 Compilation error: exit status 1 Alguna idea de como lo puedo solucionar
@andreysanchez2120
@andreysanchez2120 7 років тому
hi one question i wanna know th names of the analog pins, if the first one is A0 the second one is A1? coz i cant connect in the analog pings thxs
@Educ8s
@Educ8s 7 років тому
That's one of the biggest disadvantages of the ESP8266 chip. It has only one Analog Pin, A0.
@andreysanchez2120
@andreysanchez2120 7 років тому
Thx, and good tutorial
@chamilarobert6009
@chamilarobert6009 5 років тому
Will this board work with BLYNK?????????????????????????????????
@adlapl
@adlapl 7 років тому
You say that: "The board looks like an ordinary Arduino board. The dimensions and the pin layouts are exactly the same. So, this board is compatible with all the existing shields for Arduino." // Well, with TFT-shield as well? Yet, WeMos has no all (UNO R3 standard) analog pins available - only one. Good question is - why?
@Educ8s
@Educ8s 7 років тому
Hello Adam, The reason for this is that the ESP8266 chip only has 1 analog input. The new ESP32 chip has many more analog inputs so we can expect fully compatible boards with the existing shields in the near future.
@chriscs9080
@chriscs9080 7 років тому
Γεια σου φίλε , μπράβο για τα βιντεάκια σου..απίστευτα ! Μια ερώτηση .. μόλις παρήγγειλα το board αλλά δεν μπορώ να καταλάβω αν έχει vibration sensor η όχι , Aν όχι σε παρακαλώ μπορείς να μου προτείνεις κάποιο ;; \ Θέλω να κάνω κάτι παρόμοιο με αυτό το βιντεάκι σου .. μόνο που θέλω να μου στέλνει email όταν υπάρχει κάποια δόνηση ! Ευχαριστώ πολύ !
@Educ8s
@Educ8s 7 років тому
Ευχαριστώ πολύ για τα καλά σου λ΄γο, Από όσο γνωρίζω δεν έχει τέτοιο αισθητήρα ενσωματωμένο. Οποιοσδήποτε αισθητήρας δόνησης κάνει, όπως για παράδειγμα αυτός: www.banggood.com/SW-420-NC-Type-Vibration-Sensor-Module-Vibration-Switch-For-Arduino-p-916223.html?p=DQ30066511122014069J
@chriscs9080
@chriscs9080 7 років тому
educ8s.tv Σε ευχαριστώ πολύ ! Μια τελευταία ερώτηση to ενσωματωμένο wifi τι range έχει ;
@mnelson10000
@mnelson10000 8 років тому
Arduino better step up their game... they just got left in the dust. I think it has some stability issues and I had trouble with PWM, but hopefully some later ESP8266 firmware updates will resolve them.
@googissoftware
@googissoftware 6 років тому
OK, first of all this is the link in the video to add in preferences->additional boards: arduino.esp8266.com/stable/package_esp8266com_index.json Now, i kept getting "espcomm_open failed" message - this is how i solved it: MY upload speed didn't have an option like in the video for 155200, so i used 115200 in the arduino IDE (tools upload speed). Then i set the com port device port speed to be the same: right click "computer"->properties->device manager, open the ports (COM & LPT) right click the com port you are using and choose properties, "port settings" tab and change bits per second to 115200. then ok. After this the example program worked fine with a blinking led.
@edsonsilva7912
@edsonsilva7912 8 років тому
Does it work with 5vcc? T.y.
@jlo7951
@jlo7951 4 роки тому
For those upload failed because COM missing, need to install the CH340 driver first. learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all
@luqmanluqluq5983
@luqmanluqluq5983 3 роки тому
i tried to install this and it didnt appear on my device manager. After install the CH340 driver, it says “The drive is successfully pre-installed”. then still no com appear on my device manager. Do you have any solution?
@jlo7951
@jlo7951 3 роки тому
@@luqmanluqluq5983 sorry, i have no solution about your problems.
@BrianB2579
@BrianB2579 8 років тому
Thanks for your great video tutorials....... I just noticed you did not give us help with regard to the Driver for this board..... As I am new to this game...I just want to post this info in case there are other viewers with the same problem..... I found this and down loaded this and now your tutorial works. www.wemos.cc/Products/d1_r2.html I got this from Banggood as you suggested and very excited to learn more.
@Levisgil47
@Levisgil47 8 років тому
+Brian Benghiat Thanks a lot! Unfortunatly at the time of talking this link doesn"t work any more. I just bought the board and I'm stuck with the driver to upload now. Any help?
@BrianB2579
@BrianB2579 8 років тому
+Levisgil47 I have found a link that might help and I update it in my comment above....
@vladhategan5837
@vladhategan5837 8 років тому
why it says it is retired? i can't get it to work, do i need to get the new board?
@Educ8s
@Educ8s 8 років тому
No you don't need new board. You need the drivers for the board!
@vladhategan5837
@vladhategan5837 8 років тому
+educ8s.tv wich i get from? a lot of sites i checked yesterday said "you need the driver ***** " and it was a clickable link wich led to an unavailable page
@sugadewantha
@sugadewantha 5 років тому
anyone have idea for my problems? "error: Failed to open COM12 error: espcomm_open failed error: espcomm_open failed"
@jlo7951
@jlo7951 4 роки тому
learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all need install ch340 driver first.
@cbm80amiga
@cbm80amiga 8 років тому
Mini version costs on Aliexpress even less - only $4! Less than NodeMCU
@Educ8s
@Educ8s 8 років тому
+cbm80amiga Impressive!
@cbm80amiga
@cbm80amiga 8 років тому
About $4??? Even 3 years ago they were for less than $3. Recently I purchased Nano for $1.7 and Pro Mini - $1.5. Pro Mini with ATMEGA 168 is for $1.3. Hint - Aliexpress or eBay.
@Huppat
@Huppat 5 років тому
When almost all has to be rewritten, it's more "Arduino-like" but not a Clone.
@sem8776
@sem8776 6 років тому
i got mine for $2~ but i can only use 5 gpio pins:(
@lovediy8784
@lovediy8784 Рік тому
banggood is really expensive. i live in vietnam i buy it on shopee only 3$
@kevinford9205
@kevinford9205 7 років тому
im using it for led light strips how do u use glediator???
@robertheal5137
@robertheal5137 7 років тому
Is the wemos company still in business ? This looks like an orphan product
@Educ8s
@Educ8s 7 років тому
It is orphan, check the website: www.wemos.cc/
@robertheal5137
@robertheal5137 7 років тому
most of the links to the website are broken,
@koshan12
@koshan12 5 років тому
kai mou fanike i profora gnwrimi
@renderuthis
@renderuthis 2 роки тому
Blink by Simon Peter
@darknessblades
@darknessblades 5 років тому
even tough you have a horrible accent, it is still a good video. planning to automise some window curtains with 2 of these boards. (1 for the window and 1 for the controller that gives the signal of when to do its thing)
@gioelebezzan2351
@gioelebezzan2351 8 років тому
I think it's useless... Why to connect Arduino to the Wi-fi? What are the advantages?
@xpertvis
@xpertvis 8 років тому
+Gioele Bezzan what Aruuno ? there is NO arduino :D Pay attention to what you are watching :D
@gioelebezzan2351
@gioelebezzan2351 8 років тому
+xpertvis But it's very similar to Arduino... I don't know what you can do with wi-fi (useful of course)
@xpertvis
@xpertvis 8 років тому
+Gioele Bezzan similar ? did you watch video ? Its like comparing fiat and ferarri... And what you can do ? well monitor stuff (door open, thief in house, gas leak), control stuff (lights, door). You just need to be creative...
@squalazzo
@squalazzo 8 років тому
+Gioele Bezzan that's your lack of ideas, not a fault of the board itself...
@norm1124
@norm1124 8 років тому
+xpertvis It runs on the Arduino IDE, it is form compatible with Arduino, so it is as compatible as a Genuino ;-)
@alpagutsencer
@alpagutsencer 7 років тому
oh man i told you before change the cutting mat. It looks awful
@Educ8s
@Educ8s 7 років тому
+alpagutsencer I will soon :-)
@2plus2isvier
@2plus2isvier 6 років тому
Jeez he's putting so much effort in giving good tutorials, and then there is this guy named "alpagutsencer" who starts wining about his clean cutting mat. I guess it frustrates me that somebody is frustrated by something that is so not relevant.
@GregoryGHarding
@GregoryGHarding 8 років тому
this isnt very useful, espicially because it doesnt use atmega 328, all the libraries need to be rewritten, it should incorporate both
@peteimagined9537
@peteimagined9537 8 років тому
+Gregory G Harding pretty sure most of it works - check out platformio.
@Ed19601
@Ed19601 7 років тому
Indeed, most libraries work without modification.
@GregoryGHarding
@GregoryGHarding 7 років тому
I stand corrected :)
@Sonyetc
@Sonyetc 7 років тому
any library i tried to use doesnt work with this board :/
ESP8266 WiFi relay control
10:45
learnelectronics
Переглядів 140 тис.
Завтра в школу с... | Шоу-квиз «Вопросики»
00:28
Телеканал СОЛНЦЕ
Переглядів 1,2 млн
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 562 тис.
Wemos D1 mini: A first look at this ESP8266 based board.
5:54
educ8s.tv
Переглядів 83 тис.
ESP8266 D1 IOT BOARD WEMOS
7:08
Saravanan AL
Переглядів 89 тис.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Переглядів 9 млн
EEVblog #998 - How To Program ESP8266 WiFi With Arduino
19:25
EEVblog
Переглядів 389 тис.
Introduction to the WeMos D1 R2
10:37
learnelectronics
Переглядів 49 тис.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Переглядів 615 тис.
Arduino Data Logger Project - Very Easy
6:50
educ8s.tv
Переглядів 131 тис.
From Arduino UNO to Wemos D1 R32 ESP32
6:53
Robots and Dinosaurs
Переглядів 31 тис.
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
Геймер с самым быстрым интернетом
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Переглядів 389 тис.
Как открыть дверь в Jaecoo J8? Удобно?🤔😊
0:27
Суворкин Сергей
Переглядів 735 тис.