All paths

Build a rotary phone jukebox

Read a rotary dial pulse by pulse, add a hook switch and a DFPlayer, and turn an old phone into a jukebox that rings you back.

Arduino Uno R3Free6 lessons5 h3 chapters1,747 XPMaker · Intermediate+150 XP

0 of 6 done

What you will build

3 projects, built step by step

6 lessons in 3 chapters, about 5 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Counting digits

Count pulses into digits and digits into a number, using the gap between digits as the separator and a three-second pause to finish.

Open it in the simulator
Chapter 2 project

MP3 tracks

Drive a DFPlayer Mini over a serial link: dial a digit to play that track, get a busy signal for one that is not there, and stop the music by hanging up.

Open it in the simulator
Chapter 3 project

Project: dial a song

Run the whole jukebox: one- and two-digit song numbers, the dial tone back when a song ends, busy signals, ring-backs, and a phone of your own.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Dialing

Time the pulses of a rotary dial and count them into numbers.

  1. Open205 XP

    Pulse dialing

    Read a rotary dial the way the telephone exchange did: ten pulses a second, each a 60 ms break and a 40 ms make, timed one by one.

    0 of 5 steps

  2. ProjectLocked348 XP

    Counting digits

    Count pulses into digits and digits into a number, using the gap between digits as the separator and a three-second pause to finish.

    0 of 4 steps

4 questions, graded as you go.
Chapter 2

The phone

The hook switch, the dial tone and an MP3 player on a serial link.

  1. Locked205 XP

    The hook switch

    Add the hook switch: a dial tone when the handset is lifted, dialing ignored on hook, and the call over the moment it is hung up.

    0 of 5 steps

  2. ProjectLocked410 XP

    MP3 tracks

    Drive a DFPlayer Mini over a serial link: dial a digit to play that track, get a busy signal for one that is not there, and stop the music by hanging up.

    0 of 5 steps

4 questions, graded as you go.
Chapter 3

The jukebox

A ringing bell and a phone that plays the song you dial.

  1. Locked205 XP

    Ring sounds

    Make the phone ring back: dial the operator, hang up, and hear a 20 Hz bell in the two-on, four-off cadence until you answer.

    0 of 5 steps

  2. ProjectLocked374 XP

    Project: dial a song

    Run the whole jukebox: one- and two-digit song numbers, the dial tone back when a song ends, busy signals, ring-backs, and a phone of your own.

    0 of 5 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Dialing

  1. Pulse dialingRead a rotary dial the way the telephone exchange did: ten pulses a second, each a 60 ms break and a 40 ms make, timed one by one.
  2. Counting digitsCount pulses into digits and digits into a number, using the gap between digits as the separator and a three-second pause to finish.
Chapter 2

The phone

  1. The hook switchAdd the hook switch: a dial tone when the handset is lifted, dialing ignored on hook, and the call over the moment it is hung up.
  2. MP3 tracksDrive a DFPlayer Mini over a serial link: dial a digit to play that track, get a busy signal for one that is not there, and stop the music by hanging up.
Chapter 3

The jukebox

  1. Ring soundsMake the phone ring back: dial the operator, hang up, and hear a 20 Hz bell in the two-on, four-off cadence until you answer.
  2. Project: dial a songRun the whole jukebox: one- and two-digit song numbers, the dial tone back when a song ends, busy signals, ring-backs, and a phone of your own.
Keep going

The next course on your track

Build a rotary phone jukebox is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a scrolling LED sign

Four chained LED matrices driven bit by bit, your own 5x7 font, smooth scrolling, typed messages, auto brightness and an on-air sign.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a rotary phone jukebox

Is Build a rotary phone jukebox free?

Yes. All 6 lessons of Build a rotary phone jukebox are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a rotary phone jukebox take?

About 5 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Counting digits, MP3 tracks and Project: dial a song.

Where do I start?

With "Pulse dialing", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.