Charlie123
New Member
Hello everybody,
Is somebody can assist me?
I'm using a 16F84A, and I would like my 16F84A to be able to detect the number of rings on the phone line.
Let say, if less than 3 rings my 16F84 provide 'beep', but if = or more than 3 rings, a sound is 'beep, beep'.
My mean concern is regarding 3 questions;
a) programmation syntax level,
b) what device I will need to be able to detect rings and count them.
regarding question b), I found this shematic;
https://www.aaroncake.net/circuits/phonbusy.asp
as per above link, LED1 and LED2 flash ON and OFF while the phone is ringing so I'm wondering how can I attached this cicuit to 16F84A. (let say I'm using GP2 and GP3 as input...should I connect base of the leds or base of the transistors to the pins or this does not really matter ?).
Due to that circuit if flashing and provide intermittent 0 and 1 status,
c) how can my 16F84 can recognized intermittent level 0 or 1 if I use 2 different input pin for comparaison ?
Do you have any suggestion to simplified or remove ring detector circuit?
I will be happy to rcv any assistance, instructions or help.
Brgds/Charlie
Brgds/Charlie
Is somebody can assist me?
I'm using a 16F84A, and I would like my 16F84A to be able to detect the number of rings on the phone line.
Let say, if less than 3 rings my 16F84 provide 'beep', but if = or more than 3 rings, a sound is 'beep, beep'.
My mean concern is regarding 3 questions;
a) programmation syntax level,
b) what device I will need to be able to detect rings and count them.
regarding question b), I found this shematic;
https://www.aaroncake.net/circuits/phonbusy.asp
as per above link, LED1 and LED2 flash ON and OFF while the phone is ringing so I'm wondering how can I attached this cicuit to 16F84A. (let say I'm using GP2 and GP3 as input...should I connect base of the leds or base of the transistors to the pins or this does not really matter ?).
Due to that circuit if flashing and provide intermittent 0 and 1 status,
c) how can my 16F84 can recognized intermittent level 0 or 1 if I use 2 different input pin for comparaison ?
Do you have any suggestion to simplified or remove ring detector circuit?
I will be happy to rcv any assistance, instructions or help.
Brgds/Charlie
Brgds/Charlie