IoT based Smart Irrigation System using Soil Moisture Sensor and ESP8266 NodeMCU

Paul's picture

Offline

Joined: Oct 12, 2019

Replies: 0
IoT based Smart Irrigation System using Soil Moisture Sensor and ESP8266 NodeMCU
October 12, 2019 - 5:29pm

Dear Circuit Digest team,

In this IoT based Smart Irrigation System using Soil Moisture Sensor and ESP8266 NodeMCU project

# Can you guys suggest a solution to display the status of the motor on the thing speaks? (i.e, either motor turned on / off)

# which IOT protocol we are using in the present project?? MQTT or REST!!

#What all changes we have to do on the code to make the above project an MQTT based one?

 

Awaiting your valuable reply on this team.

Thanks

Jayant's picture

Offline

Joined: May 19, 2015

Replies: 212
Smart irrigation using NodeMCU - update
October 14, 2019 - 10:55am

Since you are manually  turning on/off the motor, the status of the motor is always known. You just have to send the status to thingpseak and update it everytime you have turned on/off the motor.

Currently the project that you have linked does not use MQTT. I dont see why you need it, but if you want to use MQTT then thingspeak also supports MQTT. Check this link

https://blogs.mathworks.com/iot/2017/01/20/use-mqtt-to-send-iot-data-to-thingspeak/

to know how to exchange data with thingspeak uisng MQTT

Guru's picture

Offline

Joined: Nov 12, 2019

Replies: 1
IoT based Smart Irrigation System using Soil Moisture Sensor and
November 12, 2019 - 4:32pm

Dear Circuit Digest team,

Is it possible for me to have the code in python.