KY-040 Pre-Soldered Rotary Encoder Module for Arduino with Demo Code
SKU AB024
KY-040 rotary encoder module detects knob rotation direction, step count, and push-button input via quadrature digital GPIO for Arduino, ESP32, Raspberry Pi, robotics, home automation, and prototyping.
- Free Ground Shipping U.S. orders $35+
- Ships from USA Domestic fulfillment
- 30-day returns Free defect replacement
- 7-day support Fast email replies
KY-040 Pre-Soldered Rotary Encoder Module for Arduino with Demo CodeNo reviews yet
$6.99
This item
Products related to this item





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.
Questions & answers
Frequently asked questions
Have other questions?
Chat with our US-based team — we usually reply fast.
What's included
Features & Specs
Reference
Documents
Full Product Manual KY-040 Rotary Encoder Module for Arduino with Demo Code | ShillehTek Product Manual In-depth setup guide with wiring, code examples, and troubleshooting.Learn
Related Tutorials
Pro Micro Buttons and Pots: USB MIDI Build
Arduino Nano KY-040 Rotary Encoder: OLED Menu UI
Watch
Related Videos
Verified buyers
Customer Reviews
KY-040 Pre-Soldered Rotary Encoder Module for Arduino with Demo Code


