Home
last modified time | relevance | path

Searched +full:humidity +full:- +full:sensor (Results 1 – 25 of 50) sorted by relevance

12

/linux/drivers/iio/humidity/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # humidity sensor drivers
5 menu "Humidity sensors"
8 tristate "Aosong AM2315 relative humidity and temperature sensor"
14 relative humidity and ambient temperature sensor.
29 tristate "ENS210 temperature and humidity sensor"
34 humidity and temperature sensors.
40 tristate "TI HDC100x relative humidity and temperature sensor"
47 humidity and temperature sensors.
53 tristate "TI HDC2010 relative humidity and temperature sensor"
[all …]
H A Dhtu21.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * htu21.c - Support for Measurement-Specialties
4 * htu21 temperature & humidity sensor
5 * and humidity part of MS8607 sensor
7 * Copyright (c) 2014 Measurement-Specialties
9 * (7-bit I2C slave address 0x40)
12 * http://www.meas-spec.com/downloads/HTU21D.pdf
14 * http://www.meas-spec.com/downloads/MS8607-02BA01.pdf
44 unsigned int humidity; in htu21_read_raw() local
49 switch (channel->type) { in htu21_read_raw()
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for IIO humidity sensor drivers
6 obj-$(CONFIG_AM2315) += am2315.o
7 obj-$(CONFIG_DHT11) += dht11.o
8 obj-$(CONFIG_ENS210) += ens210.o
9 obj-$(CONFIG_HDC100X) += hdc100x.o
10 obj-$(CONFIG_HDC2010) += hdc2010.o
11 obj-$(CONFIG_HDC3020) += hdc3020.o
12 obj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o
14 hts221-y := hts221_core.o \
[all …]
/linux/Documentation/hwmon/
H A Dsht3x.rst6 * Sensirion SHT3x-DIS
13 - https://sensirion.com/media/documents/213E6A3B/63A5A569/Datasheet_SHT3x_DIS.pdf
14- https://sensirion.com/media/documents/051DF50B/639C8101/Sensirion_Humidity_and_Temperature_Senso…
16 * Sensirion STS3x-DIS
23- https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirion_Temperature_Sensors_STS3x_Data…
24- https://sensirion.com/media/documents/292A335C/65537BAF/Sensirion_Datasheet_STS32_STS33.pdf
28 - David Frey <david.frey@sensirion.com>
29 - Pascal Sachs <pascal.sachs@sensirion.com>
32 -----------
34 This driver implements support for the Sensirion SHT3x-DIS and STS3x-DIS
[all …]
H A Dsht15.rst35 http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf
38 -----------
40 The SHT10, SHT11, SHT15, SHT71, and SHT75 are humidity and temperature
46 bits for humidity, or 12 bits for temperature and 8 bits for humidity.
48 The humidity calibration coefficients are programmed into an OTP memory on the
62 -------------
69 flag to indicate the temp/humidity resolution to use (default to false).
72 ---------------
76 humidity1_input humidity input
77 heater_enable write 1 in this attribute to enable the on-chip heater,
H A Dsysfs-interface.rst5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
6 completely chip-independent. It assumes that all the kernel drivers
10 This is a major improvement compared to lm-sensors 2.
12 Note that motherboards vary widely in the connections to sensor chips.
14 temperature sensor is connected to the CPU, or that the second fan is on
22 For this reason, even if we aim at a chip-independent libsensors, it will
34 find all sensor chips, it is easier to follow the device symlinks from
37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
48 types for sensor chips are "in" (voltage), "temp" (temperature) and
[all …]
H A Daht10.rst1 .. SPDX-License-Identifier: GPL-2.0
27 -----------
29 The AHT10/AHT20 is a Temperature and Humidity sensor
34 ----------------
36 AHT20 has additional CRC8 support which is sent as the last byte of the sensor
40 -----------
45 Documentation/i2c/instantiating-devices.rst for details.
48 -------------
52 humidity1_input Measured humidity in %H
53 update_interval The minimum interval for polling the sensor,
H A Dshtc1.rst41 -----------
44 chips, a humidity and temperature sensor. Temperature is measured in degrees
45 celsius, relative humidity is expressed as a percentage.
48 address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
54 non-blocking mode. Blocking mode will guarantee the fastest result but
55 the I2C bus will be busy during that time. By default, non-blocking mode
56 is used. Make sure clock-stretching works properly on your device if you
61 sysfs-Interface
62 ---------------
65 - temperature input
[all …]
/linux/drivers/hwmon/
H A Dhih6130.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver
9 * Data sheets available (2012-06-22) at
18 #include <linux/hwmon-sysfs.h>
26 * struct hih6130 - HIH-6130 device specific data
32 * @humidity: cached humidity measurement value
41 int humidity; member
46 * hih6130_temp_ticks_to_millicelsius() - convert raw temperature ticks to
48 * @ticks: temperature ticks value received from sensor
55 * Formula T = ( ticks / ( 2^14 - 2 ) ) * 165 -40 in hih6130_temp_ticks_to_millicelsius()
[all …]
H A Dhs3001.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This is a non-complete driver implementation for the
4 * HS3001 humidity and temperature sensor and compatibles. It does not include
6 * during power-up.
10 * Author: Andre Werner <andre.werner@systec-electronic.com>
48 u32 humidity; /* in milli % */ member
56 temp /= (1 << 14) - 1; in hs3001_extract_temperature()
58 return (int)temp - 40 * HS3001_FIXPOINT_ARITH; in hs3001_extract_temperature()
65 return hum / (1 << 14) - 1; in hs3001_extract_humidity()
77 ret = ret < 0 ? ret : -EIO; in hs3001_data_fetch_command()
[all …]
H A Dsht21.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Sensirion SHT21 humidity and temperature sensor driver
14 #include <linux/hwmon-sysfs.h>
29 * struct sht21 - SHT21 device specific data
34 * @humidity: cached humidity measurement value
43 int humidity; member
49 * sht21_temp_ticks_to_millicelsius() - convert raw temperature ticks to
51 * @ticks: temperature ticks value received from sensor
57 * Formula T = -46.85 + 175.72 * ST / 2^16 from data sheet 6.2, in sht21_temp_ticks_to_millicelsius()
60 return ((21965 * ticks) >> 13) - 46850; in sht21_temp_ticks_to_millicelsius()
[all …]
H A Daht10.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * aht10.c - Linux hwmon driver for AHT10/AHT20 Temperature and Humidity sensors
61 * struct aht10_data - All the data required to operate an AHT10/AHT20 chip
76 * @humidity: the latest humidity value received from the
92 int humidity; member
98 * aht10_init() - Initialize an AHT10/AHT20 chip
108 struct i2c_client *client = data->client; in aht10_init()
119 return -ENODATA; in aht10_init()
122 return -EBUSY; in aht10_init()
128 * aht10_polltime_expired() - check if the minimum poll interval has
[all …]
H A Dsht3x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver.
17 #include <linux/hwmon-sysfs.h>
49 /* delays for single-shot mode i2c commands, both in us */
60 #define SHT3X_MIN_TEMPERATURE -45000
159 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT | HWMON_H_MIN |
180 * cached values for temperature and humidity and limits
186 u32 humidity; member
204 return number_of_modes - 1; in get_mode_from_update_interval()
214 mutex_lock(&data->i2c_lock); in sht3x_read_from_command()
[all …]
H A Dshtc1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Sensirion SHTC1 humidity and temperature sensor driver
13 #include <linux/hwmon-sysfs.h>
41 /* delays for non-blocking i2c commands, both in us */
68 int humidity; /* 1000 * relative humidity in %RH */ member
75 int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH); in shtc1_update_values()
77 dev_err(&client->dev, "failed to send command: %d\n", ret); in shtc1_update_values()
78 return ret < 0 ? ret : -EIO; in shtc1_update_values()
87 if (!data->setup.blocking_io) in shtc1_update_values()
88 usleep_range(data->nonblocking_wait_time, in shtc1_update_values()
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Damphenol,chipcap2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ChipCap 2 humidity and temperature iio sensor
10 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
13 Relative humidity and temperature sensor on I2C bus.
16 https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2
21 - const: amphenol,cc2d23
22 - items:
23 - enum:
[all …]
H A Dsensirion,shtc1.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sensirion SHTC1 Humidity and Temperature Sensor IC
10 - Christopher Ruehl chris.ruehl@gtsys.com.hk
13 The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors
14 designed especially for battery-driven high-volume consumer electronics
24 - sensirion,shtc1
25 - sensirion,shtw1
26 - sensirion,shtc3
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-hwmon16 The contents of the label are free-form.
135 this voltage channel is being used for, and user-space
137 user-space.
145 When disabled the sensor read will return -ENODATA.
147 - 1: Enable
148 - 0: Disable
156 - 1: Failed
157 - 0: Ok
262 Only makes sense if the chip supports closed-loop fan speed
272 this fan channel is being used for, and user-space doesn't.
[all …]
H A Dsysfs-bus-iio-chemical-sgp404 Contact: Andreas Klinger <ak@it-klinger.de>
6 Set the temperature. This value is sent to the sensor for
13 Contact: Andreas Klinger <ak@it-klinger.de>
15 Set the relative humidity. This value is sent to the sensor for
16 humidity compensation.
17 Default value: 50000 (50 % relative humidity)
/linux/Documentation/devicetree/bindings/iio/humidity/
H A Dsciosense,ens210.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/humidity/sciosense,ens210.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ScioSense ENS210 temperature and humidity sensor
10 - Joshua Felmeden <jfelmeden@thegoodpenguin.co.uk>
13 Temperature and Humidity sensor.
16 https://www.sciosense.com/wp-content/uploads/2024/04/ENS21x-Datasheet.pdf
17 https://www.sciosense.com/wp-content/uploads/2023/12/ENS210-Datasheet.pdf
22 - items:
[all …]
H A Ddht11.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: DHT11 humidity + temperature sensor
10 - Harald Geyer <harald@ccbib.org>
30 - compatible
31 - gpios
36 - |
37 humidity-sensor {
H A Dst,hts221.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/humidity/st,hts221.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HTS221 STM humidity + temperature sensor
10 - Lorenzo Bianconi <lorenzo@kernel.org>
13 Humidity and temperature sensor with I2C interface and data ready
23 drive-open-drain:
29 vdd-supply: true
35 - compatible
[all …]
/linux/drivers/iio/chemical/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 tristate "Aosong AGS02MA TVOC sensor driver"
14 Organic Compounds) sensor.
29 * pH SM sensor
30 * EC SM sensor
31 * ORP SM sensor
34 module will be called atlas-ph-sensor.
42 * CO2 EZO Sensor
45 module will be called atlas-ezo-sensor.
48 tristate "Bosch Sensortec BME680 sensor driver"
[all …]
/linux/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Measurements Specialties common sensor driver
5 * Copyright (c) 2015 Measurement-Specialties
17 * struct ms_ht_dev - Humidity/Temperature sensor device structure
20 * @res_index: index to selected sensor resolution
29 * struct ms_hw_data - Temperature/Pressure sensor hardware data
31 * @max_res_index: maximum sensor resolution index
39 * struct ms_tp_dev - Temperature/Pressure sensor device structure
44 * @res_index: index to selected sensor resolution
68 u32 *humidity);
H A Dms_sensors_i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2015 Measurement-Specialties
38 * ms_sensors_reset() - Reset function
54 dev_err(&client->dev, "Failed to reset device\n"); in ms_sensors_reset()
64 * ms_sensors_read_prom_word() - PROM word read function
80 dev_err(&client->dev, "Failed to read prom word\n"); in ms_sensors_read_prom_word()
90 * ms_sensors_convert_and_read() - ADC conversion & read function
125 dev_dbg(&client->dev, "ADC raw value : %x\n", be32_to_cpu(buf) >> 8); in ms_sensors_convert_and_read()
130 dev_err(&client->dev, "Unable to make sensor adc conversion\n"); in ms_sensors_convert_and_read()
136 * ms_sensors_crc_valid() - CRC check function
[all …]
/linux/drivers/iio/pressure/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 tristate "Honeywell ABP pressure sensor driver"
20 tristate "ROHM BM1390GLV-Z pressure sensor driver"
26 Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
29 sensor does also provide temperature measurements.
32 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver"
42 an additional humidity sensor channel.
45 will be called bmp280 and you will also get bmp280-i2c for I2C
46 and/or bmp280-spi for SPI support.
61 tristate "ChromeOS EC Barometer Sensor"
[all …]

12