Despite the loss of few last posts this tread still has enough information to support my next hypothetical question:
As posted before I’m employing a PIC12F683 to generate a modulated 500KHz carrier.
The output is 15 mS carrier ON followed by 5 mS carrier OFF and it drives a LC resonant circuit to transfer power to a remote sensor. In my efforts to keep the part count and manual adjustments to a minimum I was wondering if a second PIC12F683 on the receiving side will be able to perform as a missing pulse detector and flip a pin high when the carrier is present and drive it low when the carrier is OFF?
I am aware that some jitter will be present but for my intended purposes even 100 uS will be fine.
How will one go about getting something like that to work?
I’m thinking that if an input is set for IOC and the interrupt is cleared as soon as possible. This indicates that the carrier is ON.
If no more interrupts that means carrier is OFF.
I never used interrupts so any input if this is a good approach will be appreciated. Some possible links to something like this will be more than helpful.
Regards,
Nick
Bookmarks