MIKROE Counter Click carries an LS7366R 32-bit quadrature counter. The top of the board has a pinout for interfacing with incremental encoders. The interface has ENCA and ENCB pins, along with ENCI, which is a programmable index. The A and B pulses fron an encoder are out of phase to each other, ideally by 90º. The LS7366R CMOS counter takes these signals as inputs and decodes them for determining direction and speed. On the other side, Counter Click communicates with the target board microcontroller through the mikroBUS™ SPI interface (CSK, MISO, MOSI), plus enable (CNT EN) and interrupt (LFLAG) pins. The board can use either a 3.3V or a 5V power supply.
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
Based on 1 ratings:
We are transitioning from a pneumatic clamping system to a gear motor system in our product since duty cycle isn’t a limitation. Using this counter on a 100 hz motor with a 9ppr Hall effect encoder lets us read the step count with unit resolution. We also sample 100 ms intervals to get frequency. The frequency drops linearly as we compress into the spring, so we can tell very precisely where we are in both position and force. It is easy to use and does the job. This was my first experience with SPI so it took a bit to get it talking but following the example timing diagrams in the manual for the chip helped me figure out what I was doing wrong.