Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 822 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 822 Bytes

MSP432-Rotary-Optical-Encoder

Demo:

https://youtu.be/wDcu66NudCA

Encoder Operation:

image

Source: Operating principle of the optical incremental encoder - Sang-Hoon Kim.

Operation:

  • When a rising edge of Phase A is detected while phase B is high, negative angle rotation.

  • When a rising edge of Phase A is detected while phase B is low, positive angle rotation.

  • Phase A and B are connected to MSP432 as GPIO input.

Setup:

image

Red LED on left of 7-segment display for encoder angle polarity (ON for negative).

  • CW is positive count direction.
  • CCW is negative count direction.