OFF and ON hook detection for PIC18F

Discussion in 'Embedded Systems and Microcontrollers' started by tuanvoi, Feb 28, 2009.

  1. tuanvoi

    Thread Starter Active Member

    Oct 31, 2008
    56
    0
    Hi all,
    I'm new to this kind of stuff. Could you please help me with this?
    I'm trying to establish the signaling connection between 2 simple phones which connect to my PIC18F4550.
    First, if the phone is OFF hook or ON hook, what does the PIC read from the portA0 (i.e. assume that the phone will have 9V power supply already) so that when the other end phone will hear a busy tone when it wants to reach me?
    Second, when I press a number to call the other end phone, how does the PIC understand these numbers?
    If someone has experience on this, please give me some help. I'm really appreciate it. Thank you all!
    Tom
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    You might want to search Wikipedia for your information. Also about DTMF signalling and detection (hint: you get a chipset to do the tones instead of using your overworked uC).

    Here is a link to a possibly interesting circuit - http://www.electronicsforu.com/elec...cuit/cir42.htm&title=Handy Telephone Receiver.

    With no knowledge of what may be attached to or how, it's very difficult to have any idea of what state port A0 might be in.

    Just another idea - there is a very mature technology that allows computers to communicate over phone lines. Google "modem".
     
Loading...