Reading a 5-channel IR sensor array
Wire a line sensor array and print digital readings over Serial.
BEGINNER · about 25 minutes
Power the array from 5V and GND shared with your microcontroller.
Connect each channel output to a digital input pin. Keep wire runs short to reduce noise.
Write a small sketch that digitalRead()s each pin and prints a 5-bit pattern to Serial at 9600 baud.
Calibrate on a white sheet with a black line — adjust the module potentiometer until edges are crisp.