The use of slot-type photoelectric, as long as the non-transparent objects through the slot can trigger the output 5V TTL level. Schmitt trigger to use the trembling pulse, very stable, can be used for small car measuring speed, distance measurement and so on!