Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 25 of 79) sorted by relevance

1234

/samples/sensor/max17262/src/
A Dmain.c22 struct sensor_value voltage, avg_current, temperature; in main() local
29 sensor_channel_get(dev, SENSOR_CHAN_GAUGE_TEMP, &temperature); in main()
35 temperature.val1, temperature.val2); in main()
/samples/sensor/die_temp_polling/
A DREADME.rst2 :name: CPU die temperature polling
5 Get CPU die temperature data from a sensor using polling.
10 This sample periodically reads temperature from the CPU Die
11 temperature sensor and display the results.
31 CPU Die temperature[dietemp]: 22.6 °C
32 CPU Die temperature[dietemp]: 22.8 °C
33 CPU Die temperature[dietemp]: 23.1 °C
A Dsample.yaml2 description: CPU Die temperature polling sample
16 - "CPU Die temperature\\[[A-Za-z0-9_@]+\\]: [1-9][0-9].[0-9] °C"
/samples/bluetooth/peripheral_ht/src/
A Dhts.c84 static double temperature = 20U; in hts_indicate() local
94 temperature++; in hts_indicate()
95 if (temperature == 30U) { in hts_indicate()
96 temperature = 20U; in hts_indicate()
113 temperature = sensor_value_to_double(&temp_value); in hts_indicate()
116 printf("temperature is %gC\n", temperature); in hts_indicate()
118 mantissa = (uint32_t)(temperature * 100); in hts_indicate()
/samples/sensor/adt7420/
A DREADME.rst2 :name: ADT7420 high-accuracy digital I2C temperature sensor
5 Get temperature data from an ADT7420 sensor using polling and window mode.
10 This sample application periodically (1Hz) measures the ambient temperature
15 temperature. As soon as the temperature goes outside the window an
55 [0:00:00.011]: temperature 21.203125 Cel
56 [0:00:01.015]: temperature 21.171875 Cel
57 [0:00:02.019]: temperature 21.171875 Cel
58 [0:00:03.023]: temperature 21.187500 Cel
59 [0:00:04.027]: temperature 21.140625 Cel
/samples/sensor/pressure_polling/src/
A Dmain.c41 struct sensor_value temperature; in main() local
49 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temperature); in main()
53 sensor_value_to_double(&temperature), in main()
/samples/sensor/jc42/
A DREADME.rst5 Get ambient temperature from a JEDEC JC 42.4 compliant temperature sensor (polling & trigger
12 temperature. The result is written to the console.
15 maintains a |plusminus| 2 |deg| C window around the current temperature.
16 When the temperature moves outside the window an alert is given, and the
17 window is moved to center on the new temperature.
22 The sample requires a JEDEC JC 42.4 compliant temperature sensor. The
25 The MCP9808 digital temperature sensor converts temperatures between -20 |deg|
32 The MCP9808, which is a JEDEC JC 42.4 compliant temperature sensor, is
/samples/sensor/thermometer/
A DREADME.rst5 Get ambient temperature data from a temperature sensor and get alerts when temperature drifts
11 This sample application periodically measures the ambient temperature
38 To build for other boards and ambient temperature sensors, enable the sensor
48 If the attached sensor supports alerts when the temperature drifts above or
62 Set temperature lower limit to 25.5°C
63 Set temperature upper limit to 26.5°C
/samples/bluetooth/peripheral_ht/
A DREADME.rst5 Expose a Health Thermometer (HT) GATT Service generating dummy temperature values.
14 die temperature values. On other boards, it will generate dummy temperature
/samples/sensor/grove_temperature/boards/
A Dnrf52dk_nrf52832.overlay9 compatible = "seeed,grove-temperature";
/samples/sensor/lis2dh/src/
A Dmain.c16 struct sensor_value temperature; in fetch_and_display() local
45 rc = sensor_channel_get(sensor, SENSOR_CHAN_DIE_TEMP, &temperature); in fetch_and_display()
49 printf(", t %f\n", sensor_value_to_double(&temperature)); in fetch_and_display()
/samples/sensor/die_temp_polling/socs/
A Desp32c3.overlay6 * Application overlay for creating temperature sensor device instance
A Desp32c3_usb.overlay6 * Application overlay for creating temperature sensor device instance
/samples/sensor/die_temp_polling/boards/
A Desp32c6_devkitc_hpcore.overlay6 * Application overlay for enabling temperature sensor device instance
A Desp32s2_saola.overlay6 * Application overlay for creating temperature sensor device instance
A Desp32s3_devkitm_procpu.overlay6 * Application overlay for enabling temperature sensor device instance
A Dnucleo_h7a3zi_q.overlay6 * Application overlay for creating temperature sensor device instance
/samples/sensor/6dof_motion_drdy/src/
A Dmain.c78 struct sensor_value temperature; in main() local
100 sensor_channel_get(dev, SENSOR_CHAN_DIE_TEMP, &temperature); in main()
105 now_str(), sensor_value_to_double(&temperature), in main()
/samples/sensor/mpu6050/src/
A Dmain.c35 struct sensor_value temperature; in process_mpu6050() local
50 &temperature); in process_mpu6050()
57 sensor_value_to_double(&temperature), in process_mpu6050()
/samples/sensor/dht_polling/
A DREADME.rst2 :name: Generic digital humidity temperature sensor polling
5 Get temperature and humidity data from a DHT sensor (polling mode).
10 This sample application demonstrates how to use digital humidity temperature
16 This sample supports up to 10 humidity/temperature sensors. Each sensor needs to
/samples/sensor/grove_temperature/
A Dsample.yaml12 - temperature
/samples/sensor/tmp108/
A Dsample.yaml14 - "temperature is *.*C"
/samples/drivers/peci/
A DREADME.rst5 Monitor CPU temperature using PECI.
28 temperature retrieval.
/samples/bluetooth/central_ht/
A DREADME.rst5 Connect to a Bluetooth LE health thermometer sensor and read temperature measurements.
12 die temperature readings once connected.
/samples/sensor/max6675/
A DREADME.rst5 Get temperature from a MAX6675 K-thermocouple to digital converter (polling
40 The application will read and print sensor temperature every second. Note that
41 temperature fetch will fail if the K-thermocouple is not connected. This is

Completed in 80 milliseconds

1234