White Line Detection
The BBR Line Board has 10 TEMT6000 ambient light sensors that are connected to the analog inputs of a SAMD21 microcontroller.
The microcontroller is configured as an I2C 'peripheral' that can respond to a 'controller'. When the microcontroller determines that the sensor reading is above (or below) a given calibration value for that sensor, it will trigger the digital line for 100ms.
The board can be put into calibration mode via I2C address writes. A sample program is provided.
Last updated