Working on robotics but the same requirements.  I have a high-speed BLDC motor 
and a 1024-count sensor.     Some math…. 10K RPM is (rounding up) 200 revs per 
second or 200,000 pulses per second. And then there are several of these 
encoders.

The solution is to spend $4 on a Raspberry Pi Pico.  The PIO lines can handle a 
million+ pulses per second while tracking the quadrature counting.    It is a 
dual-core microprocessor. I typically use one core for real-time work and the 
other for communications.   You can program it with Arduino IDE or MicroPython. 
  The latter is quite a lot better.   How can it handle so many pluses?   The 
PIO is a hardware state machine and each chip has 8 of them.   

https://www.seeedstudio.com/Raspberry-Pi-Pico-p-4832.html
Raspberry Pi Pico - Raspberry Pi RP2040 chip, beginner-friendly 
microcontroller, small & flexible design, low power consumption
seeedstudio.com






_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to