Enclosure door state

The CS211 determines the state of the enclosure door using both reflected and ambient light measurements. The following state diagram describes the three different states of the door and events that determine each state.

CS211 door state diagram

As shown in the diagram, if the CS211 is unable to detect enough reflected light when the enclosure door changes from open to closed, the Door State will transition to Unknown (–1). If this occurs, check the installation of the Closedreflective tape A material that reflects light back towards its source. It uses microscopic glass beads or prisms to redirect light, making objects highly visible, especially in low-light conditions. and ensure that there are no obstructions between the CS211 and the inside of the door.

Also, when the CS211 is powered up with the door open, the Door State will initially be Unknown (–1). Once the door is closed with the tape correctly installed, the Door State will transition to Closed (0).