Components and supplies
Water Pump
5V Relay Module
Gravity: Analog Capacitive Soil Moisture Sensor - Corrosion Resistant
Arduino MKR WiFi 1010
Apps and platforms
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
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.
ksoderby
10 Followers
•1 Projects
12
3
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!!