Hello everyone,
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!
Best regards,
Ticeman11