Darrel, Mister_E
I am not very familiar with comparators and the use of timers. I have been trying to read more about how to implement them. But this is what I think I need to do. Feed signal into CCP1 pin (after setting up compare module) on say an 18F1320. Set timer1 to reset after every pulse (half cycle ~8ms) by using comparator interrupt flag. If interrupt flag is not set (voltage below threshhold), timer overflows and sets overflow flag. If this is correct, what I don't understand is where the reference voltage (comparator's trigger point)to determine a low voltage condition comes from. Its probably pretty simple but I haven't grasped it yet.
Thanks for the help,
Don
Edit:
After reading the datasheet again and again and again..... I think I may not have a clue what you guys are trying to tell me...
Bookmarks