What is this project: This project focuses on the configuration part of the IoT devices, which aims to provide an secured and convenient method to setup devices.
IoT device: NodeMCU Contorller (Mobile application): Android
Developemnt Environments: devce: Arduino controller: Android Studio
Dependencies - device:
- Arduino core for ESP8266 WiFi chip: https://github.com/esp8266/Arduino
Dependencies - controller:
Set up device:
- Open ESP8266.ino with Arduino and burn it to a NodeMCU
- the deivce will boot up and then get the SSID and PSK from the monitor in the Arduino
- Paste the SSID and PSK (only the SSID and PSK, no additional info and seperate them with a line seperator) into any online QR code generator
- Generator an QR code which will be used in following step
Set up controller: Install the Android mobile application
Experiments tips:
- Open the app and tap 'Add Device' to add a new device
- Swipe right and scan the QR code to acquire the SSID and PSK of the device
- Swipe right to connect to the device
- Swipe right to configure the device.
- Once the device blinks twice, it means that it has connected to the Home Wifi you ask to connect; Once the led turns off, it means that it has connected to the Home Wifi, and you are ready to press the Back key to navigate back to the home page
- Tap 'Refresh' to scan the conneted devices (note that you have to connect to same Home Wifi as the device, otherwise it will not work)
- Long press the device in the home page to further configure the device
More details will be added later if I have time. Enjoy!