
RotaryEncoder
STDRotaryEncoder
License
:Public Domain
Description
This rotary encoder breakout board is a breadboard ready circuit with PCB tho connect a standard rotary controller to your Arduino project. Rotary encoders are often a better choice than a potentiometer because you can get precise readings from it, numerically, as opposed to having to read voltage levels from a POT.
I wrote a library for this circuit. Simply search for the word `SimpleEncoder` in your Arduino IDE to find it, and the README for the library can be found here: https://github.com/EasyG0ing1/SimpleEncoder
When the jumper is set to the ground side, then pushing the button (pressing down on the turn shaft) will connect SW1 to ground. This is ideal when the Arduino pin attached to SW1 is set to INPUT_PULLUP mode (using the pinMode() method),. Alternatively, you can move the jumper over to the OPT side and then connect the OPT pin to whatever you'd like and when you push down on the turn shaft, SW1 will connect to the OPT pin.
This will work with either 5V or 3V arduinos or other microcontrollers.
I've used this in many projects and it works perfectly.
Design Drawing

BOM


Project Members

Comment