I have some EZ-Track turnouts on my layout, which I would like to automate with my Arduino. I want to detect when a train goes by, which I already know how to do, and then switch the turnout to the other direction. Is there a diagram for the green terminal wire used in turnouts? Is there a way I can control that wire using an Arduino or Arduino relay?