Tag Archives: encoder

Quadrature encoders with the STM32F4

Most commonly, the speed and direction of the motors in a micromouse or other small robot will be read from quadrature encoders connected to the drive train. One of the great things about the STM32F4 processor is that it can … Continue reading

Posted in Hardware, Micromouse, STM32 | Tagged , | 21 Comments

Encoder/Motor trouble

This micromouse thing is a bit tricky. I have not been happy with the accuracy of the results I have been getting with Decimus. Occasionally, a move is significantly shorter, or longer than intended. Looking at the code does not … Continue reading

Posted in Micromouse | Tagged , | Leave a comment

LS7366 quadrature counter

The LS7366 is a 32 bit counter with a direct interface for quadrature signals from incremental encoders. There is also an index channel for marker functions. The interface to the microcontroller is SPI mode 0 making it relatively easy to … Continue reading

Posted in Micromouse | Tagged , , , | 20 Comments