I'm a novice when it comes to the timers and interrupts. Seems like a good idea that's worth trying.If you only want to know ON/OFF duration of 18v signal, why not use the signal to control the base of a transistor that would send 5v to a PIC?
Then I would use interrupts on that pin and use a timer.
Idles low.1 does the line idle high or low
1ms on/1ms off2 what does a start bit look like
1003 how many bits in a session
It's a 1 but it can vary. Before the packet is received, I will know what is a 0 and what is a 1.4 100uS / Off - 400uS a 1 or a 0 ?




Bookmarks