![]() ![]() * we also created a gateway field and a gateway.txt file to save the IP address gateway (this is not shown in the diagram). Otherwise, it will set the Access Point ( 3), and you can access the default IP address ( 192.168.4.1) to add another SSID/password combination. If it establishes a connection, the process is completed successfully, and you can access the main web server page that can do whatever you want (control sensor readings, control outputs, display some text, etc.) ( 9).This time, after restarting, the files are not empty, so the ESP will try to connect to the network in station mode using the settings you’ve inserted in the form ( 7).After that, the ESP board restarts ( 6).The SSID, password, and IP address inserted in the form are saved in the corresponding files: ssid.txt, pass.txt, and ip.txt ( 5).After establishing a connection with the ESP-WIFI-MANAGER, you can go to the default IP address 192.168.4.1 to open a web page that allows you to configure your SSID and password ( 4).Using any Wi-Fi enabled device with a browser, you can connect to the newly created Access Point (default name ESP-WIFI-MANAGER).If the files are empty ( 2) (the first time you run the board, the files are empty), your board is set as an access point ( 3). ![]() ![]() When the ESP first starts, it tries to read the ssid.txt, pass.txt and ip.txt files* ( 1). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |