Arduino Encoder Schematic. Ebay and aliexpress listings will often mention arduino in the description and this is a good indicator that one is suitable. Pinout of rotary encoder.
Rgb led ky 016 don t need this can use any leds. Below is the pinout diagram. The circuit is so simple.
They are connected to pins 2 3 and 4 of arduino.
Follow the next step for the code schematic and parts list. A mechanical as opposed to optical quadrature rotary encoder this is the most common kind so don t worry too much if it isn t specified. Pinout of rotary encoder. The a and b inputs should be declared input pullup not input.