Home Creators Posts Import Register Favorites Logout

Content

UPDATE: For anyone reading this after September 2018, if you want to create an ER puzzle based around a telephone (dialling numbers to hear messages or release maglocks, making or receiving calls to hear hints or communicate with other players/GM, receive automate responses etc.) I strongly recommend you check out this alternative project instead: https://www.patreon.com/posts/smooth-operator-21550758

It uses a Raspberry Pi running the Asterisk PBX software, is a little complicated to first set up, but is WAY more powerful than the solution presented here and, best of all, works with any sort of phone, wherever you are in the world!

Hi folks, here's a link to the latest video tutorial which explains how to (non-destructively!) wire an original old rotary telephone to an Arduino, allowing it to playback soundclips or release maglocks and other props when certain numbers are dialled.

The tutorial follows the same general structure as my other tutorials, but if you want to jump to a particular section, here's the timecodes:

00:00-02:39 Introduction

02:40-04:07 Demonstration

04:08-13:09 Hardware Wiring

13:10-36:07 Arduino Code

36:08-37:19 Wrap-Up 

Patrons can download the Arduino code and wiring diagram from https://www.patreon.com/posts/18574926

As always, let me know if you have any comments or suggestions!

Files

Call Me! Rotary Telephone + Arduino Escape Room Puzzle

Learn how to connect an original 1970s BT rotary phone to an Arduino, to be hear recorded messages when certain numbers are dialled, or to trigger other props such as releasing an electronic maglock. Does not require disassembling or modifying the phone in any way! Timing ----------- 00:00 - 02:39 Introduction 02:40 - 04:07 Demonstration 04:08 - 13:09 Hardware Wiring 13:10 - 36:07 Arduino Code 36:08 - 37:19 Wrap-Up If you'd like to download the code, wiring diagram, and additional documentation that accompanies this video, or support me to make more tutorials in the future, please visit my Patreon page at https://www.patreon.com/playfultech - thanks!

Comments

Nathanael Auran

My first question is could the same project be applied to a push button phone if it isn't rotary? Since you are not modifying the phone itself, and using the existing 4 wires, it should in theory - yes?

Russell Hardman

I got a phone with buttons around the dial and got that working ok and now I’ve moved on to the sd card reader to play a sound to the handset. I opened up the top bit of the handset and saw a red and green wire to the speaker, I connect the red to pin 9 on the nano and green to GND. It’s trying to play the wav file but sounds like static in the handset. I’m not sure if the wav file needs to be a specific type or what I’m doing won’t work. Any ideas? Loving the videos. I’ve only been doing these a week ago so a bit new to it all.

Russell Hardman

David Kempton from the comments from your YouTube video said the wav file had to be 8 bit. I converted my file and all good now. :-)

Michael

hi, i got the following Problem...: SD card initialization failed! i formated it MS DOS FAT but every Time i got this error any Idea?

Michael

An idea whats wrong?

Michael

nothing heard from what should i do next??

Michael

Hello Alastair. We have found a solution to initialize the card. The next problem is that the sound in the handset is very quiet. We use a German phone. How can we hear the volume? in the script we are already at 7 but that is too quiet. The WAV files are already very loud recorded.

Michael

Hi Alastair Thx for that. Trying later. When the sounds starts to play it stops after a few seconds. Is there a method to play the sound longer? I also want to play a signal loop when I lift the receiver

Rebecka Hoffmann

Hi Alastair! I have just downloaded your ”Callme” code to dial and receive sound and have tried step one to plug wires into my old phone (I had different wires from yours: red, yellow, white and black, is it still the same plug in?) Unfortunately i had no succsessful contact while dialing, the serial monitor only reacts when I lift the handset and not when I enter the numbers. What do you think is wrong? Im working on a art project and would really like to make this work!!Many thanks for sharing your tips! Link to images: <a href="https://we.tl/t-s6YgkoMCAW" rel="nofollow noopener" target="_blank">https://we.tl/t-s6YgkoMCAW</a>

Danielle Jackson

Hello Alastair! I am working on this puzzle right now. My issue is the relay isn’t sending power to the maglock when I have it all set up. So the lock isn’t activating. I’m using a normal 12 maglock instead of a cabinet lock, but didn’t think that would be an issue.

mark dennis

I tried to do this puzzle but I got stuck. My phone just isn't working like yours. I hooked it up and it reads the lifted and returned receiver ok, but when I dial the phone it reads the pulses as a receiver on and off instead of for numbers. I tried every possibility of wiring I could think of but that's the best I can get it to work. I would like to do it so I may have to purchase a UK phone in order to do it. Any ideas?

mark dennis

Oh and for whatever reason my SD card reader always failed

Olga Saltovsky

Hi Alastair. I have old phone with 3 wires - red, blue and white. So first of all I need to know what color goes what pin. I have multimeter. How can I do this?

mark dennis

So does anyone know what I can do to make an American phone work like this? I asked yesterday for some help... any ideas?

mark dennis (edited)

Comment edits

2026-09-07 18:00 Maybe Olga's response will help =)... I will try...
2019-04-02 00:09

mark dennis (edited)

Comment edits

2026-09-07 18:00 Well that doesn't work with this phone. As I stated before, I can get it to work with the lifting and replacing of the receiver, but when I dial, it just says lifted & replaced for as many numbers as I dial. I am thinking that I will have to wire into the rotary dial to get it to work
2019-04-03 21:42

Dan Ward

Hi Alastair, I've tried to build this project and have had some success. I have a 2 wire US phone and am using an Uno. The mag lock releases as expected but the program doesn't reset after a correct or incorrect number is dialed. The serial monitor shows that the handset is lifted but reads the hangup as "Digit Dialed: 1". I cannot dial another number for either the mag lock or the SD reader unless the Uno is power cycled or if I open a new serial monitor screen. If I dial the WAV number first then it plays a distorted version (I'll work on that later) but then won't dial another number until the reset. I think this could work if there was a simple reset command written into the code or perhaps if you have another idea. Thanks

Robert Thomson

I have the same issue as Mark Dennis i can dial once but then it no longer accepts any inputs i'm not seeing the issue in the code do you have an idea?

David Schrempf

I'm planning to use a US Version Western Electric 500 Vintage phone from the 40's as a prop for this puzzle, it has 4 wires yellow, green, red, black,. Does anyone know how to wire this to Alastair's code?

Blaine Skreenock

I have an issue, I’m new to coding and some reason I cannot get the code to load to my Arduino nano

Daryas Hussein

Hi, I brought the exact phone model to test it out, however it came with 2 wires instead of 3 (green and red). I got the Arduino to recognise the receiver, but not the numbers. Does anyone know a work around for this?

Bear and CNC

For all you German users (if any...): I just tried with a good old trusty "DFG Fernsprechapparat 614-1" and it works like a charm. White = GND, Green=Pin8/Hook, Brown=Pin9/Dial It looks like you have to reverse the on/off hook logic though. Swap hookValue == 1 with hookValue == 0 and vise versa. Cheers, André

Tehral

I still can't get it to work after many hours. It's recognizing the rotary as pickup/putdown the amount of times the number is so 3 = 3 times pickup and 3 time put down. it's killing me xD

Pue Gonzales

Hi. go it working. great project. any suggestions to power the whole thing? Maybe some buck converter to drop to 5v from 12v? or i am over-engineering?