Pages: [1]   Go Down
 Author Topic: I can't Understand the quadrature encoders ??  (Read 358 times) 0 Members and 1 Guest are viewing this topic.
Offline
Newbie
Karma: 0
Posts: 17
Iam just biginer
 « on: January 16, 2013, 10:30:01 pm » Bigger Smaller 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
Brattain Member
Karma: 279
Posts: 15340
Measurement changes behavior
 « Reply #1 on: January 16, 2013, 10:36:08 pm » Bigger Smaller 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
Newbie
Karma: 0
Posts: 17
Iam just biginer
 « Reply #2 on: January 17, 2013, 08:39:23 pm » Bigger Smaller 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)
Online
Brattain Member
Karma: 278
Posts: 25582
Solder is electric glue
 « Reply #3 on: January 17, 2013, 10:49:41 pm » Bigger Smaller 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