Go Down

Topic: Capacitive Soil Moisture Sensor SKU:SEN0193 (Read 119 times) previous topic - next topic

Ballpakoy

I want calculate analog values  from Capacitive Soil Moisture Sensor SKU:SEN0193  to percentage. pls help me. Thank you.





https://www.dfrobot.com/wiki/index.php/Capacitive_Soil_Moisture_Sensor_SKU:SEN0193

pylon

The linked web page has the recipe to get that calculation done. Have you done the measurement in dry air and inside the water? What values did you get? If you insert that in the second test code you get the expected result. Where is the problem?

Wawa

I think OP expects to see a percentage. Not just "Very Wet", "Wet", and "Dry".
Leo..

pylon

Quote
I think OP expects to see a percentage. Not just "Very Wet", "Wet", and "Dry".
The recipe describes how to get the measurement for 100% and for 0%. Dividing the difference by 100 to get the increment for 1 percent shouldn't need that much mathematical knowledge. So I still don't see the problem. Please describe.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy