Grayhill 25LB22H to EC18A gray code

Discuss mods, hacks, tweaks, etc.

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
Locked
User avatar
oer23
 
Posts: 8
Joined: Thu Dec 15, 2022 2:18 pm

Grayhill 25LB22H to EC18A gray code

Post by oer23 »

Hello there.
I want to change the Grayhill by other encoder like ALPS EC18A, much more common and cheaper.
The 25LB22H encoder use a "hexadecimal/decimal" code and the EC18A use "gray" code.
A friend edited the code, but if we use gray code for "bank" and "function", we have conflicts, the encoder can't control properly and the X0x are not functionnal.
By modifying just the "bank" in "gray" code it seems work, but the "function" order is not anymore the original, and using "gray" code for "bank" and "hexadecimal/decimal" for "function" there could also be some conflicts (I have some other test to make to control it).
If you have a idea for this problem it will be cool.

We worked and modified the S0kk0s 2.0 for the moment, and we try to modify MarOS later.

User avatar
oer23
 
Posts: 8
Joined: Thu Dec 15, 2022 2:18 pm

Re: Grayhill 25LB22H to EC18A gray code

Post by oer23 »

Finally my friend found the problem with the code.
Now S0kk0s and MarOS are functionnal with gray code encoder.
For the MarOS the "user C" function is desactived to win some space to write it in a Atmega162.

Locked
Please be positive and constructive with your questions and comments.

Return to “x0xm0dz”