Skip to content

Commit 7e99762

Browse files
committed
Add documentation for calibration of the sensor
1 parent 2ebd31a commit 7e99762

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ For the assembly of your boards there are currently no SMT assembly files suppli
4141
## Case
4242
There is currently a 3D-printable case for the sensor with a screw on lid. In the future there might be other alternatives which require less printing time.
4343

44+
# Software
45+
## Calibration
46+
The minimum (air) and maximum (water) sensor values need to be calibrated. For this, get a glass of water and flash the sensor with `#define CALIBRATION_MODE`. While reading out the log messages of the sensor, note down the sensor values for air and submerged in water. Change `AIR_SENSOR_VALUE` and `WATER_SENSOR_VALUE` accordingly and reflash the sensor while commenting out `#define CALIBRATION_MODE`. Your soil moisture sensor is now ready for operation.
47+
4448
## Future Improvements
4549

4650
Here is a list of possible future improvements that might be worth looking into:

0 commit comments

Comments
 (0)