



















KY-040 Rotary Encoder Module with Push Button Threaded with Nut for Arduino Raspberry Pi ESP32
$4.80 Inc. GST
You save (%)
- Description
- Additional information
- Reviews (0)
Description
🔄 KY-040 Rotary Encoder Module Brick Sensor with Push Button – For Arduino & Raspberry Pi
Overview
Enhance your Arduino or Raspberry Pi projects with the KY-040 Rotary Encoder Module — a compact, high-precision input device for menu navigation, volume control, and motor speed adjustment.
Unlike traditional potentiometers, the KY-040 offers endless 360° rotation in both directions and outputs digital pulses for accurate position tracking.
An integrated push-button switch adds an extra layer of interactivity, making this encoder perfect for user interfaces, robotics, and embedded control panels.
⚙️ Key Features
-
🔹 Full 360° rotation – unlimited turns with precise pulse output
-
🔹 Incremental encoder with two-phase quadrature output (A & B channels)
-
🔹 Built-in momentary push-button for resets or menu selection
-
🔹 20 detents (click positions) per revolution for tactile feedback
-
🔹 Durable PCB module with nut & washer or mounting-hole installation
-
🔹 Operates on 3.3 V – 5 V for full compatibility with Arduino, ESP32, STM32, and Raspberry Pi
-
🔹 Compact, easy-to-mount design with clearly labeled pins
-
🔹 High-quality components ensure smooth, long-lasting operation
📊 Specifications
| Parameter | Description |
|---|---|
| Model | KY-040 Rotary Encoder Module |
| Operating Voltage | 3.3 V – 5 V DC |
| Pulse Count | 20 pulses per revolution |
| Output Type | Two-phase quadrature (A & B channels) |
| Switch Type | Momentary push button (SW pin) |
| Switch Rating | 10 mA @ 12 V DC |
| Pins | CLK (Clock), DT (Data), SW (Switch), + (VCC), GND |
| Dimensions | 31 × 19 × 29 mm |
| Rotation | Infinite 360° CW/CCW |
| Mounting | Nut + washer or PCB holes |
| Material | Metal shaft + ABS knob + FR-4 PCB |
| Compatibility | Arduino, Raspberry Pi, ESP32, STM32, Micro:Bit, DIY electronics |
🧩 Applications
✅ Volume or brightness control
✅ Menu navigation for LCD displays
✅ Motor or servo speed control
✅ CNC machine or robotics interface
✅ Encoder-based position sensing
✅ DIY Arduino & Raspberry Pi input projects
📦 Package Includes
-
1 × KY-040 Rotary Encoder Module
-
1 × Nut and Washer Set
Additional information
| Weight | 20 g |
|---|---|
| Dimensions | 260 × 160 × 20 mm |
Only logged in customers who have purchased this product may leave a review.


































Reviews
There are no reviews yet.