Yeah, never used ZCD before either, looked to be the perfect solution for this and a good excuse to play with it.
Problem with the ZCD and my signal is that the bus idles at 35VDC for "long"...
if you don't try you will never know
richard Today, 06:39i have zero experience with zcd module but reading the blurb it seems to bias the pin to about 0.7 ish volts. the signal is applied through a suitable R, so that when the signal goes negative the...
richard Today, 06:35Thanks Richard,
I had actually read Romans article but, thankfully, my signal never shows two simultanouse tones - it's always one or the other which makes it easier.
I started with ZCD module...
I don'know - author on the link above used timer3.
I guess, mechanically changing it to timer1 or 2 won't work, since there's some ASM code involved...
why timer3 ?
any timer that can provide a 10mS interrupt could be employed, the self configuring aspect of the code will not function for modern pic chips. the code will need a tickle to adapt it...
not to be unexpected, the LCD timing defines need to match the display in use. some are very slow
I just did not understood what all these ff's at the end of the code do.
not pretty I...
Great work Richard!
Works very well. Thank you.
I had to change LCD_COMMANDUS to 2000 from 1500 for best performance.
I just did not understood what all these ff's at the end of the code do....
No MIBAM this time :)
I tried to use original files, but they got that error, then I found this post:
...
Re: FSK demodulator in firmware
if you drive a voltage divider after the dc blocking capacitor? You will have a predefined dc level to consider as "0 volts" for the comparator I guess.
Ioannis Today, 14:11Ioannis