# Model Train Control System

**URL:** <https://forum.core-electronics.com.au/t/model-train-control-system/4294>\
**Category:** Arduino\
**Created:** [8 January 2019 22:53 UTC](https://forum.core-electronics.com.au/t/model-train-control-system/4294 "2019-01-08T22:53:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cameron7506](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Cameron7506](https://forum.core-electronics.com.au/u/Cameron7506)\
**Post date:** [8 January 2019 22:53 UTC](https://forum.core-electronics.com.au/t/model-train-control-system/4294/1 "2019-01-08T22:53:45Z")

</div>

Hi,  
  
  
  
I am doing a control project for a model railway club. The aim is to use an arduino or similiar to control motors, via a relay the switch the points. I will need to communicate between the arduino’s as they want both a local and central control panels with indicators showing point direction on all the central panel and the local panel. There will be two central panels and 10+ local panels.  
  
  
  
Cost is somewhat important as it is a small club, and they have over 100 motors to control. I was thinking of using arduino’s with relay boards, and then some sort of two way communication between each board possibly over ethernet?  
  
  
  
Can you suggest some appropriate products, it does not have to be arduino’, provided the progamming language is similiar to C++ as some of the member have a background in that, and could modify the code if necessary one I write the core components.  
  
  
  
kind regards, Cameron Wilson  
  
cpwilson@fastmail.com.au

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [9 January 2019 01:20 UTC](https://forum.core-electronics.com.au/t/model-train-control-system/4294/2 "2019-01-09T01:20:59Z")

</div>

Hi Cameron,

I would probably recommend using WiFi for this application. Networking a bunch of Arduinos together with cables would get complicated fast.

Great boards that are programmable with Arduino are the Photon and the Feather Huzzah:

> **[Particle Photon](https://core-electronics.com.au/particle-photon.html)**
>
> The Photon is a tiny Wi-Fi development kit for creating connected projects and products for the Internet of Things. It's easy to use, it's powerful, and it's connected to the cloud.

  

> **[Adafruit Feather HUZZAH with ESP8266 WiFi](https://core-electronics.com.au/adafruit-feather-huzzah-with-esp8266-wifi.html)**
>
> Feather is the new development board from Adafruit, and like its namesake it is thin, light, and lets you fly! We designed Feather to be a new standard for portable .. read more

Both of these boards can be programmed with Blynk, which has a great mobile app that you could use to quickly make an app interface to control the trains.

In this case the Photon might be easiest because we have this shield:

> **[Particle Relay Shield for Photon](https://core-electronics.com.au/particle-relay-shield-for-photon.html)**
>
> The Relay Shield allows you to control any normal outlet or high voltage product from anywhere. 240VAC is lethal. Do not use this product unless qualified to do so.

In theory you could control as many relays as the boards have digital outputs. I would look into using MOSFETs instead of relays as they would work fine and it would save a lot of trouble in the design and keep the cost down.
