Skip to content

Commit fffe051

Browse files
STTS22H component documentation (#5275)
* Added STTS22H docs. WIP. * fixe trailing spaces * Updates * fix lint issues * Link to component added to Components Overview * AI cleanup * Fix links * Fix image --------- Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
1 parent 499ab17 commit fffe051

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed

content/components/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ Sensors are organized into categories; if a given sensor fits into more than one
416416
"SHTCx","components/sensor/shtcx","shtc3.jpg","Temperature & Humidity",""
417417
"SMT100","components/sensor/smt100","smt100.jpg","Moisture & Temperature",""
418418
"STS3X","components/sensor/sts3x","sts3x.jpg","Temperature",""
419+
"STTS22H","components/sensor/stts22h","stts22h.jpg","Temperature",""
419420
"TC74","components/sensor/tc74","tc74.jpg","Temperature",""
420421
"TEE501","components/sensor/tee501","TEE501.png","Temperature",""
421422
"TE-M3200","components/sensor/tem3200","tem3200.jpg","Temperature & Pressure",""
146 KB
Loading
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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)

static/images/stts22h.jpg

36.3 KB
Loading

0 commit comments

Comments
 (0)