SENSIRION STS4x is a 4th generation, high-accuracy, ultra-low-power, Humidity and Temperature digital sensor platform for measuring humidity and temperature at different accuracy classes. The STS4X provides different accuracy classes. The STS4X operates in i2C protocol interface and provides multiple preconfigured i2C addresses and enables the ULTRA-LOW power features. This sensor is suitable for use in instrumentation’s, Indoor Applications, Handheld Devices, and environmental pieces of equipment.
Requirements and Alternatives
- Arduino IDE | PlatformIO
- Test Boards :
- Note: The Diagram below is using ATMEGA328TQFP / ATMEGA4809. (please refer to each MCU’s respective pin-outs & bus configuration)
- Resistors (See below diagram for required value)
- Capacitor(See below diagram for required value)
Wiring Guide
The below diagram is the typical application configuration for STS4X, after reaching the minimal voltage supply and allowing for the maximal power-up time of 1 millisecond the sensor is initialized and ready to read the data out from the i2C communication protocol.
Test Source Code
The test code below will initialize the digital signal and translate into relative humidity and temperature readings.
[crayon-66d3f62e5b4a3879637637/]