Did a detailed analysis of how MIBAM affects pause and general code execution at PIC16F1936 running at 32mhz and with 13 BAM outputs.
This is the simple code, and output is monitored with scope.
...
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
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 Yesterday, 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 Yesterday, 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...
Re: FSK demodulator in firmware
Thanks Richard, appreciate the effort but (always a but)....
HenrikOlsson Today, 15:07If I'm not reading the sim setup wrong (which I might) you have a +/-3V signal sitting on a DC-bias of 32V when, in reality, it is a...