DTMF dial tone


Closed Thread
Results 1 to 15 of 15

Thread: DTMF dial tone

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default YouŽll need a wet transformer

    Wet transformers with 600:600 impedance are built to match telephone line Z.
    This kind of transformer allows DC voltage levels to go through their nucleus without being saturated.
    Connect your line to one of this transformers to off-hook
    Last edited by Josuetas; - 11th October 2007 at 23:44.

  2. #2
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    You might take a look at Cermetek's website, as what you really need is known as a DAA. The phone company outputs 48 volts dc normally to your home phone, and when the phone rings there is a 20 Hertz ac superimposed onto the line that is usually between 90 and 120 volts. If you connect a PIC directly to the line you will likely fry the PIC, and you are also liable for any damage that you cause to the telephone company's equipment. Anything that you connect to a phone line is required by law to have agency approval, here in the United States that means the FCC. The Cermetek units will signal the PIC when the phone is ringing, and allow the PIC to go 'off-hook.' They also provide all neccessary isolation so that your PIC and the phone line are both safe, as well as the hybrid circuitry to get you from two wire to four. You will need to filter the DTMF out of the PIC using the circuit in the PICBASIC manual before you feed it into the DAA. Clare also has units that might fit your project, both of these companies are well known in telecommunications circles.

    You might find it easier, if all you need to do is ring a telephone, to find an old modem and connect it to the PIC using RS-232. Then you can just send AT commands to dial the telephone. The DTMF signals will be produced in your modem. Since you aren't concerned about speed, any old 2400 baud or whatever you can find will work fine. There are millions of old modems out collecting dust since now almost everyone is using ethernet to connect to the Internet. E-bay has a bunch of brand new external modems, you can buy one for ten bucks!

    Jerry.
    If your oscilloscope costs more than your car...

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    using a modem is a good idea, plus I have a few of those 33.3 external modem laying around. just have to figure out how to hook it up to a pic but that should be too hard. thanks

    ken

  4. #4


    Did you find this post helpful? Yes | No

    Default CanŽt believe you made me draw it

    It canŽt be simplier than this,

    By the way those modems you have must surely have the transformer you need.

    Now forget about the ugly picture!

    Pay attention to this fact: the line will remain Off-hook as long as it is connected to the
    transformer, you might need a relay to disconnect the line from the Transformer.



    DAA is the device that implements this transformers with silicon, it also gives you more functionality like ring detection and off-hook switch. It might be more expensive than the simple schematic, wich by the way complies with all requirements of ITU.
    Attached Images Attached Images  

  5. #5
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    Actually the pic should be switched in to the circuit only when you want to make outgoing call - or after the predesigned circut arranges for answering the call thereby stopping the ringing current (75V /20to25Hz_superimposed on the 48 Dc as already mentioned by b1arrk5.

    So therafter no fear of high voltage as the current starts flowing on the telephone line.
    Regards,
    Sarma

  6. #6
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    Ken,

    Take a look at the Serout2 command in the manual, around page 144. All you need is a connector for your modem and a 1K ohm resistor! The modem will accept 'Hayes' AT commands. After you set up your oscillator and other defines per the manual just enter SEROUT2 PORTA.1,84,["ATDT 555-5555"]
    and the modem will go off hook, wait for dialtone, and dial the digits. You can try it out first using Hyperterminal or another terminal program. The AT stands for 'Attention', and if you just type AT your modem should answer OK. You can find a lot of pages with all of the AT commands on the internet, but not all modems will implement all commands.
    If you want to get a little fancier, use a MAX 232CPE chip with your PIC, and then you can send and receive, there are a lot of examples around. I use a LabX board from MeLabs for my development work, and it is hooked up to a modem, I use it all of the time to turn some lights on when I work late so I don't come home to a dark house.

    Jerry.
    If your oscilloscope costs more than your car...

Similar Threads

  1. DTMF on a 12V car system
    By Jumper in forum Schematics
    Replies: 1
    Last Post: - 7th December 2008, 14:41
  2. Replies: 2
    Last Post: - 31st July 2006, 16:06
  3. Round Dial, Electronic Combination Lock
    By Pic_User in forum Off Topic
    Replies: 5
    Last Post: - 6th July 2006, 13:34
  4. Problems with DTMF Generatiom
    By Angus Anderson in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2006, 21:12
  5. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts