Your cart is currently empty!
Theย KY-040 Rotary Encoder Moduleย tracks rotation and direction with 20 cycles per revolution (CPR) and includes a push-button switch. Perfect for Arduino, Raspberry Pi, and DIY projects, itโs ideal for volume control, motor tuning, and menu navigation. Durable brass shaft, 5V/3.3V compatible, and easy to integrate!
4 in stock
Take control of your next project with the KY-040 Rotary Encoder Moduleโa compact and reliable input device that translates rotational movement into digital signals. Featuring 20 cycles per revolution (CPR) and a built-in push button, this module is perfect for creating interactive menus, adjusting motor speed, navigating user interfaces, and more. Ideal for Arduino, Raspberry Pi, and other microcontroller platforms.
๐ Incremental Rotation Sensing
Detects direction and steps using quadrature (A/B) phase outputโtrack clockwise and counterclockwise movement with precision.
๐ Built-In Push Button
Integrated tactile switch lets you press the shaft to select options or change modes.
๐ฏ High Resolution
Offers 20 pulses per revolution, giving fine control over adjustments.
๐ Easy to Interface
Standard 5-pin header makes it simple to connect to most microcontrollers.
๐ Durable Brass Shaft
Robust construction ensures smooth rotation and long-lasting performance.
โก Compatible with 3.3V & 5V Systems
Works seamlessly with Arduino, ESP32, Raspberry Pi, and other boards.
Parameter | Description |
---|---|
Model | KY-040 |
Type | Incremental Rotary Encoder |
Cycles per Revolution | 20 CPR |
Voltage Range | 0 โ 5V (3.3V/5V logic compatible) |
Switch Life | โฅ 100,000 presses |
Dimensions | 32mm ร 19mm ร 30mm |
Materials | Brass Shaft + PCB |
CLK (A): Phase A output
DT (B): Phase B output
SW: Button switch output (active low)
+ (VCC): Connect to 3.3V or 5V
GND: Ground connection
๐๏ธ Volume & Menu Control: Scroll through settings or adjust audio levels
๐ค Robotics: Monitor wheel rotation or joint angles for precise movement
๐ง Motor Speed Control: Adjust RPM in CNC, laser cutters, or 3D printers
๐น๏ธ DIY Game Controllers: Create knobs, dials, or selectors
โ๏ธ Industrial Interfaces: Navigate through machine UI or control systems
Quadrature Output:
Generates two digital signals (A and B) that allow you to detect rotation direction and count steps.
Clockwise: A leads B
Counterclockwise: B leads A
Push Button Switch:
Shaft press pulls the SW pin LOWโideal for triggering menu selections.
Code Integration:
Use Arduino libraries like Encoder.h
for seamless software decoding.
Plug-and-play with most dev boards
Dual-function: Rotate + Press
Excellent value for budget-conscious makers
Built to last with over 100k cycles of use
1 ร KY-040 Rotary Encoder Module
๐ ๏ธ Add tactile, rotary control to your next project! From adjusting brightness or volume to navigating custom menus, the KY-040 gives you the precision and interaction your build deserves.
๐ Order now and bring your project to life with reliable, responsive control!
Reviews
There are no reviews yet.