EasyManuals Logo

Adafruit Industries STEMMA I2C User Manual

Default Icon
19 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #8 background imageLoading...
Page #8 background image
Open up the serial console at 115200 baud to see the temperature and capacitive
reading
Try touching the body of the sensor to make the 'moisture' measurement go up. In
soil, you'll see this range from about 300 to 500, but make sure to test it by placing in
a pot of soil and looking at the serial console to get an idea of what the range is. Note
that it does depend on how packed/loose the soil is!
The temperature reading is only on the chip itself. It's not terribly precise but it is
within a few degrees. Good for getting a basic sense of how the temperature is
moving around the house
Python & CircuitPython Test
It's easy to use the seesaw soil sensor with Python or CircuitPython and theAdafruit
CircuitPython seesaw() module.This module allows you to easily write Python code
that reads the moisure/temperature from the sensor.
You can use this sensor with any CircuitPython microcontroller board or with a
computer that has GPIO and Python thanks to Adafruit_Blinka, our CircuitPython-for-
Python compatibility library().
CircuitPython Microcontroller Wiring
First wire up the soil sensor to your board exactly as shown on the previous pages for
Arduino. Here's an example of wiring a Feather M0 to the sensor with I2C:
©Adafruit Industries Page 8 of 19

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit Industries STEMMA I2C and is the answer not in the manual?

Adafruit Industries STEMMA I2C Specifications

General IconGeneral
BrandAdafruit Industries
ModelSTEMMA I2C
CategorySecurity Sensors
LanguageEnglish