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.