Plant Sensor is used for measuring soil moisture. It uses the soil moisture sensor module on NodeMCU ESP8266. The output is displayed using justgate on HTML5. Data exchange between the sensor and the HTML5 is performed over the Microgear Library. We need to install one Microgear on ESP8266 and another Microgear on HTML5.
Components
Schematic Diagram
NodeMCU pin diagram
Programming
ESP8266 NodeMCU Development Kit
Download Microgear library for esp8266 arduino here
code :
HTML5
Download Microgear library for html5 here
code :
Result
Download Plant Sensor’s source code here
Don’t forget to change your ssid, password, APPID, APPKEY and APPSECRET otherwise you may not connect to NETPIE.