Go Down

Topic: Landline phone as input interface to Arduino (Read 6384 times) previous topic - next topic

touandreq

Hi, my friend wants to make an art project in public space. Basically he wants to have a telephone, which can play different songs after dialing different numbers, and to place it in old phonebox.
I have two possible solutions for this idea in my head:
1) Placing an arduino to phone, directly interfacing phone's number buttons and speaker. The problem is that there's high possibility that somebody will damage or steal the device.
2) My second plan is to place arduino to safe box and to interface whole phone. Nice thing about this is that old phones are pretty cheap and we could buy one new every day. So it's pretty vandal-proof.

My question is, is there a possibility to transform arduino into a fake "phone central" which can read called numbers from phone and to play sounds back? (over landline standards, without adding something into phone?)


I was looking for answer for 2 days but I can't find anything.
Thank you!

CrossRoads

Need to add DTMF decoder to interpret tone sounds (beeps & boops) from the phone.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

jremington

#2
Apr 03, 2015, 01:47 am Last Edit: Apr 03, 2015, 01:54 am by jremington
Quote
(over landline standards, without adding something into phone?)
The old style land line phones are powered by the line, which carries about 48 volts DC when "on hook", but the voltage drops to 3-9 VDC, while supplying up to about 70 mA when the phone is taken "off hook".

To produce audio, you would need an amplifier capable of providing a few volts and a proper impedance matching circuit that would superimpose the audio on the DC line voltage.

There is plenty of info on the web, for example http://www.britishtelephones.com/howtele.htm but I do not think this would be an easy project, even for someone pretty good at analog electronics design.

wzaggle

You should probably start with one of these then add an MP3 Player shield.  These guys are great for parts and also do a really great cheap custom PC board if you are not in a hurry. :)

 http://www.futurlec.com/Mini_MT8870.shtml

The interface to the phone line should be pretty simple.  I would start with something like the following circuit to interface all the parts.   The 470 and 100uf and isolation transformer are probably optional, but the 1k might be nice to limit the volume.  I think the off hook dial tone is typically 400hz. You could inject this tone when you detected a voltage change on the analog in due to the phone going off hook.  Listen for a dial tone sequence with the MT8870 and then turn the tone off and play the song indicated by the tone sequence.

Good Luck...






wzaggle

FYI...

I used the SimpleSDAudio code with some mono converted wav files via their tools, replace the 8 ohm resistor with a 150 ohm and removed the other components from the circuit.  The music played very nicely through a standard wall phone with just that 150 ohm resistor. 

If you are interested in just playing 8bit mono wav files to save space on your SD card you might want to seriously consider this option.  That quality is plenty for phone level fidelity.

http://www.hackerspace-ffm.de/wiki/index.php?title=SimpleSDAudio




Go Up