• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/11-Mar-2024-3624

CMakeLists.txtD11-Mar-2024292 127

README.rstD11-Mar-2024899 3525

ens210.overlayD11-Mar-2024233 1512

prj.confD11-Mar-202429 32

sample.yamlD11-Mar-2024226 1110

README.rst

1.. _ens210:
2
3ams ens210 Relative Humidity and Temperature Sensor
4###################################################
5
6Overview
7********
8
9This sample application demonstrates how to use the ams ens210 sensor to
10measure the ambient temperature and relative humidity.
11
12Building and Running
13********************
14
15This sample application uses the sensor connected to the i2c stated in the
16ens210.overlay file.
17Flash the binary to a board of choice with a sensor connected.
18For example build for a nucleo_f446re board:
19
20.. zephyr-app-commands::
21   :zephyr-app: samples/sensor/ens210
22   :board: nucleo_f446re
23   :goals: build flash
24   :compact:
25
26Sample Output
27=============
28
29.. code-block:: console
30
31    device is 0x20001174, name is ENS210
32    Temperature: 28.28881222 C; Humidity: 25.25689737%
33    Temperature: 28.28912472 C; Humidity: 25.25799105%
34    Temperature: 28.28959347 C; Humidity: 25.25760045%
35