.ino for PCB+MD13S+Danfoss valve

It’s a 4 wire encoder, and there are two of them. I’ve tried hooking them up to PCB but then it throws a code on the tractor. Might just wire my own in but was hoping to avoid that. Excellent work with the Cytron.

John, before you change encoders, have you tried to ohm between 2 wires at a time with magnets away and then in front of sensor, to see if you can find a circuit that closes ?

The built-in encoders work good, it’s just if I disconnect them to tie into them or try to splice a wire into them at all the tractor sends error codes. It just makes for an annoying error code everytime the tractor is started and we don’t want that

I see. Agreed, one of the biggest frustrations is codes flagging.

Posted ino for Danfoss valve with Cytron driver on
https://discourse.agopengps.com/t/hydraulic-steer-jd-7720-not-autotrac-ready/4269/21
Thought I should put it here as well.
It has both USB and UDP ino along with Feb 21 copy of v4.3.10

https://drive.google.com/drive/folders/1x0x2QMcK6VCkzXXStmW830JM7wr_KuAg?usp=sharing