loading

☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯

A payphone is hard to hack. WRONG!

A payphone is expensive. WRONG!

A payphone is hard to get. WRONG!

When I first started this project I suspected payphones would be hard to get, expensive, and a hassle to hack. I was wrong on all three! Online I was able to get city-grade cast-iron/stainless payphone for relatively cheap. And the hack, surprisingly, turned out to be quite elegant :)

With my payphone hack I created a the 90 From The 90's Boombox:


With this Instructable you will learn how to control the keypad, switches, and audio (both in and out) on a payphone. You can do A LOT OF FUN HACKS WITH THIS. The 90's boombox is just one basic example to get you started :)



Hyped on Reddit, Arduino Blog, The Next Web, Hackster, NotCot, Maker Project, Hackaday.

Step 1: Parts & Code

PARTS

  • Payphone. payphone.com was the first site I checked. So it is possible there are even cheaper options out there.
  • Payphone mounting bracket. Remember these phone are cast iron, thus insanely heavy! I would NOT recommend trying to mount them without the bracket.
  • Adafruit MP3 Maker Shield.
  • Arduino Mega. The MP3 Shield uses a LOT OF PINS so the smaller Arduino's will not work well for this hack.
  • Adafruit 20W Amplifier.
  • 20W Speaker. Adafruit sells this one.
  • 3W Speaker. Use this if you just want ringing but no music.
  • Rangefinder.
  • Typical stuff: wire, headers, tape, soldering iron, etc.


CODE

see attachment. ** Give it a read! Lots of helpful comments in there. **


LASER

see attachment

Step 2: Gut Your Phone

Wow look at those guts! The good news is our modern shields and microprocessors allow us to do away with all this antiquated junk.

There are 4 things to remove:

  1. The coin machine. Use the release at the top.
  2. The main CPU. Use the giant flathead screw.
  3. The weird grey thing. Just pull on it.
  4. The wild screw terminal thing. Cut all the connections leading to the screw terminal. We don't need any of them. If you have an older style phone you will need some brute force to remove this. If you have a newer style you can just unscrew it.

If you are feeling ambitious I believe it is possible to also hack the coin machine, but I only saw it as a hassle for people using my phone.

** Remember I hacked a few of these phones so some pictures may look slightly different because all the phones internals are slightly different. Even though the internals are slightly different all phones connections/routing are identical. **

Step 3: Intercept the Keypad

The most critical part of this hack is to intercept the keypad. Thankfully the phones use a conventional 8pin-keypad-style circuit, which makes this extremely easy :)

Pull out the keypad and start taking apart each layer. The only layer that is challenging is the plastic tan-colored enclosure. It is snap fit so you have to grab a flat-head screw driver and use brute force to detach it.

Just like the last part you can cut all the free wires. We don't need them.

** Remember to cut the grey ribbon cable or the keypad will not work as expected. **

Solder 8 wires to the pins on the keypad circuit.

Every phone has the same pinout on the keypad (numbered left to right).

1 – ROW 1
2 –
ROW 2
3 –
ROW 3
4 –
COLUMN 0
5 –
COLUMN 1
6 –
COLUMN 2
7 –
ROW 0
8 –
NA

All the keypad code has been beautifully packaged into an Arduino Keypad Library. So all we need to do is connect pins to our Arduino. Specify the pins in the code. And the keypad should be working!

For our code we are using pins 30-36 of the Arduino Mega.

COLUMN 0 – pin30
COLUMN 1 – pin31
COLUMN 2 – pin32
ROW 0 – pin33
ROW 1 – pin34
ROW 2 – pin35
ROW 3 – pin36
NA – GND

Step 4: Intercept the Handset Switch

We need to know when someone picks up or hangs up your phone. We can achieve that easily by intercepting the handset switch.

Each phone has four switches that are triggered during a different point during the travel distance. I am not exactly sure why they needed four. But we only need one!

I tried to identify the switches that are triggered around 50% travel.

In the newer designs you can complete remove the circuit, but in the older designs the circuit is difficult to remove so I just left it connected.

For newer (more common) designs it is pin 1 & 3. For older (spiderweb filled) phones it is 2 & 3.

** The polarity of these is inverted. For new phone it will for LOW-HIGH. For old phones it will go HIGH-LOW. **

Connect the two cables to your Arduino Mega. One to Pin 40 and the other to GND (doesn't matter which order). Set pinMode to INPUT_PULLUP.

Step 5: Intercept the Coin Release

The coin release switch is not critical to the functionality in any way but is EXTREMELY easy to intercept with a basic roller style switch, so why not.

On my payphone, when the user pulls the coin release it shouts "GET A JOB!".

Step 6: MP3 Maker Shield

Build it!

Here is an amazing step-by-step by Adafruit.

** Remember to close the three jumpers so it will work with an Arduino Mega **

The shield has 3W outputs, which work perfectly for the speaker in the handset. Connect ONE of them to your handset speaker. And if you are just using a ringer and no music, connect the other one to a 3W speaker.

The handset has four cables connected from it. Two from the mic and two from the speaker. They are always different colors and never labeled so the only way to figure out which ones go to the mic and which ones go to the speaker is through trial and error. What I did was simply play a track from the shield and then plugged in different combinations until I found the two for the handset speaker.

Note that I did NOT use the mic for my project, but as you probably know, the MP3 Maker Shield has a mic input! So much hacking potential right there :)

Step 7: Boom Boom 20W Amplification

As you probably suspected, the 3W output from the MP3 Maker Shield is not enough wattage to turn your payphone into a boombox. But with the Adafruit 20W amplifier and speaker. Wow. That's loud.

If you just want to play the ringing sound of the bell, a simple 3W speaker hooked up to one of your output channels will be good enough.

Here is a great step-by-step tutorial for the amplifier by Adafruit.

** Remember to use line from the MP3 Maker Shield to the amplifier **

So because this was a '90s boombox I was purposefully going for a LOFI '90s sound. I degraded all the sound files to 128kbps and ensured there was clipping in all of them. I really wanted to stay true to the era. Gluing the speaker and adding a scrappy cardboard/felt enclosure is not going to help with that HIFI sound you are probably after. If you have any tips to make the sound HIFI, please share them in the comments. About 60% of the decibel level was lost inside the enclosure because I drilled my speaker holes way too small :( That said, the volume level definitely goes high enough to annoy everyone in my office with dreadful '90s music.

** Drilling cast iron is slow. Recommend a good drill bit. **

Step 8: Ring Ring Rangefinder

If you want to make the phone ring when someone walks by you will need a rangefinder.

In the code, you can tune the distance for triggering the ring.

RED – 5V
BROWN – GND
ORANGE – ANALOG SIGNAL A8

Step 9: Mounting & Power

Inside the phones safe you will find the mounting hardware.

As I mentioned earlier, the phones is extremely heavy. The bracket is imperative. I was able to mount to drywall thanks to the bracket.

As shown in the images you can route power through the back and into the phone.

If using the 20W speaker it is important to have 12V and >1.5A.

Step 10: Done!

Successful hack! Easy right? Let's celebrate!



** please share your payphone hacks in the comments **

<p>Fuzzy, how are you connecting power to your amplifier? I've looked through all the photos and cannot see any power connections. Any guidance?</p>
<p>&quot;If using the 20W speaker it is important to have 12V and &gt;1.5A.&quot; <br>Just running that directly into the AMP DC INPUT.</p>
<p>I apologize, I think I phrased my question incorrectly. Both the amp and the Mega need power, so I'm curious if there's two power supplies needed, or if one piece is pulling power from the other piece. Thank you for your reply!</p>
<p>Hmm i think I actually just sent the power directly to the Mega, then used the Vout/GND pins to power to the amp (or visa versa). I definitely only used ONE power cable from the AC socket. </p>
<p>Fuzzy... what was your total cost for this hack build?</p>
<p>The phone was free and the Arduino was free so quite cheap for me. <br>I think typically it would be around 300$ to 400$. </p>
<p>Fuzzy, thanks for posting your payphone hack, very neat creation out of some old technology. </p><p>I am newer electronics but I thought I'd try to &quot;hack&quot; using an old payphone I had. When I opened the keypad and used my multimeter against the circuit board, I could not get a reading on a continuity test. It's probably just me (not knowing what I am doing). The keypad on my Western Electronics looks a little newer than the phone you hacked. I am unsure on where to go to next. Would you be able to take a look at these pics and point me in the right direction? Thanks!</p>
<p>cool! did you try the 'procedure' explained here: <a href="http://playground.arduino.cc/Main/KeypadTutorial">http://playground.arduino.cc/Main/KeypadTutorial </a> ?<br>(it was a bit confusing to me)</p><p>here is what i did. examined the traces to try and guess which ones are rows and which ones are columns. used my silicone-membrane-button-thingys to close one button at a time while getting the readout from the multimeter on the pins. within no time I knew the association between each pin and each row/column.</p><p>the thing is, that grey ribbon cable i you see in the diagram HAD to be sliced for it to work correctly. somehow the circuit on the other side of the ribbon cable was messing up the readings :( i am hoping that circuit on the backside of the PCB is not doing the same. if it is, you will have to get REALLY creative by starting to cut traces on the backside of your PCB. </p><p>can you please share a photo of the front of your phone?</p>
I read through the tutorial and followed the steps. it dixnt work at the pins, and there isn't the same grey cable to cut. I did remove the extra board, but connected and took a picture of it to show that in addition to the phone. I did some more searching, mine looks like this phone, he/she provided a short explanation on how the keypad pcb could be modified. https://www.dnalounge.com/backstage/src/phonebooth/index2.html I may try that unless you have any suggestions.
<p>If you can't get it to work just call payphone.com and request an older keypad (should be around 25$). Your phone guts look super modern compared to the ones I opened up.</p>
Thanks for the direction. I worked on it this weekend and now have the keypad working. I also started on the other steps and will post when finished. Thanks again!
Congratulations Fuzzy, inspired project that truly deserves winning the 'grand prize'. I would have voted for it if I wasn't also a competitor!
<p>Thanks pricklysauce !</p>
<p>This is brilliant.</p>
It's great but just too expensive! I wish I could build one
love this idea! you got my mind rolling over old school payphone hacks and some new ideas for projects. thank you
I also have some old torque Motors that would work real well for a moving wall that could attach to the keypad
<p>Yeah I think there is lots of potential to use the mic/mic-in on that MP3 shield. Get some speech-to-text software going :) Put an amazon echo inside :) You know where this is going...</p>
<p>The most unique build I've seen, definitely got my vote! Gotta have one!</p>
<p>ლ(́⚈‿⚈‵ლ THANKS ლ(́⚈‿⚈‵ლ</p>
<p>Ah hA nice to see it finished and hung! Will try it next time we there </p>
<p> ̄ڡ ̄</p>
<p>the picture of your payphone in the garage gave me another idea. it would make an ideal safe since no one would think to look inside it and it could actually hold quite a bit of valuables or someting as large as a handgun.</p>
<p>Yeah the safe went totally unused in this hack. It is quite secure because the key needed to get it open is bizarre. </p>
<p>DAMMIT I LOVE THIS!!!!</p>
<p>◑‿◑ THANKS ◑‿◑</p>
<p>OMG so awessssooome! *in a valley girl voice* ;D</p>
<p>haiiiiiiiiiiiiii</p>
​Its not the same model of phone, but if you want to hack a millennium payphone, check this out: http://jim.akesons.com/projects/payphone-conversi...<br><br>It works if you want to also reuse the parts inside it the phone. I made my son a piggy bank that tells him how much money he has. Otherwise it works like a regular analog phone.
<p>For some reason your link got cut off for me. I'm re pasting it here: <a href="http://jim.akesons.com/projects/payphone-conversion" rel="nofollow">http://jim.akesons.com/projects/payphone-conversio...</a></p><p>http://jim.akesons.com/projects/payphone-conversion</p>
<p>Awesome! You may already know about these, but this would allow you to keep (and ring) the existing bell - <a href="http://www.silvertel.com/products/telecom.html" rel="nofollow">http://www.silvertel.com/products/telecom.html</a></p><p>I used the AG1171, I believe, in a bluetooth antique phone conversion a while back, ran with an Arduino.</p>
<p>This is amazing! You could have 90 from the 90's, 80 from the 80's.. etc. etc... </p>
<p>Ow yeah</p><p>You also askt for sharing payphone hacks, I got one we used al the time.</p><p>What do you call that thing again, that red thing, hmmm.</p><p>O YEAH we used THE CROWBAR HACK.</p><p>WannaDuino!!!</p>
<p>WannaDuino!!!! Likes iT!!!</p><p>That will be a big shipping bill to let is ship to the Netherlands.</p><p>Pitty, because i realy want to make it myself, And Use It Myself.</p><p>And also the Coin returner, as mutch as possible.</p><p>WannaDuino!!!</p>
<p>Brilliant!</p>
I would so totally just use this to rick roll people
<p>Also where did you get those giant scissors?</p>
<p>I have a crosley 50's working payphone, much lighter plastic, would this work?</p>

About This Instructable

242,037views

273favorites

License:

Bio: fuzzywobble.com
More by Fuzzy-Wobble:'90s Payphone Boombox Hack Teensy Monster v1.0 // DIY MIDI Controller Prototyping Wizardry With SPACEBREW 
Add instructable to: