Arduino Tutorial: WeMOS D1 ESP8266 Over the Air (OTA) from banggood.com!

  Переглядів 68,791

educ8s.tv

educ8s.tv

8 років тому

In this video we are going to see how to wirelessly update the code of our Arduino project, using the WeMOS D1 ESP8266 based board. This is an impressive, and very useful feature.
A few weeks ago, we took a first look at the very promising new board, the WeMos D1. You can watch that video by clicking in the card here. The Wemos D1 is an ESP8266 based board which resembles the Arduino Uno board but it offers a lot more. Huge processing power, large memory and WiFi at a very low cost, less the 8$! You can find a link for the board in the description of the video.
💻 Code & Parts: educ8s.tv/esp8266-ota-wemos-d1/
Want to learn to code?
👨‍💻 Check my new UKposts channel: bit.ly/3tku2n0
🎮 My Android Game: bit.ly/QuizOfKnowledge

КОМЕНТАРІ: 80
@mhsahinahmad6041
@mhsahinahmad6041 8 років тому
we were searching a lot to upload program wirelessly,now we got it,thank you very much,please keep making informative videos like this,thank you once again!
@Educ8s
@Educ8s 8 років тому
+MH SAHIN Ahmad You are welcome!
@mekiteu
@mekiteu 7 років тому
Easy to understand and very clear. As are all your videos. Thank you, keep it up Nik!
@Educ8s
@Educ8s 7 років тому
Thanks, you are welcome!
@mediverse
@mediverse 7 років тому
EXCELLENT DEMONSTRATION.... LOVE
@squalazzo
@squalazzo 8 років тому
finally a very clear explaination of the few steps needed to use OTA with esp8266! do you think it's usable with standard esp8266, too? And with the wemos d1 mini?
@karlng2691
@karlng2691 8 років тому
Nice video! I learned a lot.
@mhsahinahmad6041
@mhsahinahmad6041 8 років тому
great video sir
@whatsonmytable
@whatsonmytable 8 років тому
Thanks and this is a very informational video, !
@adamkoscielniak200
@adamkoscielniak200 7 років тому
Hi, very nice job. I have one question, I can make server to another thing and upload sketch by OTA??
@bassome3000ify
@bassome3000ify 4 роки тому
Thanks, awesome !
@Robotchomoinguoi
@Robotchomoinguoi 8 років тому
can you tell me how to turn on or off a led from internet. Thánks
@DogRox
@DogRox 8 років тому
Sweeet!!! That definitely is useful! :-)
@johndough2001
@johndough2001 7 років тому
I want to use this board to open my garage door at certain times of day do you have project that you made like that thanks
@EderLuisLunaPayares
@EderLuisLunaPayares 2 роки тому
Excelente... muy bien explicado, Funcional
@hicham3341
@hicham3341 8 років тому
جزاك الله خيرا والله اكبر The role of external memory regarding my lcd screen card
@eduardfabianespitia9962
@eduardfabianespitia9962 5 років тому
Hello! I have a question... Do i can to connect the WEMOS D1 directly to the computer?
@mrteausaable
@mrteausaable 6 років тому
I have the same board and setup but on Arduino IDE the Port is not highlighted but the board is blinking on using USB cable. How do I get the driver for the serial port to work with my D1 board?
@mdjaved85
@mdjaved85 7 років тому
Dear, I have a project of controlling multiple wifi enabled devices, or multiple motors, relay boards though wifi. In simple, can we control multiple relay board though one arduino wireless/or wifi ? awaiting for your suggestions. Thanks
@ravindrachaudhari7467
@ravindrachaudhari7467 7 років тому
LIke it. Really it is useful
@siimsimsiim
@siimsimsiim 6 років тому
I have the same board but I get an error, espcomm_upload_mem failed
@whatsonmytable
@whatsonmytable 8 років тому
I am able to connect well etc. i even get the onboard led blinking. However when I use the external LED it doesnt work with your code. I get an error stating that "D10 was not declared in this scope." I am using exactly your code from the OTA Blink example download link you shared. All that I have changes is the passord and wife name which is for my network. Please help. I need to make a relay work remotely over the web to turn a camera and this is the most basic step I should be able to achieve. Even the ESP port shows up in ports. Ive come that far but an external led through a resistor would not work.
@jerzysmietanski3656
@jerzysmietanski3656 7 років тому
Can this WeMos D1 ESP8288 be used as a shield for Arduino UNO or Arduino Mega ?
@AlexAn7
@AlexAn7 8 років тому
Can you give us the link for the library??
@whatsonmytable
@whatsonmytable 8 років тому
Which version of python should I download brother? There are two versions here on the link or website you shared. 3.5.1 or 2.7.11??
@siddharthachatterjee9959
@siddharthachatterjee9959 7 років тому
Nice video, thanks. Please let me know from where you got that green mat with blue chequered pattern ?
@Educ8s
@Educ8s 7 років тому
Check amazon for cutting mat
@siddharthachatterjee9959
@siddharthachatterjee9959 7 років тому
educ8s.tv Thanks
@mirekmig6271
@mirekmig6271 7 років тому
Hello I need to know what is the difference between WeMos CH340 WiFi D1 and D1 WeMOS ESP8266. I apologize for the mistakes I had Bohemia.
@AliSher-vd9lj
@AliSher-vd9lj 7 років тому
i am using WEMOS D1 board as client with Matlab server through TCP/IP but communication is very slow..... can we speed it up ?
@MoesKeckeEcke
@MoesKeckeEcke 4 роки тому
can the WeMOS D1 ESP8266 used as accesspoint to deploy updates? Maybe via website would be even cool
@kekecjan
@kekecjan 7 років тому
Hello, thank you it's working, but when i want to open serial monitor is asking for password, when i type correct password it is saing "the connection is not established: wrong password" what could be the problem here ? .
@capiberra4118
@capiberra4118 6 років тому
Thanks
@RaitoNg
@RaitoNg 5 років тому
Tried many attempts but the network port just won't show up in Arduino IDE. Drove me crazy.
@Mohicano505
@Mohicano505 8 років тому
This is exactly what i was looking for, thank you so much. I just have a question i got the wemos D1r2 and the wemos D1 mini, is it possible to communicate both of them wirelessly ? I would like to have lets say 5 wemos mini reporting status of sensors to the wemos D1 as main controller it is possible? could you please guide me in this challenge. Thanks for your help
@Mohicano505
@Mohicano505 8 років тому
+Daniel Perez Also i used your code but when I tried to access the board is asking me for a password, but I I havent sat any pass. It says ¨type board password to upload a new sketch¨can u pls help me ?
@flyjodel
@flyjodel 8 років тому
+Daniel Perez I have the same issue with the D1R2 version... Any advice?
@Educ8s
@Educ8s 8 років тому
+Daniel Perez Please update your Arduino IDE to the latest stable version and try again.
@Mohicano505
@Mohicano505 8 років тому
Hi Nick, I am using Arduino IDE version 1.6.8 but the issue still, I have checked many post and I found that many ppl is facing the same issue. I hope you can help us since you already implemented this so you have any suggestion.
@themarsh7093
@themarsh7093 7 років тому
how to send set of commands without IDE or over wifi from web interface
@kaitseng5741
@kaitseng5741 7 років тому
I can't fine sep8266 in port select ... even if I open arduino IDEagain
@mrlease
@mrlease 7 років тому
I've followed your directions exactly (several times). After uploading, this appears at the bottom: Archiving built core (caching) in: C:\Users\mrlea\AppData\Local\Temp\arduino_cache_520244\core\core_esp8266_esp8266_d1_mini_CpuFrequency_80,UploadSpeed_921600,FlashSize_4M3M_2ee084d81ae7235267cf4b9f721f3e15.a Sketch uses 243575 bytes (23%) of program storage space. Maximum is 1044464 bytes. Global variables use 33132 bytes (40%) of dynamic memory, leaving 48788 bytes for local variables. Maximum is 81920 bytes. Uploading 247728 bytes from C:\Users\mrlea\AppData\Local\Temp\arduino_build_449970/BasicOTA.ino.bin to flash at 0x00000000 ................................................................................ [ 33% ] ................................................................................ [ 66% ] ................................................................................ [ 99% ] .. [ 100% ] I then go to Serial Monitor but it is blank. Also, no other ports are showing up except COM4. Suggestions???
@ajayjoseph4626
@ajayjoseph4626 6 років тому
open serial monitor and press the reset button on the board
@muhammadnurabidin6473
@muhammadnurabidin6473 6 років тому
I will online update sketch, how to?
@steve8939123
@steve8939123 7 років тому
Hello, I am using the Wemos D1 mini. I followed the steps you showed us and after uploading the OTA_LED sketch I opened the serial monitor and it showed it was connected to my network, so far so good, but when I loaded the blink sketch like you said and changed the port to the network port after compiling the upload just keeps saying uploading when I open the serial monitor it "type board password to access its console" I have tried all the passwords I can think of but in the Arduino IDE it says " wrong password". Any suggestions of what I am doing wrong. Thanks.
@AnkitSrivastavabeing_awesome
@AnkitSrivastavabeing_awesome 6 років тому
Steve Tripoli Hi .. I got the same issue .. did you get it sorted .. Please help
@lfrdo7815
@lfrdo7815 7 років тому
hello, what do we install python for?
@steve8939123
@steve8939123 7 років тому
do we need to run python or just install it. I can't seem to get the OTA to work?
@lfrdo7815
@lfrdo7815 7 років тому
I have the same problem, i can only make the led to blink.
@kanataidarov
@kanataidarov 8 років тому
What will be power consumption of OTA feature within these boadrs? If it is too much, OTA will be useless in battery powered projects...
@Educ8s
@Educ8s 8 років тому
+Kanat Aidarov I think its about 120mAs.
@SunriseSearcher
@SunriseSearcher 7 років тому
Δοκιμασες καθολου το ESPhttpUpdate?
@MPElectronique
@MPElectronique 7 років тому
What's your arduino IDE version? Good night! :) Marc.
@sementhrower420
@sementhrower420 7 років тому
Should be one of the latest ones. Usually it keeps itself updated, so if you're looking to install the Arduino prog, just download the latest version :)
@pawelwojcik7550
@pawelwojcik7550 8 років тому
unfortunately my arduinIDE1.6.8 doesn't show any network port, code was uploaded successfully, have you any idea what need to be fixed to make your example run?
@goochelaarmagicjimmy4432
@goochelaarmagicjimmy4432 7 років тому
mij port com3 works and upload, i can see the ip adres but after restarting the ide arduino i cant see the serial port wifi
@steve8939123
@steve8939123 7 років тому
Hello, I have the same question as Lui Frdo, why did we download and install Python?
@Educ8s
@Educ8s 7 років тому
+Steve Tripoli it is needed for the OTA update, a python script runs on the background
@dmitryrodetsky5573
@dmitryrodetsky5573 7 років тому
Is there a way to secure wifi uploads to the board so that random people do not overwrite the board functionality?
@Educ8s
@Educ8s 7 років тому
Yes ofcourse. You can protect the board with a password!
@jaranatube
@jaranatube 7 років тому
educ8s.tv, can you please explain how to do that exactly? How to setup a board level password? I've searched online but there appears to be no clear instructions on how to do just that. Thank you! Thank you for your videos. I've been able to program my board using USB and WiFi interfaces. I now want to learn how to secure the board's WiFi access.
@flyjodel
@flyjodel 8 років тому
Hi Nick : why do you request to install Python ? I've installed it, but when I try to upload the sketch, the 1.6.9 IDE answers errors and they begin with : java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, should I declare the path to python somewhere ? I have tried this www.esp8266.com/viewtopic.php?f=26&t=4508#p29946 but it doesn't seem to help. thanks !
@ahmednazir1671
@ahmednazir1671 6 років тому
how to change wifi network wirelessly. please anyone can help?
@xanamata5386
@xanamata5386 7 років тому
pesta dike moy ! δεν μας λες ομως πως γινεται η αναθεση στην πορτα μεσα απο το περιβαλον προγραμματισμου του arduino που λες οτι το εχει εξηγησει σε προηγουμενο βιντεο που εγω ομως δεν μπορω να το βρω , για να μπορεσω να δοκιμασω το ota .
@mikelemon5109
@mikelemon5109 7 років тому
I think the OTA needs to be apart of the bootloader not apart of the user written sofware.
@whatsonmytable
@whatsonmytable 8 років тому
exit status 1 'D10' was not declared in this scope
@Educ8s
@Educ8s 8 років тому
Hello my friend. For me it is working fine. Try this, modify the blink example program of Arduino to blink the LED. Instead of pin 13 use D10. Will it work with the WeMOS D1?
@whatsonmytable
@whatsonmytable 8 років тому
Ok.let me try that I did this since I could just copy your code and use it as is.I will try the basic arduino blink example code and let you know how it works.T hanks a ton for your help.I guess u must be from Italy .I am from India.Thanks again friend.
@Educ8s
@Educ8s 8 років тому
You are welcome, I am from Greece! Greetings from Sparta!
@ayaxrojo
@ayaxrojo 8 років тому
Hello! this board was discontinued for wemos... :'(
@Educ8s
@Educ8s 8 років тому
+Alvaro Ramos Yes, but they now offer the WeMOS D1 R2 which is slightly improved! That's even better!
@ayaxrojo
@ayaxrojo 8 років тому
Fantastic! This board is very userfull! Thanks again
@edsonsilva7912
@edsonsilva7912 7 років тому
Hello! Can you ,please, give me the link of the ide for this board? T.y.
@Educ8s
@Educ8s 7 років тому
It is the standard Arduino IDE
@edsonsilva7912
@edsonsilva7912 7 років тому
It is because I did not see Wemos on the program.
@chimeranzl9147
@chimeranzl9147 7 років тому
see his first video on how to add / select the board
@whatsonmytable
@whatsonmytable 8 років тому
Ok you have actually mentioned it in your video its 2.7/.. Sorry :)
@thangcao3538
@thangcao3538 7 років тому
d10 was not declared in this scope
@AnkitSrivastavabeing_awesome
@AnkitSrivastavabeing_awesome 6 років тому
Thắng Cao I got this issue .. but when I changed the port number to 5,6 or 7 it started working
@surenbono6063
@surenbono6063 5 років тому
..if anybody still have trouble uploading sketches to their WEMOS D1R1 or similar after CH341SER driver install & even with latest arduino ide with the ESP8266 PLATFORM downloaded connected to proper port in device manager Windows Xp or higher, with error message cxxabi_tweaks.h not present do this....copy cxxabi_tweaks.h from{ your drive]C:\Documents and Settings\{your pc name}\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf\bits to C:\Documents and Settings\{your pc name}\Local Settings\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits ....it took me a week to figure it out...finally the blink sketches worked...so i have a renewed my spirit for debugging my ambitious WEB RADIO project...hehehe
The EASY Guide To Over-The-Air (OTA) Updates With ArduinoOTA
11:52
Programming Electronics Academy
Переглядів 15 тис.
Китайка и Мармеладный Лего😂😆
00:19
KITAYSKAYA ZMEYKA
Переглядів 2,3 млн
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Переглядів 2 млн
#228 ESP32 Over the Air (OTA) Updates with ONE LINE are EASY!
23:26
Ralph S Bacon
Переглядів 27 тис.
EEVblog #998 - How To Program ESP8266 WiFi With Arduino
19:25
EEVblog
Переглядів 389 тис.
Programming ESP-12E / ESP-12F / NodeMCU Over Wi-Fi
9:49
Indrek
Переглядів 51 тис.
OTA with the ESP32 (Over The Air)
8:38
Programming Electronics Academy
Переглядів 45 тис.
Wemos D1 Mini, ESP8266 Getting Started Guide With Arduino
7:14
Makers Mad Lab
Переглядів 122 тис.
Get Started With A D1 Mini (ESP8266) In Under 5 Minutes!
5:11
Simple Electronics
Переглядів 114 тис.
33 OTA with ESP32 || Program ESP32  over the  WiFi  || NO Cable ll
8:36
void loop Robotech & Automation
Переглядів 9 тис.
Зачем вы показываете ноутбук в аэропорту?✈️
0:29
Нужен ли робот пылесос?
0:54
Катя и Лайфхаки
Переглядів 775 тис.
Геймер с самым быстрым интернетом
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Переглядів 389 тис.
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Переглядів 15 млн
The Worst Product I've Ever Reviewed... For Now
25:04
Marques Brownlee
Переглядів 7 млн
Сомнительно... Ну Окэй... Распаковал Nothing Phone (2a)
16:19
РасПаковка ДваПаковка
Переглядів 55 тис.