Skip to content

jerwil/Rotary_Encoder_Arduino

Repository files navigation

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.

About

A simple PCB and "hello world" code for a rotary encoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%