Steve -
Bob is right - ?it can get tricky! ?But I am doing exactly what you are looking at: IR sensors at block entry and exit, ?monitored by an Arduino acting as a C/MRI node, talking with JMRI. In fact, I am in the middle of writing this all up to share somewhere. ?It¡¯s particularly interesting because I can set up monitoring of three blocks on a single Arduino nano for under $10 in components. ?I would be ?happy to share my Arduino code and write-up to get your comments as long as you recognize this is still a ¡°work in progress.¡±
?
Jerry?
___________________________________
jerryg2003@...