Posts

Showing posts from February, 2021

Arduino - No more SSID and password with Wifimanager

Image
NOTICE: If you encountered problems in compiling the code, see this updated video. ESP8226:  https://youtu.be/NLRuqjhArg8 ​ ESP32-CAM: https://youtu.be/TTdMKW6HhXM​ Have you met this problem before? You were making an fantastic Arduino IoT project. However, in the code, Wi-Fi SSID and Password were hard-coded and the only way to change these is to edit the code and re-upload the code to Arduino. At home, this is okay, since you were experimenting things here and there anyway. Let’s say you bring this project to a friend place or a venue to demo. And you didn’t know the Wi-Fi SSID nor the password beforehand. Then, you need to bring your computer to change SSID and password and re-upload to Arduino.   Is there a way to get rid this problem? Yes. The answer is use Arduino Wifimanager library.  Start Open Arduino IDE. From Tools and select Manager Library in space here type Wi-Fi Manager to search Arduino  IDE will filter keywords with Wi-Fi manager. Scroll down until you find a Wi-Fi ma