🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #20572

Re: Telephone Interfacing (was DTMF --> RS-232 Conversion)

#20572
From: Byron A Jeff
Date: Sun, 29 Jan 1989 17:03
84 lines
4536 bytes
In article <1905@egvideo.UUCP> timk@egvideo.UUCP (Tim Kuehn) writes:
>In article <2178@van-bc.UUCP> sl@van-bc.UUCP (pri=-10 Stuart Lynne) writes:
>>In article <7139@pyr.gatech.EDU> byron@pyr.UUCP (Byron A Jeff) writes:
>>
>>For example the device should go offhook when "DTR" is raised. A dial tone is 
>>produced when RTS goes high and DTMF recogition starts.
>
>What is the definition of an "on-hook" and "off-hook" line? 
>I'm working on a project much similar to that for fax machines to mointor
>and control useage to/from a customer site. This question about DTMF-RS232 
>has been quite informative for part of my project, but I still need to figure
>out a way to detect on-hook and off-hook conditions. Also some way of dealing
>with the 'ring' signal too. Can someone out there supply me with information 
>on how this is done? Or point me towards a publication that has the specs
>for the telephone lines and what requirements there are for hooking 3rd party
>equipment up to it? 

I'll take a stab at it. Since it looks like you're doing a real application
you need a device interface to the phone. It's call a DAA phone line
interface (DAA stands for Direct Access Arrangement). What it does is 
isolates your board from the telephone line and vice-versa.
In addition most provide TTL level signals for on-hook, off-hook
ring detection etc. An FCC approved DAA is required for real devices.
One quoted source of DAA's is Cermatek Microelectronics, Sunnyvale
Ca.

But the theory for the rest of us hobby hackers might still be useful
to know. The concept is fairly simple. On hook just means that the
tip and ring lines of the phone are disconnected and only a small current
flows between the two lines. Off hook is accomplished by connecting the
lines together. The switching circuit at the central office detects
that and connects the phone and puts out a dial tone (or connects you
to the phone calling you). 

To put a signal on the phone line you should impedance match to 600 ohms.
Many transformer manufacturers make 1:1 600 ohm transformers expressly
for this purpose.

Ring Detection: The central office will send a 80-120 Volts RMS signal
over the phone lines to indicate a ring at a particular frequency.
A chip such as the TI TCM 1520A across the lines will detect such
a signal and if the output is optoisolated a nice TTL level signal
can be created quite easily.

Three sources I can quickly point to for help. 

1) The ubiquitous and prolific Steve Ciarcia (formerly of Byte but now 
producing his own hobby projects mag) has had several projects on telephone 
interface projects. I can't quote particlar issues but these 
include a customized ring circuit and a single chip modem.

2) A copy of "Understanding Telephone Electronics" from your local Radio
Shack. I don't have a copy but I've heard that it's a pretty good reference
manual.

3) Data books and application notes. Manufacturers include Silicon Systems
Inc (This is where I got a lot of the above info), Motorola Telecommunications
Division, National Semi, TelTone, TI among others. They have everything
from dialers to detectors to switchers to CODECs.

>
>
>>	[some stuff on what would be nice to do with this equipment]
>
>>Stuart.Lynne@wimsey.bc.ca {ubc-cs,uunet}!van-bc!sl  Vancouver,BC,604-937-7532
>
>
>Many thanks for any and all help!
Sure enough.
>
>
>+-----------------------------------------------------------------------------+
>|Timothy D. Kuehn					timk@egvideo          |
>|TDK Consulting Services			        !watmath!egvideo!timk |
>|871 Victoria St. North, Suite 217A					      |
>|Kitchener, Ontario, Canada N2B 3S4 		        (519)-741-3623 	      |
>+-----------------------------------------------------------------------------+


-- 
Another random extraction from the mental bit stream of...
Byron A. Jeff
Georgia Tech, Atlanta GA 30332
Internet:	byron@pyr.gatech.edu  uucp:	...!gatech!pyr!byron
Technical Details
Message-ID: <7179@pyr.gatech.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!gitpyr!byron
References: <1441@thumper.bellcore.com> <7139@pyr.gatech.EDU> <2178@van-bc.UUCP> <1905@egvideo.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!gitpyr!byron
From: byron@pyr.gatech.EDU (Byron A Jeff)
Newsgroups: sci.electronics
Subject: Re: Telephone Interfacing (was DTMF --> RS-232 Conversion)
Keywords: DTMF, RS-232, Touch-Tone, on-hook, off-hook
Message-ID: <7179@pyr.gatech.EDU>
Date: 29 Jan 89 17:03:23 GMT
References: <1441@thumper.bellcore.com> <7139@pyr.gatech.EDU> <2178@van-bc.UUCP> <1905@egvideo.UUCP>
Reply-To: byron@pyr.UUCP (Byron A Jeff)
Organization: Georgia Institute of Technology
Lines: 84