Programming ESP-12E / ESP-12F / NodeMCU Over Wi-Fi
Вставка
- Опубліковано 20 сер 2024
- In this video, I will explain how to program an ESP8266 module over Wi-Fi using the Arduino IDE.
Code:
circuitjournal...
Code with a fallback access point:
circuitjournal...
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.aliexp...
NodeMcu: s.click.aliexp...
USB to Serial Adapter: s.click.aliexp...
Esp-12E/Esp-12F Programmer Module: s.click.aliexp...
Witty Cloud Development Board: s.click.aliexp...
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 UA-cam audio library.
Corbyn Kites - Shadowing
Thank you for the knowledge, the method of delivery is clear and easy to understand. I'm from Indonesia, Jakarta, Bali
Really thorough and clear! Thanks Indrek!
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.
@Marcel Jaxson instablaster =)
@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.
@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 !
@Marcel Jaxson happy to help :D
Very good video! Hope to see more from you. Thanks.
You are doing a great quality content! thnx. keep the good work! :)
Thanks!
Love your videos!
thex for the video. realy saved me
Thanks for your video my friend
Great video. Thanks
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?
Sir please make a video on How to program ESP 12E/12F/NodeMCU through arduino board
Buena opción
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.
Can you make a video about making a serial LCD clock using ESP 8266 E and a Garage Opener. Thanks in advance
Can show how to program to watchpower to be used to solar inverter.thx
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
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!
I got: "error no answer" at the end of uploading process. What does it mean?
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.
Thank you for your help
Can attiny85 programmed with cp2102?
Hi, that is great. and Dear can we upload code over the wifi only once or more than 1.
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.
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?
Hey! Yes, as long as your computer is connected to the same Wi-fi network as the ESP module.
@@IndrekL Thanks! My bench inspection went really smoothly thanks to your content
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.
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
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.
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
can you make a break horn melody, like denso 2 tone? japanese sound :)
Hi, that is great, but can you tell me,
What is "?" here !!!!
digitalWrite(LED_BUILTIN, millis() %1000 >500 ? HIGH:LOW);
Thax
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;
}
The above "if" could also be written as:
if (millis() %1000 >500) {
digitalWrite(LED_BUILTIN, HIGH);
} else {
digitalWrite(LED_BUILTIN, LOW);
}
Hey, thanks for the video. Do you know a way to use OTA between two different subnets?
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.
First
Unrelated to this video - do you happen to know where i could find an inexpensive loadcell/strain gauge that is high temp resistant?
Hey! Unfortunatelly, no.
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.
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.
no its not i even went and bought a board with the links and it still dont work
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.
Hey! This is programming the ESP8266 module itself without an Arduino board.
You can programm the ESP8266 module directly using the Arduino IDE.
achayni ami