I am working on an AgOpenGPS steering setup and want to use an analog encoder mounted on the steering gear. Most analog encoders I have found are single-turn (0-5V over 360°), but I need the encoder to correctly track multiple turns.
My idea is to:
Use a single-turn analog encoder (e.g., 0-5V output).
Process the signal using a Teensy 4.1 with the AIO 4.5 Board
Implement a software-based solution to count rotations and create a multi-turn effect.
My questions:
Is this functionality already built into the AgOpenGPS software, or do I need to program it myself on the Teensy?
Is it possible to write logic in the Teensy to track when the voltage transitions from 5V back to 0V (or vice versa) to correctly count the number of rotations? Does anyone have experience with this or know of a better solution?
I’d love to hear your thoughts before purchasing all the parts!
Is the steering using an orbitrol or direct mechanical linkage?
The functionality os not in the current Teensy firmware. You would have to create the routines to track how many revolutions clockwise and counter-clockwise.
@Ticeman11 Would love to hear how you came along with this? I’ve been thinking of something similar. I used a Danfoss encoder years ago building tractors and it was CAN based, easy to use. I believe this is also how Fieldbee works with their steering wheel replacement.