,

Rotary Encoder Module (Ky-040) 360 Degrees

Availability:

In stock


– 360-degree continuous rotation detection for accurate position feedback
– High-resolution digital pulse output for precise control
– Built-in push button for extra input functionality
– Easy Arduino compatibility with simple 5-pin wiring (VCC, GND, CLK, DT, SW)
– Low current consumption (max 10mA) and durable construction for long-term use
– Compact dimensions (approx. 23mm x 12mm) ideal for tight project spaces

 180

In stock

Rotary Encoder Module (Ky-040) 360 Degrees

The Rotary Encoder Module Ky-040 is an incremental rotary encoder designed for precise 360-degree position detection. It is ideal for Arduino projects, DIY electronics, robotics, and any application that requires reliable rotation tracking and user input.

Key Features of the Ky-040 Rotary Encoder

  • 360-degree continuous rotation detection with no stopping points
  • High-resolution digital pulse output for accurate counting and direction detection
  • Integrated push button (SW) for additional user input
  • Simple 5-pin interface: VCC, GND, CLK, DT, SW
  • 5V operating voltage and very low current consumption (max 10mA)
  • Durable construction and compact size (approx. 23mm x 12mm)

Technical Specifications

  • Module Type: Incremental Rotary Encoder
  • Pins: 5 (VCC, GND, CLK, DT, SW)
  • Rotation: 360 degrees continuous
  • Operating Voltage: 5V
  • Maximum Current: 10mA
  • Output Type: Digital (pulse signals)
  • Dimensions: Approx. 23mm x 12mm
  • Push Button: Yes (integrated)

Why Use a Rotary Encoder Ky-040?

Rotary encoders provide continuous position feedback unlike potentiometers. The Ky-040 is especially useful where precise angular measurement, rotational counting, or user input via a rotary knob is required. Typical applications include:

  • Volume and menu controls for audio devices
  • Motor position feedback and robotics
  • Control knobs for embedded systems and instrumentation
  • Encoder-based user interfaces for DIY projects and prototypes

Wiring and Arduino Integration

Wiring the Ky-040 to an Arduino is straightforward. Connect VCC to 5V, GND to ground, and the CLK and DT pins to two digital input pins (preferably with interrupt capability). The SW pin serves as a push button input.

  • VCC -> Arduino 5V
  • GND -> Arduino GND
  • CLK (A) -> Digital pin (e.g., D2)
  • DT (B) -> Digital pin (e.g., D3)
  • SW -> Digital pin (e.g., D4) with pull-up

Basic Arduino Example

Use interrupts on CLK or DT for responsive counting. A simple approach is to detect rising edges on CLK and read DT to determine direction. Here is a minimal sketch outline:

  • Attach interrupt on CLK pin
  • On interrupt, read DT: if DT != CLK then increment, else decrement
  • Debounce SW input using software or a small RC filter

Tips for Best Results

  • Use pull-up or pull-down resistors to stabilize CLK and DT signals
  • Filter mechanical bounce in software or with a small RC network
  • Test direction logic when wiring to ensure correct increment/decrement behavior

Ideal Applications

  • Arduino projects and prototypes requiring rotary input
  • DIY electronics projects needing precise control
  • Position detection and rotation-based sensing
  • Volume control, robotic arms, and interactive user systems

Why Buy from Colgroad?

Colgroad offers quality electronic components at competitive prices with reliable delivery across Pakistan. The Ky-040 Rotary Encoder is a practical, easy-to-use solution for both beginners and advanced makers. Purchase now to get fast shipping and dependable customer support.

Get Started Today

Enhance your projects with accurate 360-degree position feedback. Buy the Rotary Encoder Module Ky-040 now from Colgroad.com and start building precise and reliable control systems.

Based on 0 reviews

0.0 overall
0
0
0
0
0

Only logged in customers who have purchased this product may leave a review.

There are no reviews yet.

Vendor Information

  • Store Name: College Road Electronics
  • Vendor: College Road Electronics
  • Address: Microwave Electronics, Basement Azhar Shaheed Plaza, DAV College Road
    Rawalpindi
    Punjab
    46000
  • 3.00 rating from 2 reviews
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare
0
    0
    Your Cart
    Your cart is emptyReturn to Shop
    WhatsApp
    Call