Lesson plan

Build a rotary phone jukebox lesson plan

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.

3 chapters, 6 lessons, about 5 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Time the pulses of a rotary dial and count them into numbers.
  • The hook switch, the dial tone and an MP3 player on a serial link.
  • A ringing bell and a phone that plays the song you dial.

Materials for the whole unit

  • Arduino Uno R3
  • Buzzer
  • DFPlayer Mini MP3 module
  • Half breadboard
  • Limit switch, lever microswitch
  • Resistor
  • Rotary dial

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 1 h 30 min

Dialing

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

LessonTimeWhat students do
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.50 min
  1. A phone from 1970
  2. Off normal
  3. Break
  4. Make
  5. Ten for zero
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.40 min
  1. Count the breaks
  2. Zero again
  3. A whole number
  4. Read the dial

Materials

  • Arduino Uno R3
  • Buzzer
  • DFPlayer Mini MP3 module
  • Half breadboard
  • Limit switch, lever microswitch
  • Resistor
  • Rotary dial

Check for understanding

Each student finishes "Counting digits" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Read the dial".

Chapter 2. About 1 h 40 min

The phone

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

LessonTimeWhat students do
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.50 min
  1. Off the hook
  2. Dial tone
  3. Hang up
  4. Dialing on hook
  5. Make a call
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.50 min
  1. Twelve songs
  2. Dial a track
  3. What is playing
  4. Busy signal
  5. Hang up the music

Materials

  • Arduino Uno R3
  • Buzzer
  • DFPlayer Mini MP3 module
  • Half breadboard
  • Limit switch, lever microswitch
  • Resistor
  • Rotary dial

Check for understanding

Each student finishes "MP3 tracks" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Hang up the music".

Chapter 3. About 1 h 40 min

The jukebox

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

LessonTimeWhat students do
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.50 min
  1. Call the operator
  2. It rings
  3. Twenty times a second
  4. Answer it
  5. Nobody home
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.50 min
  1. Jukebox ready
  2. Song twelve
  3. Song over
  4. Wrong number
  5. Build your phone

Materials

  • Arduino Uno R3
  • Buzzer
  • DFPlayer Mini MP3 module
  • Half breadboard
  • Limit switch, lever microswitch
  • Resistor
  • Rotary dial

Check for understanding

Each student finishes "Project: dial a song" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Build your phone".

Your class

Teach this unit as a class

Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.