Reference: RBD-2080
Banner

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.Featured By RoboticsBD.
Product Images are shown for illustrative purposes only and may differ from the actual product.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
#include <TimerOne.h>
unsigned int counter=0;
void blink()
{
counter++;
}
void timerIsr()
{
Timer1.detachInterrupt(); //disable the timer1
Serial.print("The speed of the motor: ");
Serial.print(counter,DEC);
Serial.println("round/s");
counter=0;
Timer1.attachInterrupt( timerIsr ); //enable the timer1
}
void setup()
{
Serial.begin(9600);
Timer1.initialize(1000000); // set a timer of length 1sec
attachInterrupt(0, blink, RISING); //INT0
Timer1.attachInterrupt( timerIsr ); // attach the service routine here
}
void loop()
{
; //do nothing
}
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
| General Specification | |
| Operating Voltage (VDC) | 3.3 ~ 5 |
| Shipment Weight | 0.007 kg |
| Shipment Dimensions | 12 × 8 × 2.5 cm |
Please allow 5% measuring deviation due to manual measurement.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
1 x Speed Measuring Sensor Groove Coupler Module For Arduino.
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD RoboticsBD
Specific References
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent
Write your review
Review sent
Your review cannot be sent
Reference: RBD-2080
Reference: RBD-3853
Reference: RBD-1205
Reference: RBD-0411
Reference: RBD-1541
Reference: RBD-0419
We'll slide into your inbox when the product is back in stock.
Reference: RBD-4085
Reference: RBD-2981
Reference: RBD-1208
Reference: RBD-0368
Reference: RBD-0574
Reference: RBD-1366
Reference: RBD-2451
Reference: RBD-0425
Reference: RBD-0492
Reference: RBD-1022
Reference: 0245
Reference: RBD-0376
Reference: RBD-0685
Reference: RBD-0041
Reference: RBD-0022
Reference: RBD-0755
Reference: RBD-0770
Reference: RBD-1724
Reference: RBD-0908
Reference: RBD-0355
Reference: RBD-0041
Reference: RBD-1237
Brand: UNI-T
check_circle
check_circle