7 years, 9 months ago.

Limitation of the number of instances of QEI library

Nice to meet you, I'm a beginner of researching robotics. I'm trying to control 8 motors at once using Encoder values. Professionally speaking, I'm controlling 8 motors by using PID controller.(position control) but, I faced with some problem that I cannot read 4 encoder values at once... Like,

https://os.mbed.com/forum/mbed/topic/4366/

I faced with same problem with this. I don't know why I cannot use 4 instances of this library...

Basically, the library uses 2 PWM interrupt pins for reading phase A and phase B..

If you know about the problem, please let me know..

The answer told that the number of channel can be a problem. but I cannot understand what is the meaning of channel in here. If you can understand, can you let me know also..?

Best regards,

-Jaehyun Park

Be the first to answer this question.