con sensor optico https://www.forosdeelectronica.com/f23/consulta-circuito-sensor-cny70-funciona-59672/