Encoder

Encoder

Signal Conditioning Application

Encoders are generally used to convert rotary or linear motion to a digital signal. This design is optimized for mouse wheels and volume control in headsets.

 

Ingredients

  • Any GreenPAK
  • No other components are needed

GreenPAK Diagram

Design Steps

  1. Configure pins as digital inputs.
  2. Set CNT3/DLY3 and CNT5/DLY5 to the One shot mode with the desired filter time.
  3. Configure DFFs to detect direction (Up or Down).
  4. Set CNT1/DLY1 and CNT2/DLY2 to the One shot mode with the desired output pulse width.

Resources

GreenPAK Designer files