dektronics / printalyzer-densitometer

Reflection and Transmission Densitometer for Photographic Darkroom Use
19 stars 4 forks source link

Connect interrupt pin on light sensor #1

Closed dkonigsberg closed 2 years ago

dkonigsberg commented 3 years ago

The TSL2591 light sensor has an interrupt pin that is currently unconnected. The reason it is unconnected is that when the hardware was being designed, it didn't appear as though the sensor's interrupt feature would be useful for our use cases.

As a result of learning more about how to effectively use the sensor, it now seems as though the interrupt feature is useful. It can be used as a way of synchronizing code to the ADC integration cycles of the sensor. (Without the interrupt pin, this can only be done via I2C polling of a status register.)

So in the next hardware revision, the INT pin should be connected to the MCU.

dkonigsberg commented 2 years ago

Implemented on main board rev B.