Hello everyone,
I have an interesting task in front of me and I would
appreciate your advice. I need to measure pulse widths
sent by an encoder using a pretty neat way of modulating
the VCO in an amateur (HAM) radio e.g.
Hi 200uS, Low 200uS, total = 400uS digital bit "0"
Hi 200uS, Low 400uS, total = 600uS digital bit "1"
Hi 200uS, Low 600uS, total = 800uS gives "StartBit"
Now the tricky part is that a phase shift might occur, thus
the data might be inverted. The ingenious thing about
modulating the data in this manner is that anyway you
send it data will always be the same. I was wondering,
if it would be better to use PULSIN, RCTIME combination
in conjuction with couple of IF, THEN statements or maybe
use the 16F628's CCP module. Any advice would be greatly
appreciated.
--
Sincerest regards,
YZ7REA Vladimir M Skrbic
4N7ATV Repeater Administrator
YU7GHZ Radio Club President
Bookmarks