KY-040 rotary encoder module is an incremental rotary input sensor for Arduino that lets your project detect knob rotation direction, step count, and push-button presses for user interfaces, menu navigation, volume control, and parameter tuning. Based on the popular KY-040 design, it outputs standard quadrature signals and a switch signal that can be read by Arduino, ESP32, Raspberry Pi, and other microcontroller platforms using digital GPIO. Ideal for robotics, home automation panels, test equipment, and prototyping, this encoder module includes demo code to speed up wiring, reading pulses, and adding precise manual control to embedded projects. The header pins ship pre-soldered, so it works out of the box with no soldering required.

KY-040 rotary encoder module is an incremental rotary input sensor for Arduino that lets your project detect knob rotation direction, step count, and push-button presses for user interfaces, menu navigation, volume control, and parameter tuning. Based on the popular KY-040 design, it outputs standard quadrature signals and a switch signal that can be read by Arduino, ESP32, Raspberry Pi, and other microcontroller platforms using digital GPIO. Ideal for robotics, home automation panels, test equipment, and prototyping, this encoder module includes demo code to speed up wiring, reading pulses, and adding precise manual control to embedded projects. The header pins ship pre-soldered, so it works out of the box with no soldering required.
No additional feature info available.
No documents available. Please contact us for more information.
Product Overview
Product Overview
KY-040 rotary encoder module is an incremental rotary input sensor for Arduino that lets your project detect knob rotation direction, step count, and push-button presses for user interfaces, menu navigation, volume control, and parameter tuning. Based on the popular KY-040 design, it outputs standard quadrature signals and a switch signal that can be read by Arduino, ESP32, Raspberry Pi, and other microcontroller platforms using digital GPIO. Ideal for robotics, home automation panels, test equipment, and prototyping, this encoder module includes demo code to speed up wiring, reading pulses, and adding precise manual control to embedded projects. The header pins ship pre-soldered, so it works out of the box with no soldering required.