Using the Keya Encoder as the Wheel Angle Sensor

You can’t trust a regular tractor-steering with WAS for position I’d think, but for something like a twintrack where the wheel always returns to dead-ahead… this is what I was working on.

Almost there with the Challenger, but things went a bit.. unusual today.

Settings:

  • firmware sets absolute position mode, no need to config
  • at dead-ahead, move the WAS slider anywhere (doesn’t matter) to reset “zero”
  • CPD - used to define how much turn an “angle” is, recommend perhaps starting at 30
  • Ackerman - at 100, this takes up the slack on a twin-track (eg, the amount of wheel movement before the tractor actually starts to turn). Recommend 50 to start.

In this case, I think Stanley would help, but who knows if I’ll get back to this machine again :confused:

Finally had a chance to do a quick field test on the modified firmware using the Keya as a virtual WAS. Ran around a really bumpy chisel plowed field for about 15 min.

First, it actually worked! I have NOT thoroughly tested and only ran for a short time.

Here are links to a short of the tractor driving and a zoom in on the setup screens.
https://www.youtube.com/shorts/0Kuc53NOFR8
https://www.youtube.com/shorts/xIkXbKqEcpw

The modified .ino used is located here. The readme has setup instructions and notes.