PIC based rotary encoder demo
Rotary encoders are handy input devices. They allow to input wide range of digital data as well as rotation position info with only single knob and no ADC. Following project simply demonstrates the use of a single rotary encoder which is connected to PIC microcontroller. As output there are 16 LEDs used that indicate the position of knob. LEDs are connected to A6276 16 LED serial driver that is controlled via SPI interface. PIC microcontroller also performs a nice PWM controlled LED fade effects when knob is turned. So this demonstration can be a great decision maker of using this great input part. Continue reading