Rs. 130 - Out of stock - SKU ABH-SENS-0187 - Brand Generic
A slotted optical speed sensor module with an LM393 comparator. It outputs a clean digital pulse each time an encoder disc slot passes through the 5 mm gap, and is used to measure RPM and wheel speed with Arduino.
Delivery anywhere in Pakistan for a flat Rs. 250 paid in advance, product price Cash on Delivery. 7-Day Checking Warranty.
| Sensor | Slotted optocoupler |
|---|---|
| Slot width | 5 mm |
| Comparator | LM393 |
| Supply voltage | 3.3-5V |
| Output | Digital pulses (D0) |
| Mounting | Fixing hole |
An IR LED shines across a 5 mm slot to a photo-transistor. When a slotted encoder disc spins in the gap, the beam is broken and restored. The LM393 converts that into clean digital pulses your microcontroller can count.
Count pulses for a fixed time using an interrupt, then:
RPM = (pulses / slots on disc) x (60 / seconds counted).
The 20-slot discs supplied with robot car chassis kits work perfectly.
The output can bounce slightly at slot edges. Use a short debounce time in your interrupt code, or add a small capacitor.
Count pulses with an interrupt for one second, divide by the number of disc slots and multiply by 60.
The 20-slot discs supplied with TT motor robot kits fit well.
The signal can bounce at slot edges. Add a short software debounce.