Ok , the scoipe was set at 100x. now I read 4v at the output, but still a lot of noise after the filter, and only dials 50% of the times
k
Ok , the scoipe was set at 100x. now I read 4v at the output, but still a lot of noise after the filter, and only dials 50% of the times
k
Well, the PBP manual does say that any 'sound' output from the PIC, being 1-bit analog, is going to be 'noisy', a lot of harmonic content. And I would think that even if it's filtered well, it would still have a load of 'noise' in it. A low-pass 'brick wall' filter, with a steep 'slope/cutoff', with the -3db point set just above your highest frequency might handle that.
I guess I'm not really sure. I haven't relied on the PIC to do much sound (other than moving MP3 data back and forth for a player).
I was initially thinking of going with a specialized DTMF chip. They are hard to get around here
I'm not sure what affect it will have on DTMFOUT, but you have ....
ANSEL = 1
Which puts PORTA.0 in Analog mode.
And that's the DTMF pin.
Might try ...
ANSEL = 0
<br>
DT
that did not work,
everytime a DTMF comes out, its like someone was blowing air at the same time.. from what I can hear from the speaker.
if I choose to do a low pass filter, what would you suggest my cut off frequency be?
Last edited by lerameur; - 8th May 2008 at 04:17.
Well, since DTMF freq's run from 697Hz to 1633Hz (reference Wikipedia), shooting for 1634 would be a good bet, but probably not practical. I'd tend to think that a 'brick wall' above 2KHz would do it.
And I'd also be willing to bet that the 'air' you are hearing is in fact aliasing of the fundamental tone due to the numerous harmonics caused by the square wave output of the PIC.
Bookmarks