У нас вы можете посмотреть бесплатно Avoid Hard Coding ESP32 ||update Wi-Fi credentials using Bluetooth Application. или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Have you ever encountered hurdles in saving the parameter information in Microcontrollers that may be needed to get updated often? These pieces of information are part of the code and may not change once compiled and burned in the chip. Here I give you an example: Let suppose you made an IoT project using wifi module i.e ESP32 for some remote location and this WiFi module might require wifi credentials SSID and Password to be connected with an Access point(AP) for network connection. So this is how you usually do; open the code and provide SSID and Password of your Acces Point (AP) to the SSID and PASSWORD array. i.e. char SSID[] = "MyHomeAP"; char PASSWORD[] = "123456789"; This information will be compiled and be part of the code as long as it resides in the ESP. But what if the Access Point (AP) SSID or PASSWORD get changed or there might be an AP with more bandwidth than you may want ESP32 to be associated. So you might need to get back the ESP module back to your laptop reprogram it and then place it back to the project location. It leads to a lot of overhead and maybe infeasible for most of the projects. So today we are going to tackle this hurdle with the most optimal solution for ESP32. Music: https://www.bensound.com My Fiverr Link: https://www.fiverr.com/amirbutt853/do... Sketch: https://drive.google.com/open?id=1HdF... The ESP32 comes with Wi-Fi, Bluetooth Low Energy and Bluetooth Classic. In this tutorial, you’ll learn how to use ESP32 Bluetooth Classic between an ESP32 and an Android smartphone to update Wifi setting parameters SSID and Password. We will use any bluetooth terminal application from play store for communication with the ESP32. I used: https://play.google.com/store/apps/de.... The ESP32 will receive command and send back confirmation for wifi setting parameters SSID and Password - Save SSID and Password in the ESP32's EEPROM. So even if the power fails the Wifi credentials will be preserved. So the Received Bluetooth command for configuration example: SSID:xxxxxxxxxxxxxxxxxxxxxxxxxxxx/n PASS:xxxxxxxxxxxxxxxxxxxxxxxxxxxx/n Note: /n is a carriage return, x is any ASCII code for identification. At the power on, the ESP32 must be waiting for that informations. After 30 seconds of waiting on Bluetooth information, the program skips the Bluetooth scanning and sets wifi parameters stored on the EEprom to make the WiFi link. Once you burned the code in ESP on restart it waits for Bluetooth pairing 1. Pair your cell phone with ESP 2. Provide SSID in command like "SSID:yourssid" SEND "PASS:yourpass"SEND The ESP will respond with the confirmation on your Bluetooth terminal. The new SSID and Password will be updated in your EEPROM.