Change ESP32 Wi-Fi credentials from Mobile App.
HTML-код
- Опубликовано: 1 янв 2021
- Hello friends, welcome to an Embedded Gate.
After watching this video, you can change the esp32 wifi SSID and password from the mobile app.
After changing the SSID and password, I will turn ON and OFF LED to show you this project is running successfully.
To access the internet via esp32, we need to connect it to a nearby network. Suppose I have to connect ESP to my home router. A simple way to provide router SSID and password is via code. If you are using this technique, then you know that whenever your router password changes, you need to make the same changes in code, And as your code changes then you have to re-upload the code.
That's why I have developed this project where you can connect ESP32 to any network using the mobile app. I'm going to use the Bluetooth function of ESP to change the wifi name and password.
Download the circuit diagram from the link below:
drive.google.com/file/d/1_rnm...
Download the code from the link below:
drive.google.com/file/d/1OxAD...
⭐️Please watch the video till the end. I hope that you successfully understand. If you don't understand, please comment on my videos. I try to help you.
Thanks for checking this description.
Follow us on:
Facebook: / embedded.gate
Instagram: / embeddedgate
RUclips: / @embeddedgate
LinkedIn: / embedded-gate
Website: embeddedgate.com/
Fiverr: www.fiverr.com/s/qoWX0Z
Upwork: www.upwork.com/freelancers/~0...
thank you very much for sharing the knowledge bro....
Excellent travail, bravo !
Excellent travail, merci beaucoup
So helpful!
thanks God After one year i got this
Hello, I have some questions please, hopefully you can help me out:
1. Why do we need thinkverse ?
2. Why there is a pre-defined wireless and password setup in the code ? Wasn't this supposed to connect the device from the app directly to wifi ?!
I am a beginner in Arduino, your tutorial is helping me learn a lot.
Thank you,
Cristian
Answer 1: Thinkverse is a supporting file for esp32
Answer2: When I turn ON esp32 then it will connect to the SSID which is declared in code. If you want to connect directly from the mobile app then just declare an empty variable in the code.
Thanks for the comment.
Best vedio
The BluetoothSerial object is enormous. If you try to flash the sketch it may say it is too large. In the Arduino IDE, go to tools->partition scheme-> 8M with SPIFFS. You can choose any that have more room for the sketch, this one worked for me and went from 107% to 9% of program storage space.
hi it's not working for me
can you help
@@raghuramabl6729 compile your sketch with using board esp32 dev module
@@muhammadfarrukhali6112 thanks i got it
if you receive this message "large program(larger 100%)"
go to "tools > partition scheme " and select Huge APP
therefore you have about 3 MB storage for program.@@raghuramabl6729
hi, I tried using this method, but the bluetooth name doesn't appear
I have a error...
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Very useful tutorial, but the speaker appears to be listless.
Could it be done WITHOUT using Bluetooth?
- Connect mobile App over Wifi (pair by entering a pin displayed OR number of flashes of LED)
- Share Wifi credentials that Mobile has stored (because it is connected to Wifi already)
- esp32 tests connection and displays success on screen (or LED flash sequence)
Yes. This is possible without using Bluetooth.
@@EmbeddedGate how
Sketch uses 1466621 bytes (111%) of program storage space. Maximum is 1310720 bytes. The sketch is bigger than the memory. how can it be solved?
How is that possible? Already using this code many times didn't happen to me. Please check your selected device.
Do you have a code that can work in Android Studio?
No.
hi, it'a not working for me, Sketch uses 1451517 bytes (110%) of program storage space, compilation error: text section exceeds available space in board. can you help me, please
Hello.
Same problem i faced, how to resolve it please
what is the solution for ESP8266 that does not have Bluetooth right...
Use Station mode.
how can i dot it with thonny ide ?
Sorry, I don't have any idea about thonny ide.
I have a error in Arduino code
The sketch is so big :S
if you receive this message "large program(larger 100%)"
go to "tools > partition scheme " and select Huge APP
therefore you have about 3 MB storage for program.
I think you are not storing the id password in any memory, so what will happen if the setup run again? Will not it take the predefined password, in that case any solution?
Yes, you are right. We can use the eprom function to store password and ssid
@@EmbeddedGate can you please explain how can we do that in esp 12e without Arduino
Code is available in the video description.
@@EmbeddedGate Hi, Thank you very much, finally implemented it successfully.❤️
@@EmbeddedGate Sir in my app it"s showing error in connecting with API url...What can I do ....please help
Will it work with esp8266?
No. Esp8266 doesn't have Bluetooth.
Give me aia. File this project
Download from link:
drive.google.com/file/d/1pSj1itLWkuCpNBdenGKnSdgyjQ4yjYs8/view?usp=sharing
I have a error in Arduino code
The sketch is so big
Make sure you have installed ESP32 in your system.
Pudiste resolver el problema? Saludos
@@JuanjoKronosCronos . What is the problem?
I have the same problem :,C
if you receive this message "large program(larger 100%)"
go to "tools > partition scheme " and select Huge APP
therefore you have about 3 MB storage for program.