Thread: IR HELP
View Single Post
  #3   Spotlight this post!  
Unread 16-01-2008, 11:05
jerry w's Avatar
jerry w jerry w is offline
Free Agent Mentor
no team (Team Krunch)
Team Role: Engineer
 
Join Date: Nov 2003
Rookie Year: 2002
Location: dunedin fl
Posts: 113
jerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud of
Re: IR HELP

this brings up an important point about error detection. a good programmer will be able to provide an error indication.

at no time should all 4 decoder lines be high. one line will pulse high for 100 ms, which is long enough to be detected during 3 RC-cycles. if any line stays high for more than 5 cycles in a row, it is likely that the wire is disconnected between RC and decoder. the line will float high when the wire is broken.

as your software reads the decoder bits, only one bit should be active at a time. it might be a good idea to light an error light on the OI console to alert the wiring crew to the problem if more than one decoder bit goes high at the same time.

jerry w
__________________
Happiest when people tell the truth... However, I am blessed with many friends.