Timing
fma38
Posts: 42
Hello,
Ok, so, for my motorized panohead, I will have to read quadrature encoders. I plan to use a LS7084, which is a quadrature clock converter, outputing clock and dir. It is also able to divide the clock by 4.
So, I will have to count pulses at about 1.1kHz. Is it possible to do that with a BS2px? Is it fast enough to read pusles and cmpute a pid to drive the motor?
If not, do you know where I can buy a LS7366 (a quadrature encoder counter, with SPI interface)?
Does Parallax plan to make a nice module to read 2 quadrature encoders, with internal counters, with a serial interface? It could be very interesting...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fr
Ok, so, for my motorized panohead, I will have to read quadrature encoders. I plan to use a LS7084, which is a quadrature clock converter, outputing clock and dir. It is also able to divide the clock by 4.
So, I will have to count pulses at about 1.1kHz. Is it possible to do that with a BS2px? Is it fast enough to read pusles and cmpute a pid to drive the motor?
If not, do you know where I can buy a LS7366 (a quadrature encoder counter, with SPI interface)?
Does Parallax plan to make a nice module to read 2 quadrature encoders, with internal counters, with a serial interface? It could be very interesting...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fr
Comments
Are these bursts of 1.1khz with a known time between bursts?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
I will drive the motors with a pololu module, readback the encoder position, compute a pid close-loop, and correct the motor speed if needed, until I reach the requested position.
Hope this is more clear...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fr
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
I think I will have to use dedicated IC to keep track of encoders position (like LS7366). That's why I would like a Parallax or third party module...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fr
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support