You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/knowledge/air/temperature_rel_humidity/Sensirion_SHT3X.md
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,3 +26,75 @@ excerpt: "A temperature and humidity sensor that we love! Available in SCK2.X."
26
26
27
27
!!! info "Version"
28
28
This sensor is supported from V2.0 onwards
29
+
30
+
31
+
## Modify temperature and relative humidity offset
32
+
33
+
Starting in firmware `0.9.11`, we have included a command to `control` temperature and relative humidity offsets for [Sensirion SHT3X](/knowledge/air/temperature_rel_humidity/Sensirion_SHT3X/) sensors, present in the [Urban Board](/hardware/boards/urban-board/) or as [an external probe](/knowledge/air/temperature_rel_humidity/Sensirion_SHT3X-weatherproof/), for both the `SHT31` and the `SHT35` type. This feature allows introducing an offset to both variables: temperature and relative humidity. This offset can be used to compensate for heat build-up on the device. Note that this offset is the same for [wi-fi / online](/hardware/kit/features/#wi-fi-mode) or [sd-card / offline](/hardware/kit/features/#sd-card-mode) modes. In addition, a small adjustment is *hardcoded* to compensate for battery charging additional heat up **only on the urban board**.
34
+
35
+
To check available commands (note that you can change `temp` or `hum` for the urban board):
36
+
37
+
```
38
+
SCK > control temp
39
+
Temperature:
40
+
Available commands:
41
+
* cal: [float - clear] Sets temperature offset with respect to current offset or clears it
42
+
```
43
+
44
+
To check the offset currently implemented:
45
+
46
+
```
47
+
SCK > control temp cal
48
+
Current temperature offset: -1.00 (degC)
49
+
```
50
+
51
+
```
52
+
SCK > control hum cal
53
+
Current humidity offset: 3.50 (rh)
54
+
```
55
+
56
+
!!! info "Default offsets"
57
+
These offsets are calibrated based on internal tests on each hardware version. You can always modify them to suit your needs, or revert back to the default with `control temp cal clear` or `control hum cal clear`
58
+
59
+
To modify, you can issue the `control temp cal` command followed by a the offset to add in float notation (for instance `-10.0`):
60
+
61
+
Check the calibration and read the current value:
62
+
63
+
```
64
+
SCK > control temp cal
65
+
Temperature: cal
66
+
Current temperature offset: -1.00 (degC)
67
+
SCK > read temp
68
+
Temperature: 25.95 C
69
+
```
70
+
71
+
Set the temperature offset to -10.0 degC. Note that for the previous reading, there was already an offset of `-1.00 degC`, so now the offset will be -11.0 degC:
72
+
73
+
```
74
+
SCK > control temp cal -10.00
75
+
Temperature: cal -10.00
76
+
SCK > control temp cal
77
+
Current temperature offset: -11.00 (degC)
78
+
SCK > read temp
79
+
Temperature: 15.96 C
80
+
```
81
+
82
+
To revert to the previous value:
83
+
84
+
```
85
+
SCK > control temp cal clear
86
+
Set default offset: -1.00 (degC)
87
+
SCK > control temp cal
88
+
Current temperature offset: -1.00 (degC)
89
+
SCK > read temp
90
+
Temperature: 26.09 C
91
+
```
92
+
93
+
As an example, other sensors can be also modified. For instance, for humidity:
0 commit comments