Jump to content

Decoding Gray Code


Recommended Posts

Can anybody help me with decoding a 12 bit, gray code output from an absolute encoder? There are 12 bits of rotaional position data and up to 12 bits of ``number of turns`` data, using 24 inputs total. I would like to convert the Gray Code value to a floating point value, scale it and display it. The scaling and displaying portion I have no problem with. I`m just not sure how to go about decoding the gray code(without writing pages and pages of logic). Any ideas would be much appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...