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