Rotary Encoder Symbol
Definition: The Rotary Encoder symbol represents an electromechanical position-sensing device that converts angular shaft rotation into a digital pulse-train output, depicted as a rectangular block with CLK, DT, and SW signal pins, used in circuit diagrams to indicate quadrature or incremental position feedback for microcontroller-based systems.
Also known as: quadrature encoder, incremental encoder, rotary pulse encoder, EC11 encoder, volume knob encoder.
What the Rotary Encoder symbol means
The Rotary Encoder symbol in a circuit diagram represents a shaft-mounted sensor that generates two 90°-phase-shifted digital pulse trains (CLK and DT) as the shaft rotates, allowing a microcontroller to determine both rotational direction and angular displacement. A third pin (SW) indicates an integrated push-button switch that activates when the shaft is pressed.
In schematics, the rotary encoder symbol communicates that a human-interface knob or position-feedback sensor is present in the circuit. The device is used for menu navigation, motor-speed setting, audio volume control, and any application requiring relative angular position input without absolute position reference.
How to identify the Rotary Encoder symbol
The Rotary Encoder symbol is drawn as a rectangle labelled 'Rotary Encoder' or 'EC11' with three signal pins on the bottom edge: CLK (clock/channel A), DT (data/channel B), and SW (switch). Power pins may be omitted in simplified symbols since many encoder modules are unpowered mechanical contacts. The symbol resembles a generic IC block but is distinguished by the CLK/DT/SW labelling and the absence of VCC/GND power pins on basic mechanical versions.
Function in a circuit
A rotary encoder converts mechanical shaft rotation into a stream of digital pulses. The CLK pin outputs a pulse train; the DT pin outputs the same frequency but phase-shifted by 90° (quadrature). A microcontroller reads both pins: if CLK leads DT the shaft is rotating clockwise; if DT leads CLK the shaft is rotating counter-clockwise. Each complete detent step generates one pulse per channel. The SW pin connects to an internal push-button switch that closes when the knob is pressed, providing a selection or confirm input.
Standards: IEC vs ANSI
| IEC 60617 | IEC 60617 does not define a dedicated symbol for rotary encoders. In IEC practice, the encoder is represented as a functional block with labelled signal terminals per IEC 60617-12 (binary logic elements). |
|---|---|
| ANSI/IEEE 315 | ANSI/IEEE 315 does not specify a rotary encoder symbol. In ANSI practice the encoder is drawn as a rectangular IC-style block with pin labels as defined by the manufacturer's datasheet (e.g., Bourns EC11, Alps EC12). |
| Key difference | No IEC vs ANSI standard symbol difference exists; both practices use a generic rectangular block with labelled pins. Manufacturer datasheets and EDA library conventions define the symbol shape. |
Terminals / pins
| Pin | Name |
|---|---|
| clk | CLK |
| dt | DT |
| sw | SW |
Typical values
Typical pulse-per-revolution (PPR): 12 to 24 detents per revolution for panel-mount encoders (EC11 type); 100–2000 PPR for industrial encoders. Operating voltage: 3.3 V or 5 V logic. Mechanical life: 15,000–30,000 cycles (EC11). Shaft diameter: 6 mm standard.
Where the Rotary Encoder symbol is used
- Menu navigation in microcontroller (Arduino, STM32) user-interface projects — rotating selects menu items, pressing confirms
- Audio volume and tone controls on digital amplifiers and media players
- Stepper and servo motor position feedback in open-loop CNC and 3D-printer axis control
- Industrial panel controls for set-point adjustment on PLCs and VFDs
- Robotics joint-angle sensing for relative position tracking
- Oscilloscope and test-instrument front-panel controls for parameter adjustment
Example
In an Arduino-based menu display project, the Rotary Encoder symbol connects CLK to digital pin D2 (interrupt), DT to D3, and SW to D4 with a 10 kΩ pull-up resistor; the sketch uses rising-edge interrupts on D2 to count pulses and reads D3 to determine rotation direction, scrolling a 16×2 LCD menu up or down with each detent click.
Key facts
- A rotary encoder outputs two quadrature (90°-phase-shifted) digital pulse trains — CLK (channel A) and DT (channel B) — allowing direction and displacement to be decoded by counting phase relationships.
- The SW pin is an independent push-button switch integral to the encoder shaft; it is a separate mechanical contact and requires a pull-up resistor (typically 10 kΩ) to VCC in most circuits.
- Common panel-mount encoders (e.g., Bourns EC11, Alps EC12) produce 12–24 pulses per full revolution with mechanical detents; industrial encoders can produce 100–10,000 PPR.
- Rotary encoders report relative (incremental) position — they have no memory of absolute shaft angle on power-up, unlike absolute encoders which output a unique code per position.
- The standard pin designators are CLK (A channel), DT (B channel), SW (switch), with GND and + (VCC) for module versions that include pull-up resistors and debounce logic on-board.
- Software debouncing or a 100 nF capacitor on each output pin is recommended to filter contact bounce that causes false pulse counts.
- Rotary encoders are designated by the letter ENC or RE on schematics; no IEC or IEEE standard assigns a formal reference designator.
Frequently asked questions
What does the rotary encoder symbol mean in a circuit diagram?
The rotary encoder symbol represents a shaft-mounted sensor that outputs two digital pulse trains (CLK and DT) as the knob is turned, allowing a microcontroller to measure rotation direction and angular displacement. The SW pin represents an integrated push-button activated by pressing the shaft.
What does a rotary encoder symbol look like?
The rotary encoder symbol is drawn as a rectangular block labelled 'Rotary Encoder' with three signal pins — CLK, DT, and SW — typically exiting the bottom or sides. Module versions add VCC and GND pins. The shape is similar to a generic IC block and is distinguished by its CLK/DT/SW pin labels.
What is the difference between CLK and DT on a rotary encoder?
CLK (channel A) and DT (channel B) both output identical pulse frequencies but are phase-shifted by 90°. If CLK pulses before DT, the shaft rotates clockwise; if DT pulses before CLK, the shaft rotates counter-clockwise. A microcontroller reads both pins on each rising edge to determine direction.
How do I use a rotary encoder with Arduino?
Connect CLK to an interrupt-capable digital pin, DT to another digital pin, and SW to a digital input with a 10 kΩ pull-up to 5 V. Read CLK on a rising-edge interrupt and check DT state immediately — if DT is LOW, rotation is clockwise; if DT is HIGH, counter-clockwise. Increment or decrement a counter variable accordingly.
What is the reference designator for a rotary encoder?
Rotary encoders are commonly labelled ENC or RE on schematics. No formal IEC 60617 or IEEE 315 reference designator is assigned; ENC is the most widely used convention in EDA tools such as KiCad and Altium.
What is the difference between a rotary encoder and a potentiometer?
A potentiometer outputs an analog voltage proportional to absolute shaft angle and has a mechanical end stop. A rotary encoder outputs digital pulses for relative rotation with no end stop and can rotate continuously. Encoders require a microcontroller to count pulses; potentiometers connect directly to an analog input.
What standard defines the rotary encoder symbol?
No single IEC 60617 or ANSI/IEEE 315 standard defines a dedicated rotary encoder symbol. EDA tools (KiCad, Altium) and manufacturer reference designs use a rectangular block with CLK, DT, and SW pin labels as the de-facto standard representation.
Place the Rotary Encoder symbol on a wiring diagram or schematic in the free online circuit diagram maker — no download required.