Timeline for Optical Incremental Encoder Reading using Arduino UNO
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 29, 2018 at 0:50 | comment | added | jose can u c | I'm not sure I can be more specific. There are places where you add one to counter and places where you subtract one from counter. Switch the adds with the subtracts... Or just swap the two encoder phases physically, or define the pins swapped. | |
| Mar 28, 2018 at 23:39 | comment | added | crucl | what do you mean? could you more specific please? | |
| Mar 28, 2018 at 23:23 | comment | added | jose can u c |
Switch the counter+1 and counter-1
|
|
| Mar 28, 2018 at 22:59 | comment | added | crucl | Quick question for this great community. I was able to read the position of my encoder and converted that position to an angle. However when I rotate the encoder right it gives me a negative output and when I rotate it left it gives me a positive output. It is backwards, I checked my Code and I can't find the issue. Output rotating right starting from zero: -1 -2 -4 -5 -7 -8 -9 -11 Output rotating right starting from zero: 0 1 2 4 5 7 8 9 11 | |
| Mar 27, 2018 at 18:07 | history | answered | jose can u c | CC BY-SA 3.0 |