Home
last modified time | relevance | path

Searched full:hts221 (Results 1 – 25 of 79) sorted by relevance

1234

/Zephyr-latest/samples/sensor/hts221/
DREADME.rst1 .. zephyr:code-sample:: hts221
2 :name: HTS221 Temperature and Humidity Monitor
5 Get temperature and humidity data from an HTS221 sensor (polling & trigger mode).
9 This sample periodically reads temperature and humidity from the HTS221
16 This sample uses the HTS221 sensor controlled using the I2C interface.
21 - HTS211: https://www.st.com/en/mems-and-sensors/hts221.html
26 This project outputs sensor data to the console. It requires an HTS221
30 :zephyr-app: samples/sensor/hts221
Dsample.yaml2 name: HTS221 Temperature and Humidity Monitor
7 filter: dt_compat_enabled("st,hts221")
11 - hts221
20 sample.sensor.hts221:
23 sample.sensor.hts221.trigger:
DCMakeLists.txt5 project(hts221) project
/Zephyr-latest/drivers/sensor/st/hts221/
DKconfig4 menuconfig HTS221 config
5 bool "HTS221 temperature and humidity sensor"
14 Enable driver for HTS221 I2C/SPI-based temperature and humidity sensor.
16 if HTS221
65 endif # HTS221
DCMakeLists.txt5 zephyr_library_sources(hts221.c)
/Zephyr-latest/dts/bindings/sensor/
Dst,hts221-i2c.yaml5 STMicroelectronics HTS221 humidity and temperature sensor on I2C bus
7 compatible: "st,hts221"
9 include: ["i2c-device.yaml", "st,hts221-common.yaml"]
Dst,hts221-spi.yaml5 STMicroelectronics HTS221 humidity and temperature sensor on SPI bus
7 compatible: "st,hts221"
9 include: ["spi-device.yaml", "st,hts221-common.yaml"]
/Zephyr-latest/samples/shields/x_nucleo_iks01a1/src/
Dmain.c28 const struct device *const hts221 = DEVICE_DT_GET_ONE(st_hts221); in main() local
37 if (!device_is_ready(hts221)) { in main()
38 printk("%s: device not ready.\n", hts221->name); in main()
64 if (sensor_sample_fetch(hts221) < 0) { in main()
65 printf("HTS221 Sensor sample update error\n"); in main()
85 sensor_channel_get(hts221, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
86 sensor_channel_get(hts221, SENSOR_CHAN_HUMIDITY, &hum); in main()
99 printf("HTS221: Temperature: %.1f C\n", in main()
103 printf("HTS221: Relative Humidity: %.1f%%\n", in main()
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/
Dmain.c30 const struct device *const hts221 = DEVICE_DT_GET_ONE(st_hts221); in main() local
39 if (!device_is_ready(hts221)) { in main()
40 printk("%s: device not ready.\n", hts221->name); in main()
91 if (sensor_sample_fetch(hts221) < 0) { in main()
92 printf("HTS221 Sensor sample update error\n"); in main()
117 sensor_channel_get(hts221, SENSOR_CHAN_AMBIENT_TEMP, &temp1); in main()
118 sensor_channel_get(hts221, SENSOR_CHAN_HUMIDITY, &hum); in main()
134 printf("HTS221: Temperature: %.1f C\n", in main()
138 printf("HTS221: Relative Humidity: %.1f%%\n", in main()
/Zephyr-latest/boards/arduino/nano_33_ble/
Darduino_nano_33_ble_nrf52840_sense.dts25 hts221: hts221@5f { label
26 compatible = "st,hts221";
/Zephyr-latest/boards/shields/x_nucleo_iks01a1/
Dx_nucleo_iks01a1.overlay10 hts221_x_nucleo_iks01a1: hts221@5f {
11 compatible = "st,hts221";
/Zephyr-latest/samples/shields/x_nucleo_iks01a1/
DREADME.rst12 - HTS221: Temperature and humidity
52 HTS221: Temperature:29.1 C
53 HTS221: Relative Humidity:46.0%
/Zephyr-latest/samples/boards/st/sensortile_box/src/
Dmain.c293 const struct device *const hts221 = DEVICE_DT_GET_ONE(st_hts221); in main() local
301 if (!device_is_ready(hts221)) { in main()
302 printk("%s: device not ready.\n", hts221->name); in main()
345 /* handle HTS221 sensor */ in main()
346 if (sensor_sample_fetch(hts221) < 0) { in main()
347 printf("HTS221 Sensor sample update error\n"); in main()
392 sensor_channel_get(hts221, SENSOR_CHAN_HUMIDITY, &hts221_hum); in main()
393 sensor_channel_get(hts221, SENSOR_CHAN_AMBIENT_TEMP, &hts221_temp); in main()
410 /* HTS221 temperature */ in main()
411 printf("HTS221: Temperature: %.1f C\n", in main()
[all …]
/Zephyr-latest/boards/shields/x_nucleo_iks01a2/
Dx_nucleo_iks01a2.overlay18 hts221_x_nucleo_iks01a2: hts221@5f {
19 compatible = "st,hts221";
/Zephyr-latest/boards/croxel/croxel_cx1825/
Dcroxel_cx1825_nrf52840.dts52 dht0 = &hts221;
100 hts221: hts221@5f { label
101 compatible = "st,hts221";
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/
DREADME.rst12 - HTS221: Ambient temperature and relative humidity
56 HTS221: Temperature: 26.3 C
57 HTS221: Relative Humidity: 44.5%
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/
Dx_nucleo_iks01a3.overlay17 hts221_x_nucleo_iks01a3: hts221@5f {
18 compatible = "st,hts221";
/Zephyr-latest/samples/boards/st/sensortile_box/
DREADME.rst15 - HTS221: ambient temperature and relative humidity
65 HTS221: Temperature: 26.4 C
66 HTS221: Relative Humidity: 60.5%
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/
DREADME.rst16 among LPS22HH, HTS221 and LIS2MDL (default is LIS2MDL + LPS22HH).
25 Optionally HTS221 can substitute one between LIS2MDL and LPS22HH
27 - LSM6DSO (from HTS221): ambient temperature and relative humidity
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/
DREADME.rst16 - HTS221: ambient temperature and relative humidity
76 HTS221: Temperature: 27.5 C
77 HTS221: Relative Humidity: 27.0%
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c296 const struct device *const hts221 = DEVICE_DT_GET_ONE(st_hts221); in main() local
308 if (!device_is_ready(hts221)) { in main()
309 printk("%s: device not ready.\n", hts221->name); in main()
351 if (sensor_sample_fetch(hts221) < 0) { in main()
352 printf("HTS221 Sensor sample update error\n"); in main()
396 sensor_channel_get(hts221, SENSOR_CHAN_AMBIENT_TEMP, &temp1); in main()
397 sensor_channel_get(hts221, SENSOR_CHAN_HUMIDITY, &hum); in main()
424 printf("HTS221: Temperature: %.1f C\n", in main()
428 printf("HTS221: Relative Humidity: %.1f%%\n", in main()
/Zephyr-latest/boards/nordic/thingy52/
Dthingy52_nrf52832.yaml14 - hts221
/Zephyr-latest/boards/96boards/argonkey/
D96b_argonkey.yaml15 - hts221
/Zephyr-latest/samples/sensor/hts221/src/
Dmain.c23 printf("Cannot read HTS221 temperature channel\n"); in process_sample()
28 printf("Cannot read HTS221 humidity channel\n"); in process_sample()
/Zephyr-latest/boards/st/b_l4s5i_iot01a/
Db_l4s5i_iot01a.yaml15 - hts221

1234