0

STEMMA Soil Sensor Extremely High Readings
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

STEMMA Soil Sensor Extremely High Readings

by nkinoshita on Wed May 12, 2021 10:01 pm

Hi,

I have 5 of the STEMMA soil sensors. I've wired each up as recommended in the guide to my ESP32 Feather board. Each time I run the sample code provided in the seesaw library, I get seemingly extremely high and random capacitive readings (in the range of 30,000-60,000), but normal temperature readings. This behavior persists across all 5 sensors and different sets of wires. I've taken a look at the readings from the I2C bus and it looks like the request for the capacitive reading is made to the sensor, but it is not responding to the request.

Any ideas on what may be wrong?

nkinoshita
 
Posts: 3
Joined: Wed May 12, 2021 9:40 pm

Re: STEMMA Soil Sensor Extremely High Readings

by adafruit_support_mike on Wed May 12, 2021 11:11 pm

Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.

adafruit_support_mike
 
Posts: 62768
Joined: Thu Feb 11, 2010 2:51 pm

Re: STEMMA Soil Sensor Extremely High Readings

by nkinoshita on Wed May 12, 2021 11:48 pm

image.png
image.png (525.28 KiB) Viewed 75 times

Here's my setup - I had to pop off the connector and solder my own wires as I didn't receive enough of the wires in time for my project. I'm also using the latest version of the seesaw library (1.4.3), although I have also tried with older versions of the library with the same result.

nkinoshita
 
Posts: 3
Joined: Wed May 12, 2021 9:40 pm

Re: STEMMA Soil Sensor Extremely High Readings

by nkinoshita on Thu May 13, 2021 7:07 pm

I think I found a fix to the issue - viewtopic.php?f=19&t=162556&start=15#p866689. Using jim_frankfort's code returned normal capacitance values from the sensor. I also left a comment on the seesaw github page for jim's issue, hopefully it will be fixed in the future.

nkinoshita
 
Posts: 3
Joined: Wed May 12, 2021 9:40 pm

Re: STEMMA Soil Sensor Extremely High Readings

by adafruit_support_mike on Thu May 13, 2021 7:54 pm

Glad to hear you have it working. Happy hacking!

adafruit_support_mike
 
Posts: 62768
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.