🎛️ KY-040 Rotary Encoder Module

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!

18.00

4 in stock

Description

🎛️ KY-040 Rotary Encoder Module – Precise Motion Control for Your Electronics Projects! 🔄

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.


✅ Key Features

  • 🌀 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.


📊 Technical Specifications

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

🧷 Pinout:

  • 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


🚀 Applications

  • 🎚️ 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


⚙️ How It Works

  • 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.


🌟 Why Choose KY-040?

  • 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


📦 Package Includes

  • 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.

Be the first to review “🎛️ KY-040 Rotary Encoder Module”

Your email address will not be published. Required fields are marked *