Usage
AOUT is the IR sensor analog output, the voltage follows IR LED reflection intensity. DOUT only has 0 or 1 state, the changing spot defined by onboard screw. Turn the screw clockwise to bring the gate close to VCC, and turn it counterclockwise to close to GND.
Sample Code
Hardware Connection: Connect the Gray Scale sensor to the Analog1 port of the MATRIX Mini R4.
Result: The Grayscale Sensor value will be shown on the OLED from 0 to 1023. The return value of black is larger and the return value of white is smaller.
Specification
Parameter | Min | Typ | Max | Units |
---|---|---|---|---|
Supply voltage (VCC) | 3 | 3.3 | 5 | V |
Detection range | - | - | 50 | mm |
IR wavelength | - | 940 | - | nm |
Analog output impedance | - | 330 | - | KΩ |
Digital output impedance | - | 10 | - | KΩ |