As the title suggest, I am new to Arduino and the hardware capabilities and options. I have several goals I am trying to accomplish which can be done with switches easily enough, but I am hoping to learn abit about Arduino to see if I can step it up some.
The train layout is current DC for a reason, my son is 4yrs old should say it all lol, I have this train yard with 4 legs. If you look at the 4 legs starting with 1 on the left top, 2 on the Right top, 3 on the Left bottom, 4 on the Right bottom, I want the following....
All off
Track 1 & 2 On
Track 2 & 3 On
Track 3 & 4 On
Looking at the picture, imagine the 2 passenger cars were missing and I wanted to park a train from the inner loop in there spot on leg 1. But I have 3 other legs with trains on them. In DC, this becomes an issue. Alternating between track 1 & 3 or 2 & 4 is easy. But I need to be able to turn off track 2 & 4 altogether to avoid either of those 2 trains from moving.
I really need some form of relay solution with a On - Off - On like a DPDT switch. And the only way I see doing that is with 3 relays per leg. Where 2 relays switch 1 rail of the 2 legs, and 1 relay turns off power to both commons of the 2 relays.
This brings me to my next question, regarding 5v relays (I saw blue ones), what is the duty cycle? Can they remain in the Normally Open state for half a day?
Since this is DC, voltage starts a 0v and goes to 12 or 18v (I dont recall), and max current for the entire layout is 1 Amp. Each train takes about .3amps at full speed. So I know the 3 terminal side of the relay is strong enough. But what about the arduino side, can I trigger the relay and leave it there for an entire day of running trains?
More questions to come including stepper motor control as well as stackability. The other big question, can any of these relays and motor controls be addressed by digital addressing.
Thanks,
John