# Society of Robots - Robot Forum

## Electronics => Electronics => Topic started by: karmax on December 24, 2008, 03:39:18 AM

Title: BCD to Gray-code converter using 8:1 multiplexer
Post by: karmax on December 24, 2008, 03:39:18 AM
hey guys...
i want to design a circuit for BCD to Gray-code converter using 8:1 multiplexer .... i dont have any idea about it .. please help regarding this..
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: cooldog on December 24, 2008, 10:02:33 AM

you don't have to put

we can all help
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: karmax on December 24, 2008, 11:44:54 AM

you don't have to put

we can all help
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: Admin on January 15, 2009, 08:32:52 AM
hey guys...
i want to design a circuit for BCD to Gray-code converter using 8:1 multiplexer .... i dont have any idea about it .. please help regarding this..
Hmmmm can't you just use a microcontroller?

http://www.pc-control.co.uk/gray_code.htm
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: pomprocker on January 15, 2009, 11:19:07 AM
sounds like a homework assignment for a digital logic class  ;) i took that class a couple months ago, i could still help!

first step is make your truth table
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: pomprocker on January 16, 2009, 12:58:38 AM
BCD       Gray Code

0000       0000
0001       0001
0010       0011
0011       0010
0100       0110
0101       .....
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: Soeren on January 17, 2009, 04:16:03 AM
Hi,

Pomprocker, that's not BCD (Binary Coded Decimal), but straight Binary (which can be converted back and forth to/from Gray with XOR gates).

The OP should reveal the nature of this assignment (which it probably is), since it doesn't really make sense with BCD to Gray, as the sole purpose of using Gray is to only have one bit change at every transition.
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: pomprocker on January 17, 2009, 02:28:35 PM
Well this was from December so its probably late now anyway :P
Title: Re: BCD to Gray-code converter using 8:1 multiplexer
Post by: karmax on January 17, 2009, 03:03:34 PM
thnaks for replying . if u give me circuit also .then it will appericated