You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

548 B

Si70xx Driver Test


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


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.