Adafruit ESP32-S3 Manual page 159

Tft feather
Table of Contents

Advertisement

While the examples here will be using the
temperature sensor, the overall process is the same for just about any I2C sensor or
device.
The first thing you'll want to do is get the sensor connected so your board has I2C to
talk to.
Wiring the MCP9808
The MCP9808 comes with a STEMMA QT connector, which makes wiring it up quite
simple and solder-free.
Simply connect the STEMMA QT cable from the STEMMA QT port on your board to th
e STEMMA QT port on the MCP9808.
Find Your Sensor
The first thing you'll want to do after getting the sensor wired up, is make sure it's
wired correctly. You're going to do an I2C scan to see if the board is detected, and if it
is, print out its I2C address.
©Adafruit Industries
STEMMA QT / Qwiic JST SH 4-Pin Cable -
50mm Long
This 4-wire cable is 50mm / 1.9" long and
fitted with JST SH female 4-pin
connectors on both ends. Compared with
the chunkier JST PH these are 1mm pitch
instead of 2mm, but...
https://www.adafruit.com/product/4399
Adafruit
MCP9808 (), a high accuracy
Page 159 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?

Table of Contents

Save PDF