🎛️

Cheap Rotary Encoders

What is an encoder?

TK

Inside an encoder

https://slideplayer.com/slide/15364473/
image
image

TK Need a good image of the top layer

Designed to be cheap

image

2 GND pins

image

Shaft

image

Spring contact method

image

Wiring

image

Signal

Turning

https://lastminuteengineers.com/rotary-encoder-arduino-tutorial/

image
image
image

Pressing

image
image

Noisy output & debouncing

Very cheap encoders output a lot of noise, and thus we need to debounce (remove noise from) them. The Hex-Schmitt Trigger is superior to an RC circuit.

https://en.wikipedia.org/wiki/Schmitt_trigger

RC circuit debouncing

https://slideplayer.com/slide/15364473/

Hex-Schmitt trigger debouncing

https://youtu.be/-xbIXe6EpbU?t=335
74HC14 Hex-Schmitt Trigger Inverter
74HC14 Hex-Schmitt Trigger Inverter
image

Ideas for improving this page

  • Optical encoders
  • How to improve metal encoder designs
  • Why do we need Pullup/Pulldown?

Resources

Notability: Rotary Encoders