10pcs IR Infrared Slotted Optical Speed Measuring Sensor Detection Optocoupler
10pcs IR Infrared Slotted Optical Speed Measuring Sensor Detection Optocoupler
X10pcs Infrared Slotted Optical Speed Measuring Sensor Detection Optocoupler Module The slot type photoelectric sensor is composed of an infrared light emitting diode and an NPN phototransistor with a groove width of 5.9 mm. As long as the non-transparent object passes through the slot type, it can be triggered (used with the shop's car code wheel) to output TTL low level. The Schmitt trigger is used to shake the pulse, which is very stable and can be used for measuring the speed of the car, measuring the distance and the like! M3 screw mounting holes at both ends.Specifications: Working voltage: 3.3V-5V Output form: digital switch OUT output (0 and 1) When VCC and GND are connected, the module signal indicator will be on. When there is no block in the module slot, the receiving tube is turned on, and the module OUT outputs high level. When blocking, the OUT output is low and the signal indicator is off. The module OUT can be connected to the relay to form a limit switch and other functions, and can also be connected to the active buzzer module to form an alarm. The OUT output interface can be directly connected to the IO port of the MCU. Generally, it is connected to an external interrupt to detect whether the sensor has a occlusion. For example, the motor code wheel can detect the motor speed.Packet Contains:10pcs x IR Infrared Slotted Optical Speed Measuring Sensor Detection Optocoupler Module
Product Features
- IR OPTIAL SPEEDInfrared Slotted Optical Speed Measuring Sensor Detection Optocoupler Module. The slot type photoelectric sensor is composed of an infrared light emitting diode and an NPN phototransistor with a groove width of 5.9 mm. As long as the non-transparent object passes through the slot type, it can be triggered (used with the shop's car code wheel) to output TTL low level.
- SpecificationsWorking voltage: 3.3V-5VOutput form: digital switch OUT output (0 and 1)When VCC and GND are connected, the module signal indicator will be on. When blocking, the OUT output is low and the signal indicator is off. The module OUT can be connected to the relay to form a limit switch and other functions, and can also be connected to the active buzzer module to form an alarm.
- ProgrammingThe OUT output interface can be directly connected to the IO port of the MCU. Generally, it is connected to an external interrupt to detect whether the sensor has a occlusion. For example, the motor code wheel can detect the motor speed. The OUT port of the speed measuring module is linked to the external interrupt port of the MCU. Whenever there is infrared ray conduction, it is an external buffer.
- MeasuringMeasuring distance:The speed sensor output is a pulse signal, one pulse is interrupted once; the infrared ray is low when it is turned on, so we set the interrupt to the low level touch mode. Measuring speed:According to the idea of measuring distance, we use an MCU timer to calculate how many external interrupts are received in one second.
- PrecautionsCorrect wiring! Do not reverse the positive and negative, so that the board electronics burn out. Arduino players should set the MCU's I/O port to input mode/receive mode, otherwise they will not be available. Other MCUs, or more advanced control boards, must be set to input mode/receive mode if the I/O port needs to be set to input/output mode, otherwise it cannot be used. The 51 series MCU can be used directly without setting the input/output mode.