WEEK11 FYP2
WEEK11 FYP2
Activity :
Continue on doing some testing for the code and WIFI Module and consultation from My supervisor Madam Zunaini Abd Kadir in MSTeams.
Objectives :
- Making sure the code is running well.
- Test the wifi module and setting up the wifi.webserver
- Attend my supervisor consultation
In this week, madam ask us to join the FYP2 Consultation to check our progress before the presentation day. I cant show enough progress since its not working in a 100% yet. I learn that we must score the presentation day even though if we fail to make the project to work on 100%.
So for the test, I added a command to the codes to make sure it clears the credentials every time the code upload just to ease for the demo video. I can simply comment or uncomment to put and avoid the code. Initially the idea of the project supposed to save the credentials of the user because user don't have to log in to the web server every time a house trip or a blackout happen. In the void setup function i use below command to reset every credentials :
WiFiManager wifiManager;
// Uncomment and run it once, if you want to erase all the stored information
//wifiManager.resetSettings();
- After resetting the WIFI module, My phone WIFI successfully found the ESP8266 and connect it. When it will successfully connect the webserver, a new browser will pop up and shown as below:
- To configure the WIFI, I just put my credentials to the web server and it will automatically saved for future usage. Every time the system is down, the WIFI module will auto scan and do auto connection to the credentials saved.
- To make sure we are right on path, the connection can be observe at serial monitor in the Arduino IDE.
The code and the WIFI module is functioning well and ready to proceed the next step on constructing the project. All the objective were achieved this week.
Comments
Post a Comment