dramrattan
Member
Hi,
I have finally gotton ALMOST everything to work thanks to you guys for the help and the help of a couple friends.
Ok once again, my circuit detects ringing and i programmed it to detect when five rings occur. When this 5th ring occur, i need to be able to open the telephone line to which the circuit is connected via the PIC18F452 i'm using. I don't know how to do this . The reason for opening the line is to be able to allow the CALLING party to enter a device pin sequence using his/her phone after realizing the line is opening. This pin sequence once correct then either turns on or off an LED which i connect to a general purpose input/output pin of the PIC18F452. Once this opening of the line is accomplished the rest would be easy because i already implemented the codes equence to activate the LED...I will then replace the LED with an electrical device activated by a relay.
I will grately appreciated any suggestions...I already tried (in code) to force the pin on the PIC18F452 which detects the phone going off hook, to a high giving the indication to the PIC18F452 that the phone is off hook after 5 rings is obtained although the phone is physically still on the hook but the ringing on the calling party's end still continues. Therefore the calling party can't enter the device pin sequence. How do i open the line so that the calling party's phone would stop ringing and be able to enter a device pin sequence using his/her phone keypad?...
Hope i explained myself good enough ...
I have finally gotton ALMOST everything to work thanks to you guys for the help and the help of a couple friends.
Ok once again, my circuit detects ringing and i programmed it to detect when five rings occur. When this 5th ring occur, i need to be able to open the telephone line to which the circuit is connected via the PIC18F452 i'm using. I don't know how to do this . The reason for opening the line is to be able to allow the CALLING party to enter a device pin sequence using his/her phone after realizing the line is opening. This pin sequence once correct then either turns on or off an LED which i connect to a general purpose input/output pin of the PIC18F452. Once this opening of the line is accomplished the rest would be easy because i already implemented the codes equence to activate the LED...I will then replace the LED with an electrical device activated by a relay.
I will grately appreciated any suggestions...I already tried (in code) to force the pin on the PIC18F452 which detects the phone going off hook, to a high giving the indication to the PIC18F452 that the phone is off hook after 5 rings is obtained although the phone is physically still on the hook but the ringing on the calling party's end still continues. Therefore the calling party can't enter the device pin sequence. How do i open the line so that the calling party's phone would stop ringing and be able to enter a device pin sequence using his/her phone keypad?...
Hope i explained myself good enough ...