/Zephyr-latest/samples/sensor/hts221/ |
D | README.rst | 1 .. 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
|
D | sample.yaml | 2 name: HTS221 Temperature and Humidity Monitor 7 filter: dt_compat_enabled("st,hts221") 11 - hts221 20 sample.sensor.hts221: 23 sample.sensor.hts221.trigger:
|
D | CMakeLists.txt | 5 project(hts221) project
|
/Zephyr-latest/drivers/sensor/st/hts221/ |
D | Kconfig | 4 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
|
D | CMakeLists.txt | 5 zephyr_library_sources(hts221.c)
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,hts221-i2c.yaml | 5 STMicroelectronics HTS221 humidity and temperature sensor on I2C bus 7 compatible: "st,hts221" 9 include: ["i2c-device.yaml", "st,hts221-common.yaml"]
|
D | st,hts221-spi.yaml | 5 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/ |
D | main.c | 28 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/ |
D | main.c | 30 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/ |
D | arduino_nano_33_ble_nrf52840_sense.dts | 25 hts221: hts221@5f { label 26 compatible = "st,hts221";
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a1/ |
D | x_nucleo_iks01a1.overlay | 10 hts221_x_nucleo_iks01a1: hts221@5f { 11 compatible = "st,hts221";
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a1/ |
D | README.rst | 12 - HTS221: Temperature and humidity 52 HTS221: Temperature:29.1 C 53 HTS221: Relative Humidity:46.0%
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 293 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/ |
D | x_nucleo_iks01a2.overlay | 18 hts221_x_nucleo_iks01a2: hts221@5f { 19 compatible = "st,hts221";
|
/Zephyr-latest/boards/croxel/croxel_cx1825/ |
D | croxel_cx1825_nrf52840.dts | 52 dht0 = &hts221; 100 hts221: hts221@5f { label 101 compatible = "st,hts221";
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/ |
D | README.rst | 12 - 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/ |
D | x_nucleo_iks01a3.overlay | 17 hts221_x_nucleo_iks01a3: hts221@5f { 18 compatible = "st,hts221";
|
/Zephyr-latest/samples/boards/st/sensortile_box/ |
D | README.rst | 15 - 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/ |
D | README.rst | 16 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/ |
D | README.rst | 16 - 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/ |
D | main.c | 296 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/ |
D | thingy52_nrf52832.yaml | 14 - hts221
|
/Zephyr-latest/boards/96boards/argonkey/ |
D | 96b_argonkey.yaml | 15 - hts221
|
/Zephyr-latest/samples/sensor/hts221/src/ |
D | main.c | 23 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/ |
D | b_l4s5i_iot01a.yaml | 15 - hts221
|