Infrared Motor Speed Sensor

New
-+
23 available
R67.14
Shipping
Standard courier shipping from R60
R60 Standard shipping applies to orders under R100, in most areas in South Africa. R30 Standard shipping applies to orders over R100. Some areas may attract a R30 surcharge. This will be calculated at checkout if applicable.
Check my rate
Ready to ship in
The seller has indicated that they will usually have this item ready to ship within 3 business days. Shipping time depends on your delivery address. The most accurate delivery time will be calculated at checkout, but in general, the following shipping times apply:
 
Standard Delivery
Main centres:  1-3 business days
Regional areas: 3-4 business days
Remote areas: 3-5 business days
Get it now, pay later
Seller
Buyer Protection

Product details

Condition
New
Location
South Africa
Product code
SEN-052
Bob Shop ID
614718133

Infrared Motor Speed Sensor.

A small sensor for measuring motor speed or other objects that can pass through the detector's slots. Each time an object blocks the light from passing from one side of the slot to the other, a pulse is produced at the output. The output signal is pre-conditioned using a comparator to provide a clean low or high signal.

Ideal for sensing the speed of your robot. Our robot chassis comes with 2 encoder disks (plastic disks with holes in them) fitted to the robot motors. This module fits over the encoder disk counting the holes in the disk, the number of holes per second detected by this module determines the speed of your motors.

Encoder disks can also be bought separately.

Infrared Motor Speed Sensor Specification:

* Reader opening: 10(h) x 12.5(w) mm
* Supply voltage: 3.3 - 5V
* Output: Low or High
* Dimensions: 23 x 20mm
* Mounting holes 3.2mm, c-c 14mm

Infrared Motor Speed Sensor Code:

/* Connection for Uno or other 328-based platforms:  left wheel encoder (DO) -> Digital pin 2  right wheel encoder (DO) -> Digital pin 3 */
#define LEFT 0 #define RIGHT 1  long coder[2] = {0,0}; int lastSpeed[2] = {0,0}; void setup(){ Serial.begin(9600); attachInterrupt(LEFT, LwheelSpeed, CHANGE); attachInterrupt(RIGHT, RwheelSpeed, CHANGE); }  void loop(){ static unsigned long timer = 0; if(millis() - timer > 100){ Serial.print("Coder value: "); Serial.print(coder[LEFT]); Serial.print("[Left Wheel] "); Serial.print(coder[RIGHT]); Serial.println("[Right Wheel]");  lastSpeed[LEFT] = coder[LEFT]; lastSpeed[RIGHT] = coder[RIGHT]; coder[LEFT] = 0; coder[RIGHT] = 0; timer = millis(); } }  void LwheelSpeed(){ coder[LEFT] ++; }  void RwheelSpeed(){ coder[RIGHT] ++; }

More from this seller

View all
R30 shipping
Maix Bit Kit
R2,909.32
R30 shipping
Non-Contact Liquid Level Sensor 5-12V NPN
R215.13
R30 shipping
Voltage balancer Lead acid Battery Charger
R997.30
R30 shipping
5V 500mA Mini Solar Panel
R285.13
Add to cart

Similar products

R30 shipping
Speed Measuring Sensor Counter Motor Tester Coupler Module
R356
Infrared motion sensor module
R52.86
Miniature SR602 Infrared Sensor Module
R64.80
R30 shipping
Waveshare Infrared Proximity Sensor, Obstacle-Avoiding
R205