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 our 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.
Wiring Specification :
- VCC: The positive 3.3-5 v power supply.
- GND: Connect power negative.
- OUT: Signal output.
- Puzzle interface
- infrared photoelectric sensor
- Working voltage 3.3v-5v
- Output: digital switch output ( 0 and 1 )
Instructions for Use:
- Connect VCC and GND, the module signal indicator will light up.
- When there is no occlusion in the module slot, the receiving tube is turned on, and the module OUT outputs a high level; when occluding, 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. It 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. If the motor code plate is used, the motor speed can be detected.
unsigned int counter=0;
Timer1.detachInterrupt(); //disable the timer1
Serial.print(“The speed of the motor: “);
Timer1.attachInterrupt( timerIsr ); //enable the timer1
Timer1.initialize(1000000); // set a timer of length 1sec
attachInterrupt(0, blink, RISING); //INT0
Timer1.attachInterrupt( timerIsr ); // attach the service routine here
; //do nothing
|Operating Voltage (VDC)||3.3 ~ 5|
|Shipment Weight||0.007 kg|
|Shipment Dimensions||12 × 8 × 2.5 cm|
Package Includes :
1 x Speed Measuring Sensor Groove Coupler Module For Arduino.