> > be a good idea. There are also devices from the same manufacturer > > that can change quadrature into up/down pulses streams to use regular > > counters inside the Pi. > > But quadrature has one huge advantage over regular counters, you get both > speed AND direction from every edge that goes by. > > John > > Gene, The small devices take quadrature and change it into pulse/dir or count up and count down signals. So if you have a processor that has 32 bit counters but doesn't have QEI modules those chips can do that for you. Both speed and direction.
For example the PIC32MX795 I've ported my ELS project to doesn't have a QEI module. But does have some counters. From the data sheet overview. Timers/Output Compare/Input Capture • Five General Purpose Timers: - Five 16-bit and up to two 32-bit Timers/Counters • Five Output Compare (OC) modules • Five Input Capture (IC) modules • Real-Time Clock and Calendar (RTCC) module So for a standalone controller that has CAN bus, Ethernet and USB but needs QEI the smaller translation chip is one option. Or alternatively: https://www.microchip.com/wwwproducts/en/PIC32MK1024MCF100 Is PIC32 with up to 4 CAN us channels, 6 QEI, 2 USB but no Ethernet. This device can also do PWM and is designed for closed loop motor control. And it's always possible to add an external Ethernet controller like this one for EtherCAT https://www.microchip.com/wwwproducts/en/LAN9252 or https://www.microchip.com/wwwproducts/en/ENC424J600 for just simple 10/100 Mbps Ethernet. John _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users