Schematic of Sensor and Encoder checker
LED5
LED4
LED6
LED2
LED1
LED3
R1
Resistance
470 Ω
U1