EveryCircuit
Contact
Reviews
Home
R_k
modified 9 years ago

Binary to gray code converter

2
1
74
00:37:08
(Part 1) It has a good practical application in rotary position encoders. If you use the linear codes as you  normally use, you will find that as the count progresses to the next, it is possible that more than two of the bits change simultaneously.. The worst part is , the change may not occur exactly simultaneously and so this transition period will give error (glitches) reading. To avoid this problem whole sale, use gray code where only one change will occur as the count prograsses. No chance of such error. The gray codes are generated on the right hand side...
published 9 years ago
BillyT
9 years ago
Good stuff, but seeing the encoder generates grey code how is it converted into binary?

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy