The I2C address for the SHT4x sensor is 0x44.
The images on this page show the SHT45 Trinkey, but the SHT41 Trinkey has an identical pinout.
The PrettyPins PDF is available here.
The center of the board is home to the ATSAMD21E18 microcontroller. It is a 32-bit Cortex M0+ processor at 48 MHz with 256KB Flash and 32 KB RAM. The SAMD21 has native USB supported by every OS. It can be used in Arduino or CircuitPython as USB serial console, MIDI, Keyboard/Mouse HID, even a little disk drive for storing Python scripts.
On one end of the SHT4x Trinkey is the USB connector. Plug it into any USB A port on your laptop or computer, NeoPixel-and-sensor-side-up.
The SHT4x is located towards the opposite end of the board from the USB connector, in a thermal-isolation cutout. To interface with this sensor, you'll use I2C. Its address is 0x44.
Connect to it in CircuitPython using board.SCL
for clock and board.SDA
for data or board.I2C()
.
Connect to it in Arduino using 5
for clock (SCL) and 4
for data (SDA).
There are two versions of this Trinkey: one with the SHT41 and another with the SHT45. The SHT45 is slightly more accurate than the SHT41:
- The SHT41 has ±1.8% typical relative humidity accuracy from 25 to 75% and ±0.2 °C typical accuracy from 0 to 75 °C.
- The SHT45 has ±1.0% typical relative humidity accuracy from 25 to 75% and ±0.1 °C typical accuracy from 0 to 75 °C.
Both versions of the sensor use the same drivers in Arduino and CircuitPython.
Towards the end of the board opposite the USB connector is one RGB NeoPixel LED. It is labeled Neo on the board silk. This LED is controllable in CircuitPython using board.NeoPixel
and Arduino using PIN_NEOPIXEL
or 3
.
On the end of the board, opposite the USB connector, is one capacitive touch pad.
You can use it with CircuitPython as board.TOUCH
.
You can use it with Arduino as 1
.
Towards the center of the board, between the microcontroller and the SHT4x sensor, is the reset button.
Tap once to reset the board. Tap twice to enter the bootloader (needed for installing CircuitPython).
Page last edited March 29, 2024
Text editor powered by tinymce.