BH1749: Ambient Light Sensor IC


This sample application sets up the BH1749 color sensor to provide 8-bit measurement data every time a set threshold value (>50) is reached for the RED color channel. It also shows how to enable interrupt every time data is ready, instead of threshold trigging.


  • The following development board:

    • Thingy:91 (PCA20035)

Building and Running

This project outputs sensor data to the console. It requires a BH1749 sensor. It should work with any platform featuring a I2C peripheral interface. It does not work on QEMU. In this example below the PCA20035 board is used.

This sample can be found under samples/sensor/bh1749 in the nRF Connect SDK folder structure.

See Building and programming a sample application for information about how to build and program the application.

Sample Output