The M274 360 Degree Rotary Encoder Sensor Module rotates continuously through 360 degrees, generating 20 pulses per revolution across its CLK (clock/pulse), DT (direction), SW (switch), power, and ground pins, operating from 3.3V to 5V DC. Unlike a simple potentiometer with a fixed rotational endstop, the rotary encoder spins freely and indefinitely in either direction, reporting relative rotation steps rather than an absolute angle position.
The rotary encoder module’s two-phase CLK and DT signals work together to determine rotation direction — by checking which of the two signals changes state first as the shaft turns, the connected microcontroller’s code can distinguish clockwise from counterclockwise rotation, incrementing or decrementing a counter accordingly. The m274 rotary encoder also includes a built-in push-button switch (SW) activated by pressing down on the rotating shaft itself, giving a third input option without needing a separate button component.
the rotary encoder arduino’s 20 CPR (cycles per revolution) is relatively coarse resolution, suited for menu navigation, volume control, and simple selection dials rather than precision angle measurement, where a higher-resolution encoder would be needed. This module is well-suited for learners building rotary menu interfaces and practical knob-based control electronics projects.
Related Product:
- Checkout HC-SR505 Mini PIR Motion Sensor
- Also explore: Tools and Equipment – Soldering, Multimeters
Features:
- Continuous 360° rotation with no fixed mechanical endstop
- CLK/DT two-phase signal determines clockwise/counterclockwise direction
- Built-in push-button switch on shaft for extra input option
- 20 CPR suited for menu navigation and selection dial use
- 3.3V to 5V compatible with Arduino and similar boards
Technical specifications:
| Specification | Details |
|---|---|
| Sensor | Rotary Encoder |
| Model | HW-040 |
| PCB Hole Diameter | 2.75mm |
| Interface | CLK, DT, SW, +, GND |
| Operating Voltage | 3.3V – 5V DC |
| Cycles Per Revolution | 20 Pulses |
| Rotation | 360-Degree Continuous Rotation |
 Applications:
- Rotary Encoder used for Arduino menu navigation dial build
- College project uses rotary encoder module for direction detection demo
- Audio device uses m274 rotary encoder for India volume control knob
- 3D printer uses rotary encoder arduino for parameter selection input
- Smart device uses 360 degree rotary encoder module for scroll input
Package includes:
- 1 x M274 360 Degree Rotary Encoder Sensor Module














Ritika Banerjee –
Reliable store product
Aarohi Joshi –
Great experience overall
Rohan Kulkarni –
On time delivery
Tejas Reddy –
Packed neatly with no hidden charges, and helpful staff provided useful guidance for project integration and module usage
Ishika Chawla –
Precise rotational input and position sensing, making it ideal for arduino projects, menu navigation systems, robotics, and electronics applications
Madhavan Nair –
Suitable for volume controls, motor control interfaces, and user input applications requiring accurate 360-degree rotary position detection.