How To Use The Pushbutton Rotary Encoder
by Jack Botner

Learning how using a pushbutton rotary encoder can help you design and build better, more user-friendly microcontroller projects.

I was bitten by the microcontroller bug a number of years ago and enjoyed building a variety of gadgets that use them. One of the tedious aspects of gadget building is the buttons and switches that make up the input controls. When I discovered the pushbutton rotary encoder, I realized that one control could replace many, simplifying the design, construction, and programming.

This article will introduce you to the Greyhill 62P22-L4 pushbutton rotary encoder1. I will describe what it is, how it works, and how to integrate it into your project. A demonstration will be presented using a PIC16F84A2, along with the project code written in C.