Programming ESP-12E / ESP-12F / NodeMCU Over Wi-Fi

  Переглядів 52,276

Indrek

Indrek

3 роки тому

In this video, I will explain how to program an ESP8266 module over Wi-Fi using the Arduino IDE.
Code:
circuitjournal.com/programmin...
Code with a fallback access point:
circuitjournal.com/programmin...
This video is a follow-up to my previous ESP tutorial:
• Programming ESP-12E / ...
Buy from Amazon:
ESP-12F Wi-Fi Module: amzn.to/3xW8LRl
NodeMcu: amzn.to/3x8ssno
USB to Serial Adapter: amzn.to/3xbGjsU
Esp-12E/Esp-12F Programmer Module: amzn.to/32p0ERU
Witty Cloud Development Board: amzn.to/3BJA9Gj
(As an Amazon Associate I earn from qualifying purchases)
Buy from Aliexpress:
ESP-12F Wi-Fi Module: s.click.aliexpress.com/e/_Amz81r
NodeMcu: s.click.aliexpress.com/e/_APrxiz
USB to Serial Adapter: s.click.aliexpress.com/e/_A1HnkZ
Esp-12E/Esp-12F Programmer Module: s.click.aliexpress.com/e/_AabJHN
Witty Cloud Development Board: s.click.aliexpress.com/e/_AtV5K9
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from UKposts audio library.
Corbyn Kites - Shadowing

КОМЕНТАРІ: 51
@antikasoundengineering4222
@antikasoundengineering4222 2 роки тому
Thank you for the knowledge, the method of delivery is clear and easy to understand. I'm from Indonesia, Jakarta, Bali
@thisoldjeepcj5
@thisoldjeepcj5 3 місяці тому
Very good video! Hope to see more from you. Thanks.
@dbuezas
@dbuezas 3 роки тому
Really thorough and clear! Thanks Indrek!
@marceljaxson3481
@marceljaxson3481 2 роки тому
you all prolly dont give a damn but does anyone know of a way to log back into an instagram account? I stupidly lost the password. I would appreciate any help you can give me.
@fernandojoseph352
@fernandojoseph352 2 роки тому
@Marcel Jaxson instablaster =)
@marceljaxson3481
@marceljaxson3481 2 роки тому
@Fernando Joseph Thanks for your reply. I got to the site on google and im in the hacking process now. Looks like it's gonna take quite some time so I will reply here later when my account password hopefully is recovered.
@marceljaxson3481
@marceljaxson3481 2 роки тому
@Fernando Joseph It did the trick and I now got access to my account again. Im so happy! Thank you so much you saved my account !
@fernandojoseph352
@fernandojoseph352 2 роки тому
@Marcel Jaxson happy to help :D
@PedroFernandez-cv8ie
@PedroFernandez-cv8ie 3 роки тому
You are doing a great quality content! thnx. keep the good work! :)
@IndrekL
@IndrekL 3 роки тому
Thanks!
@amitmargalit4551
@amitmargalit4551 Рік тому
Love your videos!
@ChrisHalden007
@ChrisHalden007 3 роки тому
Great video. Thanks
@jovenianomadrid9565
@jovenianomadrid9565 2 роки тому
Thanks for your video my friend
@danielhagos6080
@danielhagos6080 2 роки тому
thex for the video. realy saved me
@paulgrayford9296
@paulgrayford9296 2 роки тому
Hey Indrek, great video! Are you able to program the module over Wi-Fi without setting GPIO 0 to ground to set in programming mode (after programming once of course)? Thank you!
@1stamyk
@1stamyk 2 роки тому
Nice video! I did everything successfully (no errors, led blinking) by videotime 4:28, also sure I use same WIFI but still can not see new "esp" port in menu. Would you have a hint what else can cause the problem?
@nelsonhubahib4859
@nelsonhubahib4859 3 роки тому
Can show how to program to watchpower to be used to solar inverter.thx
@thisoldjeepcj5
@thisoldjeepcj5 2 місяці тому
I know it's been a while since you made this video, could you explain how to add static IP, gateway, and subnet mask to web page and eeprom save as these are not char? Thanks.
@mygpsforcegpsforce2174
@mygpsforcegpsforce2174 9 місяців тому
Buena opción
@mouseminer2978
@mouseminer2978 2 роки тому
Can you make a video about making a serial LCD clock using ESP 8266 E and a Garage Opener. Thanks in advance
@supermadson1
@supermadson1 3 роки тому
Hey, brilliant video! I'm working on a project and was wondering; once the code is uploaded and the esp disconnected from the computer, if I then connected a battery to power the esp, would it still retain the code and be able to receive sketches from the computer without a physical link?
@IndrekL
@IndrekL 3 роки тому
Hey! Yes, as long as your computer is connected to the same Wi-fi network as the ESP module.
@supermadson1
@supermadson1 3 роки тому
@@IndrekL Thanks! My bench inspection went really smoothly thanks to your content
@ershithvarans7029
@ershithvarans7029 3 місяці тому
iam planning to file (IPR) for my own home automation project and also , I had used arduino ota libraries will my IPR will be cancel after serval test i would commercial the product
@deroskar
@deroskar 3 роки тому
Nice Video. Super understandable and found it easy to follow along. Ist it meant to put the code you want to program under the ArduinoOTA.handle(); and server.handleClient(); funktion in the second code? I put the digitalWrite(2, millis() % 1000 > 500 ? HIGH : LOW); blink-code in there but the LED did nothing. thx
@IndrekL
@IndrekL 3 роки тому
Hey! Yes you should be able to put you code under the "handle" methods. Are you trying to flash the on-the-board LED? Maybe try to use LED_BUILTIN instead of 2. I am not sure but the LED_BUILTIN might not be number 2.
@larswilting8862
@larswilting8862 3 роки тому
Hey, thanks for the video. Do you know a way to use OTA between two different subnets?
@IndrekL
@IndrekL 3 роки тому
As far as I know Arduino IDE sees the device only if it is in the same subnet. Maybe you can do something clever with router configuration, but I don't know much about that.
@domingomikefritzb.1467
@domingomikefritzb.1467 3 роки тому
can you make a break horn melody, like denso 2 tone? japanese sound :)
@rizwansaeed91
@rizwansaeed91 3 роки тому
Hi, that is great. and Dear can we upload code over the wifi only once or more than 1.
@IndrekL
@IndrekL 3 роки тому
If the code you upload over the wifi also supports uploading over wifi then you can upload again. But when you upload code that does not have the OTA library then you can't do any more uploads.
@Jrod4
@Jrod4 3 роки тому
Unrelated to this video - do you happen to know where i could find an inexpensive loadcell/strain gauge that is high temp resistant?
@IndrekL
@IndrekL 3 роки тому
Hey! Unfortunatelly, no.
@cassie5130
@cassie5130 3 роки тому
Unrelated to this video, Your liveOV7670 project. I was wondering if it was possible to add a button to take pictures, videos and save to a SD card. If so, how would I do this.
@IndrekL
@IndrekL 3 роки тому
I recently learned that it is possible to read data back from the screen. So theoretically it is possible to take image from the screen and save it to the SD card. SD card it too slow to save image to it directly from the camera. I am planning to do a project like this in the future. I will upload a video about it when I am ready.
@ekfariant3159
@ekfariant3159 Рік тому
Can attiny85 programmed with cp2102?
@user-em3jj4xp9g
@user-em3jj4xp9g Рік тому
Hello. Thank you for your helpful videos. I use Arduino 1.8.13 and the board version 2.2.0. The OTA example (with my ssid and password) creates a network port and is flashed through this port when working with Witty Cloud, ESP-12 and ESP-07S, BUT IT DOES NOT WORK with ESP-07 (with a ceramic antenna and a connector for an external antenna). The port appears, but when flashing through it, a message is displayed No response from device Please help me.
@toumiaabdelkader4723
@toumiaabdelkader4723 Рік тому
Thank you for your help
@elless317
@elless317 11 місяців тому
I got: "error no answer" at the end of uploading process. What does it mean?
@Aashutoshkumar-xu1zy
@Aashutoshkumar-xu1zy Рік тому
Sir please make a video on How to program ESP 12E/12F/NodeMCU through arduino board
@pedrorivarepetti
@pedrorivarepetti 2 роки тому
Hi, using some other similar code I can save now wifi settings on my module so i think it is something with th e code. If are you interested on what worked I am willing to colabborate with you
@quinman16
@quinman16 2 роки тому
hay man do I need to write this code to the ESP8266 WIFI shield or to the Arduino board its self, and is it possible to make a web controller that I can reprogram over the WIFI connection and be able to change the WIFI name and password.
@IndrekL
@IndrekL 2 роки тому
Hey! This is programming the ESP8266 module itself without an Arduino board. You can programm the ESP8266 module directly using the Arduino IDE.
@antoniomarijanovic1559
@antoniomarijanovic1559 3 роки тому
First
@dindigulautomationwaterpro5145
@dindigulautomationwaterpro5145 3 роки тому
Hi. Can u please write a code to me for Nodemcu Esp12e Module thank-you. ? 1. On D2 - D2, D7 and D8 off after 30 seconds 2. On D3 - D3, D7 and D8 off after 30 seconds. 3. On D4 - D4, D7 and D8 off after 30 seconds. 4. On D5 - D5, D7 and D8 off after 30 seconds.
@yazani19
@yazani19 3 роки тому
Hi, that is great, but can you tell me, What is "?" here !!!! digitalWrite(LED_BUILTIN, millis() %1000 >500 ? HIGH:LOW); Thax
@IndrekL
@IndrekL 3 роки тому
Hey! It is an "inline if". If the condition before the "?" is true then the first value is used, if false then the one after the ":". For example this: int a = some_condition ? 111 : 222; is the same as: int a; if (some_condition) { a = 111; } else { a = 222; }
@IndrekL
@IndrekL 3 роки тому
The above "if" could also be written as: if (millis() %1000 >500) { digitalWrite(LED_BUILTIN, HIGH); } else { digitalWrite(LED_BUILTIN, LOW); }
@Viraldanceworlds
@Viraldanceworlds 2 роки тому
no its not i even went and bought a board with the links and it still dont work
@3dmodeluzb3
@3dmodeluzb3 2 роки тому
achayni ami
Эффект Карбонаро и пончики
01:01
История одного вокалиста
Переглядів 8 млн
3 Simple ways of programming an ESP-12 Module
3:55
Brian Lough
Переглядів 106 тис.
The $4 NodeMCU ESP8266 Wi-Fi Jammer Setup! (iOS & Android)
11:28
Tech James
Переглядів 213 тис.
ESP 8266 Nodemcu Uploading code over wifi | ESP OTA UPDATE
7:54
electronic GURU
Переглядів 50 тис.
Using an ESP8266 ESP01 Module
6:51
Brian Lough
Переглядів 114 тис.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:40
ESP8266 OTA (Over-the-Air) Firmware Updates using AsyncElegantOTA Arduino Library.
7:53
What happens if you expose Windows 98 to the Internet in 2024?
12:19
Eric Parker
Переглядів 3,8 тис.
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
❌УШЛА ЭПОХА!🍏
0:37
Demin's Lounge
Переглядів 312 тис.
How Neuralink Works 🧠
0:28
Zack D. Films
Переглядів 26 млн
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 799 тис.