XADC project using Verilog

Hello,

I am required to work on this project where to take a sensor reading, and convert that a 16-bit integer using XADC. I am working on Basys3 FPGA board. I need to process that to get a sensible measurement value(like degree Celsius…). I need to include a conversion equation. This equation (an equation which shows a relationship between a voltage reading to soil moisture measurement in this case) is usually found on the manufacturers website. I am working with SparkFun soil moisture sensor and I can’t find that anywhere. I appreciate any help!

Thank you!

The soil moisture sensor sparkfun carries is actually a soil conductivity sensor that measures the conductivity of the soil it’s in. Changing the amount of moisture in the soil will change the conductivity so you can sense how damp the soil is, but because the chemistry of soil and the water you’re using can very quite a bit, the conductivity can too. Because of that, there’s no chart that can tell you X volts = Y percentage moisture.

The best way to determine how damp your soil is would be too measure bone dry soil, then add enough water to have the soil ‘just right’ and let it set for a while so that all the water is distributed evenly in all the soil. Then you would take a second reading and the range between bone dry and just enough will be 0 to 100% scale.