Source: https://mokxi.com/parts/rotarydialer
Updated: 2026-11-16

Part

# Rotary dial

A telephone dial: its pulse contacts open once a step, ten a second, while the off-normal contacts say it is running.

See every part

- 3 pins
- In 1 project

Drawn live by the editor's own code, at the size you see it.

At a glance

## The Rotary dial in brief

What it is, and where it sits on the bench.

The rotary dial is a telephone’s rotary dial with its pulse and off-normal contacts brought out to three wires: GND, DIAL and PULSE. GND is the common of both sets of contacts. DIAL is the off-normal contact, joined to GND while the wheel is off its rest. PULSE is joined to GND at rest and let go once for each pulse. The pulse contacts open once a step, ten a second, so a 1 is one pulse and a 0 is ten. Click a hole to dial that digit; the digit shows in the middle until the wheel is home again. With INPUT_PULLUP on both pins, count how many times PULSE goes high while DIAL is low.

Family

Inputs

Pins

3

Pins

## 3 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

GND

The common of both sets of contacts.

DIAL

The off-normal contacts: joined to GND while the wheel is off its rest.

PULSE

The pulse contacts: joined to GND at rest, let go once for each pulse.

How to use it

## How to read an old telephone’s rotary dial with an Arduino

Three wires: GND to GND, DIAL to pin 2 and PULSE to pin 3, with INPUT_PULLUP on both. While the wheel runs back, the off-normal contacts hold DIAL low, and the pulse contacts open once a step: PULSE goes high once for 1 and ten times for 0, at ten pulses a second. Counting the pulses while DIAL is low, and reading the count when DIAL goes high again, gives the digit.

A real dial’s contacts bounce, so the project’s count only takes a pulse that has stayed high for a few milliseconds. Click the holes of the dial in the simulator, and the Uno builds up the number dialed.

Part pin

Board pin

GND

GND

DIAL

Pin 2

PULSE

Pin 3

The contacts are dry, so any board reads them with pull-ups. The pulses are slow, ten a second, so polling is enough.

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

Counting pulses while DIAL is low

Common errors

## Common Rotary dial errors and fixes

What goes wrong

The fix

The digit is one too high or too low.

Count the pulses only while DIAL is low, and read the count when DIAL goes high again. A 0 is ten pulses.

Extra pulses appear.

A real dial’s contacts bounce. Only take a pulse that has stayed high for a few milliseconds.

Nothing is counted.

Use INPUT_PULLUP on both pins, because both contacts go to GND and the pins read LOW when closed.

Questions

## Questions and answers

### How does a rotary phone dial send a digit?

As pulses: one for 1 up to ten for 0, at ten a second, while the off-normal contacts say the wheel is running.

### What do DIAL and PULSE mean?

DIAL is the off-normal contact, joined to GND while the wheel is off its rest. PULSE is joined to GND at rest and let go once per pulse.

### Why does zero take ten pulses?

The dial sends one pulse per step, so 1 is one and 0, the last hole, is ten.

How it is modeled

## What is true about the Rotary dial, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Modeled

The pulses: one for 1, nine for 9, ten for 0, at the governor's ten a second,
each a 60 ms break and a 40 ms make, the ratio telephone exchanges were built for.

The off-normal contacts close as soon as the wheel leaves its rest and open a
little after the last pulse, so "dialing" is never confused with a gap between
pulses.

### Not modeled

Contact bounce, and the speed a worn governor really runs at. The run from the
finger stop back to the first pulse and from the last pulse to rest are a round
100 ms each.

From Rotary dial, in full.

Projects

## See the Rotary dial in a project

One built-in project uses it. It opens in the editor, already wired.

Boards

## The boards it is shown on

This board has a built-in project with the Rotary dial in it.

- Arduino Uno R3

Keep going

## Keep going

- Arduino digitalRead(): Buttons, HIGH and LOW
- Arduino Button Counter: Count Presses, Not Bounces
- Pushbutton
- Rotary encoder, KY-040

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the Rotary dial

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
