EasyManua.ls 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 #11 background imageLoading...
Page #11 background image
while True:
# read moisture level through capacitive touch pad
touch = ss.moisture_read()
# read temperature from the temperature sensor
temp = ss.get_temp()
print("temp: " + str(temp) + " moisture: " + str(touch))
time.sleep(1)
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
WipperSnapper Test
What is WipperSnapper
WipperSnapper is a firmware designed to turn any WiFi-capable board into an
Internet-of-Things device without programming a single line of code. WipperSnapper
connects to Adafruit IO(), a webplatform designed (by Adafruit!())
todisplay,respond, andinteractwith your project's data.
Simply load the WipperSnapper firmware onto your board, add credentials, and plug it
into power. Your board will automatically register itself with your Adafruit IO account.
From there, you can addcomponentsto your board such as buttons, switches,
potentiometers, sensors, and more! Components aredynamicallyadded to hardware,
©Adafruit Industries Page 11 of 19
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

Summary

Overview

Pinouts

Arduino Test

Install Adafruit_seesaw library

Steps to install the Adafruit_seesaw library for Arduino IDE.

Python & CircuitPython Test

CircuitPython and Python Wiring

Wiring the soil sensor for CircuitPython and Python environments.

Seesaw Library Installation for Python

Steps to install the seesaw library for CircuitPython and Python.

CircuitPython & Python Usage Example

Example code for reading sensor data using CircuitPython and Python.

WipperSnapper Test

Wiring

Wiring instructions for connecting the soil sensor using WipperSnapper.

Usage

Steps to use the soil sensor with Adafruit IO WipperSnapper.

Downloads

Firmware & Files

Links to download firmware, libraries, CAD files, and 3D models.

Schematic & Fabrication Print

FAQ