Tested on Raspberry Pi 3 Model B V1.2
On Raspi, make sure to enable I2C
To read from multiple sensors, you must change the address for each sensor. See the directions at the bottom of this guide
To verify the addresses of the sensors, run i2cdetect
. For example, if your I2C bus is /dev/i2c-1
, you would run i2cdetect -y 1
.
python3 -m pip install -r seesaw_soil_sensor/requirements.txt
gardnr add metric soil moisture soil-moisture
gardnr add metric soil moisture soil-temp
gardnr add driver soil-sensor seesaw_soil_sensor.driver:SeesawSoilSensor