Protoboard: Gray Code to Binary and Back

Awesome Protoboard work pt. 2.

In Lab we had to design an Encoder and Decoder to switch from binary to gray code. Now, gray code binary is very simple with only needing two XOR Gates from a 74LS86, but to encode binary to gray code takes a little more work.

In order to accomplish this you would need 3 MUX IC chips (Multiplexer – 74LS151). Basically a multiplexer is just a series of possible inputs where depending on the binary input you would in turn receive an appropriate output. It’s really cool and was a lot of fun to make, if you ever come across this chip you should definitely try messing with this project, it’s not that valuable in the sense that this can easily be done by hand, but rather to just get a basic sense of how multiplexers work.

Red LEDs Binary Output / Green LEDs Gray Code Output

Leave a Reply

Your email address will not be published.