SHT3x for Arduino
1.
🔽 Install Arduino IDE
Install the Arduino IDE2.
📦 Install the library
Start the Arduino IDE, press the Sketch menu, and then Include Library > Manage Libraries. Search for Microfire_SHT3x and install the library.There are also lots of other SHT3x libraries, any of them will work if you prefer.
3.
🔌 Connections
Module | Controller |
---|---|
GND | ground |
VCC | 3.3 - 5 volt power supply |
SCL | SCL |
SDA | SDA |
4.
🔢 Code
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
5.
➡️ Upload the code
Pick the board and port, then Upload the code.
6.
🔎 View the output
Open the Serial Monitor, measurements should be displayed in the monitor, with updates every
second.