Adafruit ESP32-S3 Manual page 244

Tft feather
Table of Contents

Advertisement

Read an I2C Sensor
Inter-Integrated Circuit, aka I2C, is a two-wire protocol for connecting sensors and
"devices" to a microcontroller. A large number of sensors, including the ones sold by
Adafruit, use I2C to communicate. 
Typically, using I2C with a microcontroller involves programming. Adafruit IO lets you
configure a microcontroller to read data from an I2C sensor and publish that data to
the internet without writing code.
The WipperSnapper firmware supports a number of I2C sensors,
viewable in list
format
here (). If you do not see the I2C sensor you're attempting to use with
WipperSnapper -
we have a guide on adding a component to Adafruit IO
WipperSnapper
here (). 
The process for adding an I2C component to your board running WipperSnapper is
similar to most sensors. For this section, we're using the
Adafruit
AHT20 (), an
inexpensive sensor that can read ambient temperature and humidity.
Wiring
First, wire up an AHT20 sensor to your board exactly as follows. Here is an example
of the AHT20 wired to a Feather using
I2C with a STEMMA QT cable (no soldering
required) ().
 
©Adafruit Industries
Page 244 of 263

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S3 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF