https://electropreguntas.com/optointerruptor-con-arduino-como-conectar-y-usar/
Optointerruptor Con Arduino: Cómo Conectar Y Usar.