Introduction: '90s Payphone Boombox Hack
☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯
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
Attachments
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:
- The coin machine. Use the release at the top.
- The main CPU. Use the giant flathead screw.
- The weird grey thing. Just pull on it.
- 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 **

Grand Prize in the
Amps and Speakers Contest 2016

First Prize in the
Epilog Contest 8

Participated in the
CNC Contest 2016
46 Comments
Question 5 years ago
I'm currently looking at the payphone.com site and they offer a pre-gutted phone for display purposes for a cheaper price than if you bought the whole phone. Do you think they removed the main components you mention in your instructable or do you think they take more? If they only got the main parts, this seems to be a better solution for those looking to start this as a project.
5 years ago
What do you do with the Laser Cutter.zip file that you have included as a download?
Question 5 years ago on Introduction
hi my name is jimmy i have the phone like yours from canada but one things is you make four digit to play song me i want to make 1 digit i mean when i press 1 song one play doest it possible could you tell me whwre i find the software for wind 7 64 bit
could you tell me exactelly wich arduino and where to buy
adafruit music maker mp3 shield
arduino mega 2560 digital
max 9744 class d amp
and the last proxymity sensor
and 1 have only 20 songs to store
and a wecome message when peoples listening oups wich version of software and what else do i need if you have links it should be better thanks
6 years ago
Would anyone be willing to direct me to instruction on a much simpler concept for me? Looking to rig a payphone so it plays music through the handset when you pick up the receiver. No need to integrate the keypad or the change return. The plan was to hide a small iPod in the change box and connect the audio to the receiver, then power the project with a solar cell mounted to the back of the booth. Has anyone done anything like this?
Reply 5 years ago
The code is so easy to modify honestly. It looked daunting at first to me, but the more you look at it, the more you understand what to change and how. (knowing about arduino programming helps obviously)
5 years ago
So Cool
5 years ago
I think my favorite part of this whole thing is the comment at the veeeery bottom of the code about null termination.
5 years ago
Damm, hats off to you! Love this thing!
6 years ago
Fuzzy, how are you connecting power to your amplifier? I've looked through all the photos and cannot see any power connections. Any guidance?
Reply 6 years ago
"If using the 20W speaker it is important to have 12V and >1.5A."
Just running that directly into the AMP DC INPUT.
Reply 6 years ago
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!
Reply 6 years ago
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.
6 years ago
Fuzzy... what was your total cost for this hack build?
Reply 6 years ago
The phone was free and the Arduino was free so quite cheap for me.
I think typically it would be around 300$ to 400$.
6 years ago
Fuzzy, thanks for posting your payphone hack, very neat creation out of some old technology.
I am newer electronics but I thought I'd try to "hack" 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!
Reply 6 years ago
cool! did you try the 'procedure' explained here: http://playground.arduino.cc/Main/KeypadTutorial ?
(it was a bit confusing to me)
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.
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.
can you please share a photo of the front of your phone?
Reply 6 years ago
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.
Reply 6 years ago
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.
Reply 6 years ago
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!
6 years ago
Congratulations Fuzzy, inspired project that truly deserves winning the 'grand prize'. I would have voted for it if I wasn't also a competitor!