1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_si70xx/README.md
Bas Stottelaar 9e50d09b60 drivers: si70xx: temperature and humidity sensor
This includes the Si7006, Si7013, Si7020 and Si7021 I2C sensors, including a
test application.
2016-02-23 07:32:40 +01:00

548 B

Si70xx Driver Test

Introduction

This test will test if the Si7006/13/20/21 temperature and humidity sensor is working.

Configuration

There are three parameters to configure:

  • TEST_I2C — I2C device to use.
  • TEST_I2C_ADDR — The sensor address (usually 0x80 or 0x81).
  • TEST_PIN_EN — If required, toggle the enable pin via this GPIO pin (see GPIO_PIN macro for your board).

Expected result

The sensor should continuously (every 1 sec) output the humidity and temperature. The precision should be two digits.