This document describes a digital explosion-proof reflective beam detector. It integrates the emitting and receiving parts for easy installation and alignment. It has built-in intelligence to judge fire alarms and faults, and can self-diagnose while compensating for factors like dust, movement, and aging components. It can be used for both addressable and conventional systems through electrical addressing or a handheld programmer.