I2C interface Capacitive Soil Moisture, Temperature . Arduino and Raspberry Pi librariesDesigned by Tinovi in Latvia
3 in 1 I2C Capacitive Soil Moisture, Temperature and EC sensor Arduino and Raspberry Pi client software libraries. Dust and water proof Calibration functions for EC and Dielectric permittivit...Read More…
Arduino and Raspberry Pi client software libraries.
Dust and water proof
Calibration functions for EC and Dielectric permittivity
Low cost and easy to use.
Fairly accurate readings
5V-3V System Level Converter NOT included(picture. No.2)
|Supply voltage (VCC), V||2.5||3.3||3.5|
|Working current（VCC=3.3V）, mA||-||11||14|
|Operating Temperature Range, Celsius||-20||25||60|
Dielectric permittivity (ε) (Temperature corrected) resolution: 0.1ε (avg.Tolerance 5%) and range 1 (air) to 80 (water)
Electrical Conductivity (mS/m) resolution: 0.01 mS/m (avg.Tolerance 20%)
Temperature (°C) resolution: 0.1°C and range: -20 to 60°C (avg.Tolerance 3%)
Degree of water saturation in the soil (%) resolution:0.1% and range: 0 – 100%
Volumetric water content - VWC calculation from Dielectric permittivity ε. VWC = 0.002974 * pow(ε,2) + 0.07424 * ε -1.295;
WARNING!!! 3.3 voltage levels only, more voltage will damage device
Raspberry Pi pin #1 - sensor red (3.3v)
Raspberry Pi pin #3 - sensor green (SDA)
Raspberry Pi pin #5 - sensor white (SCL)
Raspberry Pi pin #9 - sensor black (GND)
Raspberry Pi pin #9 - sensor shield(GND)
see this manual
This sample software demonstrates hot to make command line interface for the sensor. Sensor default I2C address is 0x63.
To get software execute following on Raspberry Pi:
git clone https://github.com/tinovi/i2cRaspberry
chmod 777 *.sh to add permissions for execute
./mk.sh to make demo executable
./read.sh to read data from sensor
./svcs 0x63 addr 0x65 to change default address 0x63 to new I2C address: 0x65
WARNING!!! for SDA and SCL lines use sensor VCC (VCC max 3.6v) voltage levels only. Please use voltage level converter module, connect sensor to B side, 5v arduino to A side (see picture)
Arduiono pin #3V3 - sensor red (3.3v)
Arduiono pin #A4 - sensor green (SDA)
Arduiono pin #A5 - sensor white (SCL)
Arduiono pin #GND - sensor black (GND)
Arduiono pin #GND - sensor shield (GND)
SDA and SCL lines requires pull-up resistors to VCC line (VCC max 3.6v), we recommend to use 1.8K resistors, because of long wiring to i2c sensor.
This sample software demonstrates hot to read data from sensor.
Sensor default I2C address is 0x63.
Download Arduino library from there.
For esp32 please use esp32 git branch of library repo.
|Shipping Rate||Ships From||First item||Additional items|
Latvijas Pasts: Small packet
"Small packet" Shipping is without tracking number and does not have insurance. And if your package gets lost or damaged we are NOT to refund you. Till 2kg packets.
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!