Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help to convert gray code

Status
Not open for further replies.

Electonics_knowledge

Newbie level 5
Joined
Aug 8, 2018
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
94
I am using absolute encoder which has *** code output.

After reading on internet I have got to know that it it single-track gray code.

Gray code output:
Code:
0000000000
0000000001
0000000011
0000000010
0000000110
0000000111
0000000101
0000000100
0000001100
0000001101
0000001111
0000001110
0000001010
0000001011
0000001001
0000001000
0000011000
0000011001
0000011011
0000011010
0000011110
0000011111
0000011101
0000011100
0000010100
0000010101
0000010111
0000010110
0000010010
0000010011
0000010001
0000010000
0000110000
0000110001
0000110011
0000110010
0000110110
0000110111
so on...

Encoder output:
Code:
0000000000
0000000001
0000000101
0000000100
0000000110
0000000111
0000010111
0000010110
0000010100
0000010101
0000010001
0000010000
0000010010
0000010011
0000011011
0000011010
0000011000
0000011001
0000011101
0000011100
0000011110
0000011111
0001011111
0001011110
0001011100
0001011101
0001011001
0001011000
0001011010
0001011011
0001010011
0001010010
0001010000
0001010001
0001010101
0001010100
0001010110
0001010111
so on...
Please suggest any conversion to binary or decimal.
 
Last edited by a moderator:

Cut and paste the following into any search engine:

"gray code to binary conversion"

You don't say if you're trying to do this with software, an FPGA or discrete circuitry.
 

I am using controller so software is required. or any simple circuit also will do like logic GATES.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top