The M274 360 Degree Rotary Encoder Sensor Module tracks rotation direction and position using the HW-040 mechanism, outputting 20 pulses per full revolution on the CLK pin. The DT pin indicates direction from phase difference between the two outputs. The rotary encoder runs on 3.3V to 5V DC with a 5-pin CLK DT SW interface.
The rotary encoder module knob also has a push switch on the SW pin activated by pressing down. A non-obvious point is that CLK and DT outputs need software debouncing in your sketch as there is no hardware debounce onboard. At 20 CPR, the m274 rotary encoder suits menu control but not precision angle measurement.
Students and developers use this rotary encoder for arduino project with Arduino IDE or MicroPython. StemVolt provides this sensor with trusted quality, ensuring reliable performance and easy usability.
Related Product:
- Also explore: Tools and Equipment – Soldering, Multimeters
Features:
- Integrated push switch on SW pin activates on knob press for confirm or select actions
- PCB hole diameter of 2.75mm supports standard panel mounting with small screws
- Rotary Encoder Sensor full 360-degree continuous rotation allows infinite scrolling without mechanical end stops
Technical specifications:
| Specification | Details |
|---|---|
| Sensor Type | Rotary encoder |
| Model | HW-040 |
| PCB Hole Diameter (mm) | 2.75 |
| Interface | CLK (Pulse), DT (Direction), SW (Switch), +, GND |
| Operating Voltage | 3.3V to 5V DC |
| Cycles per Revolution (CPR) | 20 pulses |
| Rotation | 360-Degree |
Applications:
- Audio volume control knob uses M274 360 Degree Rotary Encoder Sensor Module to adjust digital potentiometer value
- Manual stepper motor position controller uses 20 CPR output to step motor one pulse per click
- Rotary encoder arduino project in robotics class maps knob rotation to servo arm angle position
Package includes:
- 1 x M274 360 Degree Rotary Encoder Sensor Module














Reviews
Clear filtersThere are no reviews yet.