Smart Plant Watering with Arduino IoT Cloud

An automatic plant watering system, that waters your plants at specific intervals, or if the soil is dry.

Apr 3, 2023

24228 views

12 respects

Apache-2.0

Components and supplies

3

Water Pump

3

5V Relay Module

1

Gravity: Analog Capacitive Soil Moisture Sensor - Corrosion Resistant

1

Arduino MKR WiFi 1010

Apps and platforms

1

Arduino IoT Cloud

Project description

Code

Irrigation_System.ino

cpp

Main Sketch

thingProperties.h

cpp

Header file for IoT Cloud, do not edit.

Comments

Only logged in users can leave comments

buz12

8 months ago

Great project and inspiration for my own grow room automation. I am having problems with the sensor part. According to AI Gemini, the online Arduino Editor does not have a map function so the mapping part of the sketch does not seems to function. Also you are mapping 0-1023 to 0-100?? Most of the capacitive Soil Moisture sensors read something like 550 WET and 350 DRY . Instead of using the mapping call I tried a direct formula to no avail with the help of AI eg. int sensorValue = analogRead(soilPin); soilMoistureValue = (sensorValue - 350) * 100 / (550 - 350); soilMoistureValue=percentage; Any insights? Thanks again!!

nirmal_kumar_454

9 months ago

heay circuit is connect in one motor connecting problam

jonel34

a year ago

splendid project there Ksoderby. Coincidentally I am working on a very similar project with the same goal and with the same components. The only difference is i want to display the moisture readings on an LCD screen asisde from on the cloud dashboard. I really like your project. Do keep making more and kudos to you.