A simple PCB and "hello world" code for a rotary encoder
Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Media
.gitattributes
.gitignore
README.md
Rotary Encoder Mini Board.fzz
Rotary_Encoder_Arduino.ino

README.md

Rotary Encoder with Arduino

A simple PCB design to easily use a rotary encoder with a breadboard.

I've always found it inconvenient to try to fit a rotary encoder on a breadboard and find and use the correct resistors every time. I love rotary encoders, and I have used them in several projects such as The Sleep Sensei, a Valentine's Day gift, and the Theremax.

The Board

The PCB is pseudo two-layer as the rotary encoder is soldered on the top of the board.

Arduino Code

The attached code is a simple "hello world" for the rotary encoder. It will print "Clockwise" or "Counter Clockwise" to the serial monitor for each twist of the knob, and it will adjust the brightness of an LED.