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. SetCNT3/DLY3andCNT5/DLY5to theOne shotmode with the desired filter time.
  3. Configure DFFs to detect direction (Up or Down).
  4. SetCNT1/DLY1andCNT2/DLY2to theOne shotmode with the desired output pulse width.

Resources

GreenPAK Designer files