Generic M274 KY-040 Incremental Rotary Encoder Brick Module - 20 CPR, 5V DC
The M274 KY-040 is an incremental rotary encoder brick module designed for 5V microcontroller systems like Arduino, Raspberry Pi, and ESP32. It provides 20 pulses per revolution (CPR) with quadrature output for precise measurement of shaft rotation angle and direction.
Features
- Incremental encoder with 20 cycles per revolution (CPR) for precise angular measurement.
- Operates on a standard 5V DC supply, compatible with Arduino, Raspberry Pi, and other 5V logic systems.
- Quadrature output (A, B channels) provides both rotation amount and direction data.
- Compact brick-style PCB module with a 6.6mm threaded brass shaft for secure panel mounting.
- Ideal for motor control, menu navigation, and digital potentiometer simulation in DIY and prototyping projects.
Out of stock
The M274 KY-040 rotary encoder is an electromechanical incremental sensor that converts the angular position or motion of a shaft into a series of digital pulses. Its internal mechanism generates two square wave outputs (Channel A and B) in quadrature, allowing a connected microcontroller to determine both the degree of rotation and its direction with high resolution.
Built on a durable PCB with a brass shaft and mounting nut, this module is designed for direct integration into control panels and enclosures. The simple digital interface makes it a reliable choice for adding rotational user input to projects involving motor speed control, parameter adjustment, or positional feedback in mechatronic systems.
Additional Information
| Weight | 0.01 kg |
|---|---|
| Dimensions | 3.2 × 1.9 cm |














