I have created a Soil Moisture Monitoring system, Nowdays summer has extended and In these days plant needs more water we don't know when they will want water.so, I have decided to make this system by using this we will get message and we can give them water when they want. If anyone tries to cut them then we will suddenly get message.
This way he can keep track of the Moisture of the Soil and also if anybody tries to hurt his plants.
Setting up the soil Moisture SensorSoil Moisture Sensor or Hygrometer is usually used to detect the humidity of the soil. It is also perfect to to build an Automatic Watering System.
Sensor consists of 2 pieces:
- Electronic Board
- Probe with 2 pads
Sensor has built in potentiometer for sensitivity adjustment.
Voltage of the sensor output changes to the content of water in soil.
WET: Output Voltage decreases.
DRY: Output Voltage increases.
Polynomial Regression ChartWhen the Soil has Moisture level increased then we receive a lower Analog Value from the Sensor.
When the Soil has Moisture level decreased then we receive a higher Analog Value from the Sensor.
And since we have to map the moisture level in percentage then, we will divide by 1024 and then multiply by 100 to get the percentage but this value is not the final value as we have to detect the moisture and suppose we receive 2 values from the sensor at 2 different times like 35 and 1000 where 35 shows increase in moisture level and 1000 shows decrease in moisture level.
Moisture = (35/1024)*100 = 3.4% moisture......but this is not the correct value so we subtract this value from the total moisture content that is 100%........So no we get 100-3.4 = 96.6% mg/L.......which shows a more appropriate value for the Moisture.
Now, we do same for 1000 value to verify our result.
Moisture = (1000/1024)*100 = 97%.........Moisture = 100-97 = 3% mg/L
Working of the ProjectThe projects works fine and the Output from the program will sort of look like this:
When I accidentally removed the moisture sensor from soil a SMS prompt is sent.










Comments