Pages: [1]   Go Down
Author Topic: I can't Understand the quadrature encoders ??  (Read 701 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Iam just biginer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I have try many times to understand how the quadrature encoder work so I can count a speed or steps of dc motor.

can any one Explain how can I use these encoder for count speed ?? 
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I have try many times to understand how the quadrature encoder work so I can count a speed or steps of dc motor.

can any one Explain how can I use these encoder for count speed ?? 

To just measure the speed of a motor one doesn't need to use both A and B signals of a quadrature encoder. Just reading one of the 2 channels and knowing the number of pulses per revolution (from datsheet) one can just measure the counts generated within a specific 'gate' time, in effect you just measure the frequency of just one of the signal inputs to determine motor speed.

Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 17
Iam just biginer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, so you say that if I need to mesure the speed I need to connect one pin. hmmm so since I use the pololu wheel Encoders I don't have the datasheet but all I need is how to use these encoders as speed sensors for my robot (thay will show in a LCD) ?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 626
Posts: 34183
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just time the interval between successive rising or falling edges of the signal.
Take the reciprocal of the time to get the frequency. Divide the result by the number of pulses per revolution to get the final speed.
Logged

Pages: [1]   Go Up
Jump to: