This project gives a convenient way to end users to set up a "thing" to their own WiFi.
It is a simple solution for makers to distribute their creations and give the ability to each end user to configure (and re-configure at any time) the WiFi parameters without messing with the device functionality.
The solution is designed for use with NodeMCU firmware based projects but it can be adopted from other firmware as well.
I know there is an "EndUserSetup" library for NodeMCU already, but this is a bit buggy and it not suitable for my needs.
HOW IT WORKSThe ESP8266 module runs a simple script on startup (provided) which looks for simple configuration file to get the WiFi info (SSID & Password), once this file is found then it will force the ESP module o connect to this WiFi network and boot normally.
For the end user a Windows executable is available. With this executable the user can set the WiFi directly to the ESP8266 module (via USB connection). The executable is made using a simplified interface in order to be self explained and easy to use.
The end user must select the Virtual Com Port (e.g COM1) then to fill the WiFi information fields and click on "Write all".
Simple and clean.
Additionally the utility can write a Device ID and two more values to this file if the maker decides to allow end user to set some parameters to the device.
The executable (and its source code) can be found on Github: https://github.com/limbo666/Esp-Config/releases/
Comments
Please log in or sign up to comment.