Sensor Calibration
Soil moisture (SOILCAP-V20)
- Install sensor in pot or field location representative of the area.
- Dry baseline: power sensor, log ADC/reading in air (no contact with soil). Record as
dry_value
. - Saturated baseline: insert sensor in distilled water, record
wet_value
. - Map reading to percent:
moisture% = (reading - dry_value) / (wet_value - dry_value) * 100
. - Choose thresholds (example):
water when < 30%
, stop at> 60%
.
Notes: Soil composition affects readings — calibrate for each soil type and probe depth.
Flow sensor
- Calibrate pulses per liter: run known volume through system, count pulses, compute
pulses_per_liter
.
Temperature & Humidity (BME280)
- Verify with a reference thermometer/hygrometer and adjust software offsets if necessary.
TODO: Add calibration scripts and sample CSV outputs in data/calibration/
.