Change ESP8266 WiFi credentials without uploading code from Arduino IDE
HTML-код
- Опубликовано: 14 окт 2024
- Source Code Link: electronicsinn...
In this Video, we are going to walk through ” how to Change ESP8266 WiFi credentials without uploading code from Arduino IDE”, We will update WiFi Credential wirelessly and store the same credentials in the EEPROM memory of the ESP8266 using a really awesome library “EEPROM.h“. We are going to develop an Arduino Program, Which First Reads the WiFi Credentials from the EEPROM, and tries to connect to that; If the WiFi is not available or there are no credentials stored in the EEPROM, ESP8266 will Acts an Accespoint and creates Hotspot which will allow us to connect and modify the WiFi credential. Then it connects to the freshly configured WiFi Credentials. It will only take a couple of minutes to go through these steps
======================================================
Subscribe to Electronics Innovation
bit.ly/Electron...
Visit Electronics Innovation.com for more Tutorials, Tips, Projects and How It Works videos:
electronicsinno...
Like my page on Facebook: / electroniczinnovation
~-~~-~~~-~~-~
Please watch: "I AM IRON MAN | DIY Arc Reactor"
• how to make iron man a...
~-~~-~~~-~~-~
Hello, i just want to know that, how we can see or retrieve the program stored inside the esp8266 (Nodemcu)..??
Hello sir, thanks for the amazing video. I want to do the same on ESP32 but the code won't woke on it because of the libraries. Should I have different libraries for it?
Thank you so much!! I’ve been looking for this exact tutorial for a while now!
Question, have you ever done this, but with an iOS app?
Hi......I'm a beginner and I have a question for you. If I have a code inside ESP8266, is it not overwritten by uploading your code? Thanks a lot
Great and helpful. My suggestion / request for a next video: How to connect an ESP to a captive portal (free WiFi access point) using your smartphone.
okay will try to doit.
Hi,
First of all thank you very much for making a great video.
Here i need a help. I have alexa device. Can you please make a video how and where to add the home automation code to this code.
I tried for the several times to modify. But here I'm facing 2 problems.
1 : either it discovers 8 outputs connecting directly to alexa and not showing wifi name in my phone or in computer.
2 : or it showing the wifi name and alexa cannot discovers the nodemcu.
The code is for alexa with 8 outputs.
Can you please help me on this.
Thanks in advance
What if i have fixed the device in a switch board ... then how will i know to which ip address i have to connect
At the time programming only, you will get the IP, if it's connected to same wifi, it will not chage for long time.
Or else you can specify your module's ip addrss as static ip, so that it will never change.
@@electronicsinnovation how to specify a static ip... Because if we want to implement it in a product then we don't want it to change
You can get this code online.
Really awesome... Can you pls tell what libraries are to be used for the same project for both esp32 and esp8266..
Plz can you do the same thing using MIT app inventory 2
bro how to use it with blynk project ?
Thank you so much brother. You helped me a lot. Go Ahead make this type of problem's solution videos. I am with you💖
Are credentials erased on the click reset button? Are they erased while turning off? Thank you
Mine are persisted, I don't know how to clear credentials and enter new ones after the first run through.
It will be a great help if you teach us how to use the same method using an app mady by mit app builder.... It will give our projects a great profesional look
Thanks for the tutorial. I want to know one thing after setting wi-fi password how can we change it. as it is saved in the eeprom of the ESP, it will not wash out even after reprogram it.
There are 2 ways.
1.You can replace with another wifi credentials.
2. You can erase the eeprome memory using standard eeprome commnads.
with my ESP8266 Nodemcu i have sucessfully finished all the steps correct and connected it to com 6 becaz it was showing error when I tried connecting it to com 3 but for some reason after the actual wifi is connected it still shows network not available and when i am trying to reset i am not able to please help me
Now if I am seeing after some time the WiFi name is also not available what is happening can someone explain how to reset and start doing the whole thing
I tried re uploading the code and see if the WiFi name will come visible but it is not working
Can i use my own house wifi credentials?
Sir, if the router is restarted,esp8266 needs physically restart to again connect to router, sir please give solution
you are a legend sir....THANK YOU!
you create web server and use it to display networks ssid and the enter parameters(ssid & pass) fields, if I want to control outputs pins through web page with specific (IP, GW, and Subnet mask) what I can do for that.
You can add extra fields on html page and modify the sketch accordingly.
Thanks a lot,how to change the NodeMCU IP address (the default IP address with static IP address)
without hardcoding??
There is a way where you can enter assign a ip address, in the program it self.
If you want change the ip address, wirelessly like I have updated WiFi credentials, you can do tha same thing to assign new address, the thing is you have implement the code your self..😜
But how to remove the WiFi jammer program for esp8266!
Sir,how to know which program is working in node mcu or How can we get the code working in node mcu(esp8266) back out?
Only one will execute at a time in the node mcu. The recently uploaded one.
You use a serial monitor for logs.
After give credentials serial monitor show wdt reset. Not reset automatically.
Helpful video 👍
Thanks bro, can you do the same but for ESP32?
nice tutorial bro... next time nodemcu to aws, homekit controler...
great. Next video suggestion for the library system with rfid + esp8266
plzz make a video on how to change the password of nodemcu jammer which is pwned(ssid) and deauther(password)
Grate !!! , can you please explain how to configure ESP8266 as a GATEWAY NODE in a sensor network
Sure, I can Help you. please drop a mail at
askus.electronicsinnovation@gmail.com
Ws2812b Code is uploaded but IP address and Wi-Fi not show plz ..halp
How can we add our code in it? Like to control a relay or get the reading from Temperature sensor?
I have written code to blink led, you can simply replace that code with your code. It is in void loop. I have mentioned this point while explaining the in the video itself.
i want nodemcu work as hotspot and not as wifi and change its password from any phone or pc. how to do??
Great tutorial! Thank you.
can we make a wifi signal repeater with this code? can you show us how? 👍🙂 and please have your code in .ino format because it is very hard for us (android users) to copy and paste and format again your code from your page. thanks
a little esp is not capable to do something like this, to much data, to little process power...
Thanks a lot!!
After changing ssid and password it is showing original ssid only not new.
Connecting after Chang ssid and pass but not connecting to internet
Do you have any Example for ESP32-CAM?
Yeah, I have
@@electronicsinnovation plz post the link here
@@rashmimahadevaiah8321 Yeah, but I dint published yet. please mail us on "askus.electronicsinnovation@gmail.com"
great video .
well explanation ............
thank you.....
My wifi module kept on searching until no end ..how to fix it?
GREAT VIDEO sir.... I was thinking is it possible to use Nextion display to enter WiFi credentials without hard coding or without creating a Soft AP
Yeah, it's possible.
@@electronicsinnovation can you make a video on it and help me with the code
Thanks V helpful
Bro pls make a bidirectional home automation without display and Google and Alexa home automation in one Arduino plss...
sure will doit...
Wifi connected but not access internet.what can i do???
great work👏
Super tutorial can I use this code for blynk app
Yeah, you can use.
@@electronicsinnovation but how to add blynk authentication in this code
thank you so much
super bro
while(true){
print("Thank You So Much Sir ");
}
Nice 👌🏻
serial monitor is not showing any progress
Please check the Baudrate of serial monitor.
How to delete a coding in esp 8266
Just upload emply sketch. Like void setup, void loop. That's it.
if you hindi, kya aisa ho sakta hai ki maine ek smart bulb liya wo samrt bulb alexa or google se kam karta hai or uske company app se jo ki wifi credintials mobile se change ho jata hai to puchna chahata hu jo code iss smart bulb me work kar rha hai hai use mai apne arduino ide app me backup or us me se code nikal ke ardiuino ide ke page me copy kar sakta hu
if, you know english
how i get out working code from smart bulb
because iwant to make smart bulb like wipro company or other one
please,please
reply me on my e-mail:- gaashutoshguta59@gmail.com