Back to Parent

Approach

I think the color is the most intuitive and simplest information in this case. So I pick the green and red LED lights as my output. I use the "if" function to decide which light should be turned on. 

The voltage that the sensor outputs changes accordingly to the water content in the soil.

When the soil is:

Wet: the output voltage decrease

Dry: the output voltage increases

The output can be a digital signal (D0) LOW or HIGH, depending on the water content. If the soil humidity exceeds a certain predefined threshold value, the modules output LOW, otherwise it outputs HIGH. The threshold value for the digital signal can be adjusted using the potentiometer.

The output can be an analog signal and so you’ll get a value between 0 and 4067.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0