This item has closed 2 buyers bought 3 items
View other items offered by BotShop3161

Similar products

ROTARY SHAFT ENCODER 500P/R 5-24V 38mm 6mm B38S-06G526-L-500-B
New
R902.47
IC 3-STATE ENCODER 16-PIN DIP M45026
New
R4.66
ROTARY SHAFT ENCODER 1000PPR 6K rpm 5-24V DIA=40mm SHAFT=15x6mm E6B2-CWZ6C-1000-NPN-6
New
R1,605.66
ROTARY SHAFT ENCODER 360P/R 5-26V 40mm 6mm E6B2-CWZ6C-360-NPN-6
New
R1,886.76
Rotary Encoder
Sold

Rotary Encoder

New 11 were available
R66.06
Shipping
R65.00 Standard shipping applies to orders under R100.00, in most areas in South Africa. R35.00 Standard shipping applies to orders over R100.00. Some areas may attract a surcharge surcharge. This will be calculated at checkout if applicable.
Check my rate
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
Buyer protection
Get it now, pay later

Product details

Condition
New
Location
South Africa
Product code
MOD-089
Bob Shop ID
593183705

A rotary encoder is an electromechanical device that converts the angular position or motion of a shaft or axle to an analog or digital code. Rotary encoders are usually placed at the side which is perpendicular to the shaft. Rotary encoders act as sensors for detecting angle, speed, length, position and acceleration in the automation field.

The module can count by rotation the pulses output both clockwise and counterclockwise. Different from the potentiometer, the counting is unrestricted. It can be restored to the original state by the button on the module, i.e. counting from 0.

Application

It is widely applied in fields such as steel, harbor machinery, hoisting machinery, pressure machinery, glass machinery, packaging machinery, etc

Example Sketch & Diagram


#define clkPin 2#define dtPin 3#define swPin 4int encoderVal = 0;void setup(){pinMode(clkPin, INPUT);pinMode(dtPin, INPUT);pinMode(swPin, INPUT);digitalWrite(swPin, HIGH);Serial.begin(9600);}void loop(){int change = getEncoderTurn();encoderVal = encoderVal + change;if(digitalRead(swPin) == LOW){encoderVal = 0;}Serial.println(encoderVal);}int getEncoderTurn(void){static int oldA = HIGH;static int oldB = HIGH;int result = 0;int newA = digitalRead(clkPin);int newB = digitalRead(dtPin);if (newA != oldA || newB != oldB){if (oldA == HIGH && newA == LOW){result = (oldB * 2 - 1);}}oldA = newA;oldB = newB;return result;}

Recently viewed

See more
Natal and Transkei Minimap fold open type
Secondhand
R75.00
Circlet Stud 03
New
R50.00
Silver A Practical Guide to Collecting Silverware and Identifying Hallmarks
Secondhand
R550.00
1986-Venda-MNH-Additional value to the definitive issue-Control Block-SACC 138
Secondhand
R0.50