|
| 1 | +--- |
| 2 | +description: "Instructions for setting up STTS22H temperature sensor from STMicroelectronics" |
| 3 | +title: "STTS22H Temperature Sensor" |
| 4 | +params: |
| 5 | + seo: |
| 6 | + description: Instructions for setting up STTS22H temperature sensor from STMicroelectronics with ESPHome |
| 7 | + image: stts22h.png |
| 8 | +--- |
| 9 | + |
| 10 | +The `stts22h` sensor platform allows you to use a STTS22H temperature sensor |
| 11 | +([datasheet](https://www.st.com/resource/en/datasheet/stts22h.pdf)) with ESPHome. This is a low-power, |
| 12 | +high-accuracy digital temperature sensor with ±0.5°C accuracy (typical at 25°C) and a temperature range |
| 13 | +from -40°C to +125°C. |
| 14 | + |
| 15 | +The [I²C Bus](/components/i2c) is required to be set up in your configuration for this sensor to work. |
| 16 | + |
| 17 | +{{< img src="stts22h.png" alt="STTS22H Temperature Sensor" |
| 18 | +caption="SparkFun STTS22H Temperature Sensor Breakout Boards" class="align-center" >}} |
| 19 | + |
| 20 | +```yaml |
| 21 | +# Example configuration entry |
| 22 | +sensor: |
| 23 | + - platform: stts22h |
| 24 | + name: "STTS22H Temperature" |
| 25 | + address: 0x3C |
| 26 | + update_interval: 60s |
| 27 | +``` |
| 28 | +
|
| 29 | +## Configuration variables |
| 30 | +
|
| 31 | +- **i2c_id** (*Optional*, [ID](/guides/configuration-types#id)): Manually specify the ID of the |
| 32 | + [I²C Bus](/components/i2c) if you want to use multiple I²C buses. |
| 33 | +
|
| 34 | +- **address** (*Optional*, int): The I²C address of the sensor. Defaults to |
| 35 | + `0x3C`. |
| 36 | + The address is determined by the ADDR pin configuration on the sensor. |
| 37 | + Possible addresses: `0x38`, `0x3C`, `0x3E`, `0x3F`. |
| 38 | + |
| 39 | +- **update_interval** (*Optional*, [Time](/guides/configuration-types#time)): The interval to check |
| 40 | + the sensor. Defaults to `60s`. |
| 41 | + |
| 42 | +- All other options from [Sensor](/components/sensor). |
| 43 | + |
| 44 | +## See Also |
| 45 | + |
| 46 | +- [Sensor Filters](/components/sensor#sensor-filters) |
| 47 | +- [I²C Bus](/components/i2c) |
| 48 | +- [STTS22H Datasheet (PDF)](https://www.st.com/resource/en/datasheet/stts22h.pdf) |
| 49 | +- [STTS22H Product Overview - STMicroelectronics](https://www.st.com/en/mems-and-sensors/stts22h.html) |
0 commit comments