Originally posted by Teemo
View Post

The timer1 gate function of the PIC12F1840 seems really useful. By setting the T1GSS bits of the T1GCON register to "10", it uses the comparator as the gate source. Pretty neat!
Also, from your block diagram, I can see that you're using the internal DAC to generate the threshold level for the comparator. Presumably the user is not able to set the threshold level manually, so how is this controlled? Is this a self=adjusting threshold (SAT)?
Lastly, what is the sensitivity of this detector?
Comment