Home Creators Posts Import Register Favorites Logout

Content

Hey folks! As mentioned recently, I'm planning on revisiting a few of my older projects and improving/fixing/updating them, and one of the ones that's caused me (and many of you!) the most grief was my first "Call Me!" project involving an old 1970s rotary telephone.

Last time, I made the deliberate decision to not modify the handset at all, but rather connect the Arduino to the end of the cable that you would normally plug into your wall socket. As it turns out, that was a bad decision. The problem is that you then have to make the Arduino emulate the way in which the public telephony system interfaces with the phone, and this is something that differs (wildly!) between different countries, making the code significantly less portable or useful than I had hoped. What I designed and tested using a UK phone simply didn't work on a US phone, for example.

I then did make another telephony project ("Smooth Operator"), which is a completely fully-featured private branch telephony system - answerphones, mutiple extensions, call waiting etc. etc., but this was a lot more complex to set up, used modern phone handsets, and required a Raspberry Pi controller which I know people are less familiar with, so it didn't totally meet people's needs either.

So, this time around, I've taken a completely different approach - opening the phone up and wiring directly to the various mechanical components - the dial switch, the hook, the earpiece speaker and microphone, and the solenoid that rings the bells. Fortunately, these old phones used screw connectors which mean that all of the hardware modifications required to access these parts are very simple, non-destructive, and completely reversable. I'll show you how I identified the components in my particular handset (a GPO 746), which you should be able to apply to your own handset, whatever make/model/country it was designed to work for, meaning it should be much more portable.

I've also taken the opportunity to upgrade the feature set somewhat - the phone is now capable of simulating both outgoing and incoming calls, the audio files are stored and delivered in higher quality via a dedicated MP3 player module, which allows for thousands of different sound files all mapped to unique telephone numbers, and I've structured the behaviour of the code around a Finite State Machine (FSM), which hopefully makes the behaviour much more explicit and easy to adapt if you'd like to add extra features. 

Even if you're not interested in a telephone prop itself, I'd encourage you to learn about FSMs, as they're a very useful way of thinking out and modelling behaviour of any prop which has a more complex set of behaviours than simply on/off or solved/unsolved states. That behaviour can then be implemented in code using a switch() statement with various case: conditions.

As requested, I've kept the example tutorial here illustrating the core features using an Arduino, but you can also use an ESP8266/ESP32-based board which will provide additional functionality such as triggering a phone call remotely via Wi-Fi/Bluetooth rather than via the external push button demonstrated in the video. 

I'll put up a separate Patreons-only post shortly with all the resources required - please ask if you have any questions!

Files

Arduino-Controlled Rotary Telephone (DIY Escape Room Prop Tutorial)

In this video, I'm going to revisit and redesign an idea from a tutorial I made a few years back - the rotary phone escape room prop. I didn't realise it then, but my last project ended up being quite specific to handsets on the UK telephone network (with assumptions about particular timing patterns, wiring etc.), and so ended up being not as portable as I hoped - apologies to anyone who had difficulties following along from other countries! So, for this project, I'm taking a completely different approach - wiring an Arduino (or ESP8266 / ESP32 or any similar microprocessor) directly to the mechanical components of an original 1970s phone - the rotary dial, the hook switch, the solenoid that rings the bells, and the microphone and earpiece speaker. This should be completely portable between handsets, whatever public telephone network they were designed to be used on. Then, using a DFPlayer Mini MP3 module to handle the audio output, I'll show you how to program completely custom behaviour of the telephone as a Finite State Machine (FSM): you can trigger incoming calls (manually, via a switch in the control room or from control software such as Node-RED/M3/ERM) that makes the telephone ring and, when answered, delivers a specific message to players. Or you could have players dial an outgoing call to any one of thousands of different numbers, of any length, each one mapped to a unique MP3/WAV audio file on the SD card inserted into the DFPlayer. And, you can have the behaviour of those numbers change dynamically during play - to play different messages, or for certain numbers to be engaged or unobtainable at different points in the game, for example. This provides many different opportunities to integrate into an escape room game prop. Since the entire behaviour is running on an Arduino, it's also easy to program in the ability to control any other external hardware - to release a maglock or power any other device via a relay etc. I believe this makes this the most flexible and feature-rich rotary telephone prop tutorial available. Timings --- 00:00:00-00:00:45 Introduction 00:00:44-00:03:35 Demonstration of incoming and outgoing calls 00:03:36-00:06:56 Hardware design decisions 00:06:57-00:15:27 Identifying components of the telephone handset 00:15:28-00:26:11 Wiring the telephone hardware to the Arduino 00:26:12-00:29:28 Using a Finite State Machine (FSM) to model telephone behaviour 00:29:29-01:06:01 Arduino (ESP8266/ESP32) code listing 01:06:02-01:07:07 Wrapup Resources Used --- Rotary Pulse Dial telephone, ~$10 https://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2499334.m570.l1313&_nkw=gpo+746&_sacat=985 DFPlayer Mini MP3 Module, ~$3 https://www.banggood.com/custlink/Kv3yCUiv3A Mini Motor Shield, ~$3 https://www.banggood.com/custlink/v3KdCwGCLA Arduino Nano, ~$2 https://www.banggood.com/custlink/mGGmwdTDmU Code & Wiring Downloads --- If you'd like to support me making more video tutorials explaining how to use tech in escape rooms and other playful settings, please check out my Patreon at https://www.patreon.com/playfultech, where you can also find code downloads, wiring diagrams, and additional resources for this and all my other tech projects.

Comments

Dion Warzon

Do ypu have a link to download the files for this project?

Zacarey Adkerson

I just paid a membership but I can't find the links for the programing like this one

Mark Dilliway

Hi Alastair, I couple of things. Sorry for sounding a bit thick, but a) are the wires connected directly to the components , ie directly to the handset etc (I was linking them direct to the contact board at the back of the phone as a link to the components wires, which is very messy!) and b) your photo inside the phone looks very neat, can I therefore do away with any telephone wires that are not required to help keep things neat and tidy? Needless to say that my first attempt was a complete failure. Is it also possible to see a picture of how the resistors look as I think I’ve got that completely wrong. Thank you so much Alastair (for all you do here). Kindest regards, Mark

Ahmed Alsamei

Hi Alastair, Where can I find the code ?

Cello

Hello Alastair I am delighted with your project. I have an old Swiss phone, but unfortunately the switches here are the other way round. That is: dial switch is open in the initial position, so has no contact. Number switch is closed in the initial position, so it makes contact. Can I still use your project or your code, and what do I have to change to make it work? Best regards Cello

Howie Fuller

Alastair, I was doing some research for a project I was making and came across this video on youtube. I have a rotary phone that want to make an escape room for my class. I would love the original code and wiring diagram. I have looked at the Call Me update but the original was more what I was looking for.

Rosalind DeLuca-Womack

Hello! I was wondering if there was a link to a PDF of step by step written directions and complete materials list. I am using a very old phone and the only functions I need it to do is: pick up handset and hear dial tone, dial a specific number (will be two digit), and if they dial correctly they get a spoken message and if they dial incorrectly they get a busy tone. Thank you!

Rosalind DeLuca-Womack

When I go to the link for the phone wiring it brings up a wiring diagram for a maglock/phone. I need the one for the rotary phone with dialing correct number and getting a voice recording

chrispy67

Hi Alistair, thanks for the great content. Unfortunately I'm a total noob so have been having heaps of issues trying to get just the phone ringer to work. I wanted to use it as a stage prop to ring on stage. I've followed your wiring diagrams and all the notes/video, but so far I've fried 2 DF Players (don't know how, a motor module and an Arduino. Super frustrating (and becoming expensive). Is there a pared down set of notes just to get the ringer working for both US and AU/BI ringtones?

Suzanne Heeg

Hi All: I created a working phone using Alastair’s plans in 2022. I no longer need the phone. I’m happy to send the phone (with electronics) to anyone who will pay the shipping fees. Please let me know if you are interested. I’m happy to establish that the phone works!

Levi Ruiz

Hello All! I'm trying to load this in to my Arduino. I have double-checked and think I have everything connected right. However, when I install the code I get the following error: Compiled: Oct 12 2025, 18:45:47 Initialising software serial interface to DFPlayer.............Failed :( I'm using a US phone, but I've traced everything back and that should all be good. For now I'm just shorting to wires together as my "button". I've tried two different DPMinis with the same result.

Annalise Shippee

I have an old push button phone that I would like to try to use. Do you have any posts on this?

Tehral

mi SD card module is 5V but the other pins have lables like MOSI, MISO, SCK and CS how do I know which goes to which?

Alastair Aitchison

MOSI, MISO, SCK, and CS are pins used by an SPI interface between devices. They are Master-Out Slave-In (i.e. used to send signals from an Arduino to a device). Master-In Slave-Out (i.e. used to send signals back to the Arduino from a slave device), Clock (used to synchronise data packets), and Chip Select (used to select which device is allowed to send data on the network). You'll find these pins used to connect to all sorts of devices - SD card readers, LCD displays, RFID readers etc.. However, in this project, I'm *not* using an SPI interface - I'm using a serial interface to the DFPlayer module, and that requires just two pins - a transmit (Tx) and Receive (Rx).

AmaKakeru Ryuno Hirameki

Great video! I like the FSM approach, so well explained! This is definitely how we'll make our spare replacement of this prop.

Razza

I made it! Super cool.

Thomas Humbert

This is fantastic! I was able to use this and modify it to integrate into Home Assistant + ESPHome. The rotary phone will evenetually become the base for navigating a scavenger hunt/escape room in my home. I will say, beware of knock of dfplayer mini's on Amazon. Read the the reviews! Once I found legitmate dfplayers, This worked wonderfully!

Pue Gonzales

Hi All. Great project! i am struggling to get the ringer work with L298N. essentially it is same controller i think, but solenoids wont engage (it work with 9v or 12v direct supply). Measured voltage supplied through the controller and it pretty much never goes above 1v... any suggestions pls? Thank you, Paul

QuixoticPirateCptn

I'm having the same issue as Jake. I can get the solenoids to barely work where the ring is just a whisper basically. Any suggestions?

QuixoticPirateCptn

Alastair, thank you for the help! I actually did this project back in December using an American made old phone from the 60's but it had a totally different ringer system so I just skipped the function and used it for a puzzle game for my friends kids tonearn their Christmas presents. Recently I got a old phone from the UK on ebay that's the same model as yours to do it the 'right' way this time. I'm using a 12v 2amp DC power source and have the relay A- and A+ connected directly to the red and black wires on the solenoids. I'll try to find a way to post a picture or link one. I'll send a link to a Google drive folder.

adam mager

Hey Alastair. Thanks for putting this project up. I have been plugging away for most of the day on it, and keep runing into the same issue... whatever I dial, i just get a series of 1's in the serial monitor, so I can't define an actual number for the user to dial. I've checked the wiring is correct, and I am fairly sure it is, and played aorund with the logic of the numberSwitch and dialSwitch objects to see how I can increment the pulse and digit arrays, but i'm just not getting past this line of 1's issue... Any thoughts?

adam mager

no joy... couldn't spot where this value is entered in the code...

adam mager

damn it... i did look at those values... i will check that and feed back... not at work this week due to some random plague from the kids... thanks for the help!

Benjamin Lane

Hello Alastair, I've really enjoyed this project and I've managed to get %90 there. It seems, however, that the mini motor module is behaving oddly. I'm using a 5v power supply to power an electromagnet for the ringer, I wire it according to your layout, but the 5v ends up going to both the electromagnet and back to the Arduino. Is that supposed to happen?

Benjamin Lane

In your example, where you have a 12v supply connected to the motor shield (for the solenoid), I have 5v connected. I assumed it would only send power to my electromagnet (which is how I controlling the ringer), however, its also sending power to the Arduino. Essentially powering everything. I don't know how to share a diagram. Email?

Benjamin Lane

I really appreciate your patience with this. Here's a diagram of how I have mine laid out. The quirky thing that's happening is when I plug in the 5v to the motor shield, it also sends power the Arduino. https://imgur.com/a/KEcoRxU

Melanie Callahan

Hi Alastair, do you offer these or a version of these for purchase?