WEEK 8(FYP 2)

Date:7/9/2020-11/9/2020

Title: NodeMcu with Thingspeak

In order to monitor the device with the web server, first Nodemu will collect and send the data that have been collected from Ultrasonic sensor. Then, the data which is flood level can be display and recorded to Thingspeak web server.


To connect the NodeMcu to the internet, the network credential such as SSID and password of the WiFi network must be enter to coding. Then the ThingSpeak account credential which is channel number, API Key, and Author Key. These were all recorded while setting the ThingSpeak IoT Platform


Obviously, to link NodeMCU to the internet, the WiFi.begin function will be called. WiFi.status() is used to search for active network communication. After a good connection, the NodeMCU IP address will print a message on the Serial Monitor. ThingSpeak.begin function to connect with ThingSpeak by use credentials that have been provided.




No comments:

Post a Comment