PDA

View Full Version : Freqin??



muddy0409
- 28th December 2005, 13:40
Hi again all, and a very Happy New Year to everyone.

My current problem is how do get a "freqin" type command working. I have a situation where I need to wait for 5 seconds and somewhere during that time I need to detect a 1200Hz tone, duration 100mS and then 1400Hz, duration 100 mS. Once detected, branch off and do other stuff, or if not detected at all, branch as well.
I have been experimenting and am getting nowhere. Second choice, does anyone know of a compiler, other than PBP (for pics) that does have this type of command?
Thanks, in advance.

dmairspotter
- 28th December 2005, 15:32
Could you make PULSIN work?

muddy0409
- 28th December 2005, 17:46
I could if I used a couple of LM567 tone decoder chips, but I would prefer to use software.

Acetronics2
- 29th December 2005, 14:27
Hi, Muddy

What do your input look like ?

No noise or signal on the line, and just 1200 and 1400 Hz when needed ???

or 1200 and 1400 Hz lost in a " white noise " ???

That will decide how to do it ...

Alain

muddy0409
- 30th December 2005, 05:27
I would have to say Very clean. Any noise would certainly be "down among the noise" to coin a phrase (LOL).