Home Creators Posts Import Register Favorites Logout

Content

This post contains links for additional resources related to the "Call Me!" puzzle:

Arduino Code:

https://drive.google.com/open?id=1EWs5gG686-uW-aEFWjrV4IFlCOI9yyBy

Wiring Diagram:

https://drive.google.com/open?id=1kRDf593rSoDpsNBupwhqNt6VzrqIMKAM

Fritzing Project:

https://drive.google.com/open?id=1rV3b8DVWjDIzSeYWKaXpbJeCkfgFq9Nt

Additional Information:

- A few people have asked which telephone I'm using. I bought it off eBay for £11 - the exact item listing is attached below - 746.png.

- When saving the sound files to the SD card, you should use an uncompressed WAV format, 22kHz, mono. I used Audacity to create mine.

- For my U.S. friends, it seems your phones use a 2-wire system and don't have a separate hookPin and phonePin. I have a slightly-modified version of the code which will still identify the number dialled, play the sound effects, and unlock the maglock (but will do so regardless of whether the handset is lifted first or not). To use it, connect the red wire from your phone to Pin 9, the green wire from your phone to Arduino ground. Then try using this modified code: https://drive.google.com/open?id=1p-A0UHuVMuDA6m83zNngrm9WeyPgQkLQ

Files

Comments

Lamar Hackworth

I am a little confused on wiring the relay I think I have the correct one but not sure. here is the link to what I have

hitesh

Unable to get mine working. Serial monitor shows that the Serial connection started and Setup Complete. But the only way it recognises that the handset is lifted or replaced is if 8 and 9 are swapped for the red and green wires of the phone. There is no dialing of numbers recognised

David Kempton

Hi Alastair, I have not been able to get the files in Fritzing to load properly. It was looking for your special images (i.e. maglock, 12mm barrel connector etc) from a user directory called "alast", and couldnt find them. So I went into the Fritzing file and edited it so that these were referenced to my user directory. However now it reports that these files do not have a unique module id. Any ideas what I may have done wrong?

Fabrice Falcao

Hey, I bought this phone, <a href="https://www.amazon.co.uk/GPO-746-Rotary-Telephone-Blue/dp/B008MV7O8K/ref=sr_1_3?ie=UTF8&qid=1530719434&sr=8-3&keywords=gpo%2Bphone&th=1," rel="nofollow noopener" target="_blank">https://www.amazon.co.uk/GPO-746-Rotary-Telephone-Blue/dp/B008MV7O8K/ref=sr_1_3?ie=UTF8&qid=1530719434&sr=8-3&keywords=gpo%2Bphone&th=1,</a> on amazon.co.uk to try and make sure to get a three wires phones, but unfortunately it came in with only two wires... ! 1 green and 1 red. Unfortunately, the US version of the code doesn't work, neither does the original version, did by chance anyone managed to make it work with this phone model!?

Damian Bonavitta

Hi Alastair! i have an issue with the number dial, per example i dial the number 4 and arduino reads a 8 o 9. when i dial a 9 o 0 the arduino reads a 14 o 16. can you help me? i am using the US version. maybe touch the debouncing parameters?

Anne Lukeman

Hello! I've got this project working, but the sound is coming through suuuuper staticky, even when I try it on different phones. Any suggestions?

Joe Gould

I got this working in the US with a few tweaks. I had to keep the buffSize in pcmConfig.h to the default size, as otherwise I would get a ton of static. I also had to change the pins around a bit on my SD card. CS when to pin 4, SCK went to pin 13, MOSI went to 11, and MISO went to 12. I also tweaked the receiver hang up and pick up code to work with the phone I bought. I uploaded it for anyone curious. <a href="https://drive.google.com/file/d/1zUdNCiKY5Y4inh2Pytv5I5ix_zk73Z8C/view?usp=sharing" rel="nofollow noopener" target="_blank">https://drive.google.com/file/d/1zUdNCiKY5Y4inh2Pytv5I5ix_zk73Z8C/view?usp=sharing</a>

JAY BRACE

i am getting a similar issue as #hitesh when i have the red and green wires from the phone as specified the serial output reads when the receiver is lifted and replaced, but does not read when a number is dialed. If i swap the red,and green cable it can read the digit dialed but not the receiver being lifted or replaced. also either way round when a correct or incorrect number is inputted does not reset when the hand set is replaced

scott jamieson

hi alastair love the videos. i have made this prop but having some trouble. the 1st time you dial a number after loading it to the arduino it works fine untill it palys an audio file. then you hang up and dial again and it will say it dialing a higher number the longer you wait. and help would be great.thanks scott

Steven Fletcher

Hi there, finaly got around to this project and have it working. Little different from your set up but got the coding right. question is that I want to add more puzzle after the correct number is dialed. My story line goes that they find the number to dial and the voice asks them to dial an ID number... once the 3 digit Id is given.. the door opens... if the ID is incorrect they must hang up. I tried to add under the coding that plays sound for the correct number... I want it to continue to listen for dial while the phone is still off hook and connected. my skills are not top but i do have some idea of what im doing... Im stuck and thought maybe you could point me in the right direction... maybe create cases?

Christopher Perry

Hi Alastair, loving your videos and your ideas! I'm setting up this puzzle and have gotten everything working but I'm having trouble with the audio file. It's not playing the entire thing and also is very very distorted. At times the audio also plays at a very fast rate too. Any ideas where I'm going wrong. I've saved the file as Mono, uncopressed WAV (U-Law), 22050hz. Many thanks :)

Charlotte de Waal

Hi Alastair, quick question : Would an office phone from the 90s also work or only rotary?

Jake Johnson

Is the anyway to be able to do different length numbers? Eg. 999 12345 12357854 Im also just getting the SD card error, any ideas?

Masher

Hi Alastair, thanks for this project! I've now - after a bit of tweaking inside the phone - got it working perfectly on an older Type 706. One little improvement I'd like to make is for it to play dial tone when you lift the handset, until a number is dialled. I guess the code would be something along the lines of: if (state== OFF_HOOK) tmrpcm.play("DIALTONE.wav"); if (state==DIALLING) then... (my coding skills are absolutely appalling, sorry) However, all my attempts at doing this have failed miserably, so far. Do you think this can be done and if so, would you be able to give a few pointers? Cheers Mark

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

Hi Alastair, sadly it does nto work with two phones I tested, Have been trying for 5 hours so far. telcer telefonia vimodrone mi: https://www.ricardo.ch/de/a/telefon-ausstellungsstueck-1121464172/ PTT-Telefon TF3-39205 I just can't get it to work. When I use the rotary wheel it says 16:51:43.728 -> Receiver Replaced 16:51:43.829 -> Receiver Lifted each the amount of the digit I tried to choose example -> 5 is 5times lifted and 5times replaced. Any idea how to fix this? Thank you

Tehral

I spent 10 hours trying to figure out how to do this but still it is not working....anyone has a tipp?

Doug Gross

Same problem for me. It just states '1' five times '11111' . However, I am based in the US and did utilize the US version and change up the wiring. If anyone has a fix it could help us both. FIXED: I got it working by finding a Bell 500 based phone, wiring in the white wire to the GND (which also gives the receiver functions if you use the UK version of the code). All working fine. Happy to share the wiring if any US based people need some help., but all working perfectly now.

Bobby Orr

I am in the US and I have been buying up rotary phones. I followed the instructions and watched the video, but nothing happens after I hook the phone up? is there anything different with US phones? that I need to be aware of? I didn't hook up the lock or any extras just the sd card and phone. any input is appreciated.