Model Train Forum banner

1 - 2 of 2 Posts

·
Registered
Joined
·
60 Posts
Discussion Starter #1
Hi, we have tried to connect a R3 (Arduino clone) to our Central Station 2 and.... succeeded.

Here is how we did it, the code is in the description of the video. Enjoy watching.
R3 Uno as S88
 

·
Registered
Joined
·
2,350 Posts
I like to use the Nano Strong boards from DIY More, which I get from AliExpress for about $5 each. This board is only 40mm square, but has the advantage of providing 3-pin headers for each I/O pin (data, +5v, and ground). You can get servo extension cables pretty cheap online which plug directly into these headers, and the arrangement provides an easy method to hook up sensors. For example, with the addition of one resistor I can add an IR LED transmitter and receiver on the end of the cable.

I use the code from Rudy's model railway for the S88 circuit. You can also use this same board with Geoff Bunza's DCC decoder code to build a turnout controller which will drive up to 17 servo motors directly. It's a pretty versatile board so I always keep extras on hand.
 
1 - 2 of 2 Posts
Top