View Single Post
  #19   Report Post  
Posted to rec.crafts.metalworking
Richard Lamb
 
Posts: n/a
Default Payback to this group

John wrote:

Richard Lamb wrote:

Richard J Kinch wrote:

Richard Lamb writes:



As a word of advice onthe encoding, look up "Gray code" techniques.
the reason it's important is that in Gray code, only one bit changes at
any transition.


Encoders these days are incremental quadrature feeding a counter, not Gray
code. Gray code made sense when the electronics were costly, but not so
today.


Ah. I guess I've dated myself.
Just wondering if I got lucky...

Richard



Gray code was used on aircraft reporting altimeters because it was easy
to determine an error in coding. If any one bit was out the thing would
report wierd altitudes in sequence.

John


They were used a lot on simulators too, and the weird read outs were great
for troubleshooting...