EasyManua.ls Logo

Adafruit ESP32-S3 - Read an I2 C Sensor

Adafruit ESP32-S3
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 I2Cwith a STEMMA QT cable (no soldering
required)().
©Adafruit Industries Page 244 of 263

Table of Contents

Related product manuals