Introduction
DFRobot 360 degree rotary encoder module is designed based on EC11 rotary encoder button. This module has three signal terminals: terminal A & B is encoder output; terminal C is button signal output. It is very suitable for applications such as volume knob, lighting adjustment. The rotary encoder module comes with XH2.54 bonding pad, easy to be used in prototyping projects, like automotive electronics, multimedia speakers, instrumentation, smart home and other fields.
Specification
- Operating Voltage: 3.3V ~ 5V
- Full Rotation Angle: 360 degrees (no stop point)
- Number of pulse: 20
- Rotation Life: 30000 ± 200 Cycles
- Contact Resistance: ≤ 100mΩ
- Insulation Resistance: 100MΩ or more
- Oscillation: <10ms Press
- Working Temperature: -30 ℃ ~ 80 ℃
- Module Size: 33.8 * 22.4 (mm) /1.3 * 1.1 (inches)
- Weight: 14g
Board Overview
Num | Label | Description |
---|---|---|
1 | VCC | 3.3~5V |
2 | GND | GND |
3 | A | Encoder-phase A |
4 | B | Encoder-phase B |
5 | C | Button |
CW Direction: phase A B signal:
Tutorial
Requirements
- Hardware
- DFRduino UNO (or similar) x 1
- XXX x #
- M-M/F-M/F-F Jumper wires
- Software
- Arduino IDE (Version requirements: V1.6.?), [https://www.arduino.cc/en/software| Click to Download Arduino IDE from Arduino®]
Connection Diagram
Sample Code
Expected Results
- Clockwise Rotation: 1
- Anticlockwise Rotation: -1
- Press the Button: you push button down
FAQ
For any questions, advice or cool ideas to share, please visit the DFRobot Forum.