Association of

Shrewsbury

Railway Modellers

5th March 2025

 

Mike Wakefield explained how to make a budget DCC controller using Arduino boards.

 

                

 

 

 

 

A DCC controller for less than £50(ish)

 

I have 3 questions to ask you…

1. Would you like to operate your layout using Digital Command Control (DCC) but put off by the cost of controllers?

2. Is it possible to produce a DCC controller for a small outlay when the well-known manufacturers out-of-the-box controllers’ cost from £149 for the basic Bachmann EZ Command Control to £285 for the Hornby Elite to £544 for the Marklin 60226 controller?

3. Is there an alternative lower cost option available?

 

At our March meeting Mike Wakefield delivered a fascinating and enlightening presentation on how to build your very own DCC controller for around £50 (ish) - What's not to like 😊

 

Mike wanted to find an alternative that would…

· Be really affordable?

· Have very few limitations?

· Something he could build himself using parts he was already familiar with?

 

Why are DCC controllers so expensive?

· They have to do so much more then a simple DC controller, for example:

· Be able to select the address of the loco you want to control.

· Be able to alter the address of the loco.

· Be able to show, by lights or a screen, which loco you are controlling.

· Be able to adjust which way is forward and which is reverse.

· Be able to switch functions on and off.

· Be able to set up double-heading.

· Adjust the speed curves.

· Control points, signals, turntables and the like.

· And so much more.

There is a high cost of developing the necessary hardware, software and manufacture compared with the number sold.

 

So what do you need?...

a) A cheap mass-produced electronic board…

· The Arduino Mega board and add-ons

b) A suitable power supply

· An existing controller’s power supply

c) Some free software (open source) already written and available for the board

· DCC_EX

d) A PC/ laptop/ smartphone either Android or apple

· Computer and/or smart phone.

e) A suitable box or case to enclose the hardware

· Plywood or plastic box or use a 3D printer.

 

An Arduino is an open-source electronics board that uses hardware and software to read inputs and turn them into outputs to switch on lights, activate servos, control motors, and more. You can load a program into it so it behaves in a certain way. For DCC-EX you need an Arduino Mega as it has the most RAM.

Step 1…

Purchase an Arduino Mega board and a Motor Shield (shield expansion board) or you can purchase a complete kit.

Step 2…

Connect the Hardware – carefully push the motor shield male pins into the female sockets on the Arduino board (with the exception of the VIN pin which must be bent out). Connect the USB cable to the Mega board and the other end to the computer.

Step 3… Download the Arduino IDE software from www.arduino.cc/en/software

Step 4... Download the CommandStation-EX software from www.dcc-ex.com

Step 5…

Download the Web Throttle (EX-WebThrottle) from CommandStation-EX software

Step 6…

Transfer the DCC-EX software to the Mega board

Step 7…

You are now ready to run a train and you’ve done all the hard work. The Mega board is permanently loaded with the DCC-EX software and you’re running trains.

Optional extras – you can add Wi-Fi by connecting a Wi-Fi shield on top of the Motor Shield so you now have the Mega Board, Motor Shield and Wi-Fi Shield unit.

 

If you want to use your phone as the throttle, you can either use an Android or an Apple smart phone to control your loco. The DCC-EX software has been written for both. Android is currently slightly more advanced than Apple.

The iPhone option is called WiThrottle. and the Android version is called Engine Driver

From a Power perspective, to reduce the 15 volts from the motor shield down to a lower voltage the Mega can handle, you can use a Buck Converter to reduce 15 volts down to 5 volts.

 

So what has been spent so far…

· Arduino Mega board £18.99

· Motor Shield £15.99

· Wi-Fi shield £14.99

· Buck converter £4.05

· Total spend… £54.02

But you could spend more on extra pieces of hardware to improve your controller further…

To display some information, you can add an LCD display or even an OLED display to your controller.

If you have a large layout or run many locos at once, the 2-amp motor shield may not be sufficient. If so, you’ll definitely need the 5-amp motor shield for £42.99, which has been designed and manufactured by DCC-EX themselves.

 

If this has inspired you to try using DCC-EX and build your own DCC controller for around £50 please…

· Search YouTube for DriverDTrains for how-to-do-this videos. · Visit the DCC-EX website https://dcc-ex.com · Visit https://chesterfield-models.co.uk/ · Email Mike at mikewakefielduk@btinternet.com

·

If you would prefer to have someone else build and program the Arduino board and accessories for you, then you can buy the whole thing, already pre-assembled, with a 5-amp power shield and LCD display included, (the DCC-EX Arduino System Basic) directly from Chesterfield Model Making & Miniature Electronics (CMMME) for £79.

 

Mike also has his PowerPoint presentation available HERE which has much more detail to inspire.

 

Thank you Mike for a thoroughly fascinating presentation.

 

Trevor Oakley.

 

 

Older meeting reports.

Click on the description for more information.

Meeting 7th September 2022.

What's on your workbench.

Meeting 6th July 2022.

Visit to Telford Steam Railway.

Meeting 1st June 2022.

Building coaches in plastikard - Geoff Kent.

Meeting 4th May 2022.

Photographing model railways - Dan Evason.

Meeting 6th April 2022.

Members models

Meeting 2nd March 2022.

A mini exhibition.

Meeting 2nd February 2022.

The Story of Triang Trains- Dave Angell.

Meeting 5th January 2022.

10 minute presentations over Zoom.

Meeting 1st December 2021

Christmas social, bring & buy and quiz.

Meeting 3rd November 2021.

Creating brickwork and stonework. Tim Lewis and Nick Coppin.

Meeting 6th October 2021.

Weathering with ink washes and dry brushing - Andrew Vaughan.

Meeting 1st September 2021

Covid projects / whats on your workbench.

Meeting  4th March 2020

A career on the railway - David Maidment

Meeting 5th February 2020

Practical demonstrations from members.

Meeting 8th January 2020

Whats on your workbench

Meeting 4th December 2019

Christmas social.

Meeting 6th November 2019.

Signalling and a virtual tour around a local signalbox - Ian Payne.

Meeting 2nd October 2019

The Lynton & Barnstable Railway - Christopher Duffell.

Meeting 4th September 2019

The Rhymney Railway with Jonathan David.

Meeting 3rd July 2019

Garden railway visit.

Meeting 5th June 2019

Trackwork - Stephen Duffell, Gordon Woods, Tim Lewis.

Meeting 1st May 2019.

Modelling buildings in Plastikard - Geoff Kent.

Meeting 3rd April 2019.

AGM followed by the results of the diorama challenge.

Meeting 6th March 2019.

Modelling Swiss Railways - Dave Gotliffe.

Meeting 6th February 2019.

Members projects evening.

Meeting 9th January 2019.

Recording and reporting the narrow gauge world - Andrew Charman.

Meeting 7th November 2018.

Creating a diorama - Andrew Vaughan.

Meeting 4th October 2018.

Scenic modelling and backscenes - Mike Raithby.

Meeting 5th September 2018.

Authentic Model Railway Operation - Martin Nield.

Meeting 4th July 2018.

Visit to a members garden railway.

Meeting 6th June 2018.

Railways associated with mining in Shropshire - Michael Shaw.

Meeting 2nd May 2018.

First Experiences of Fitting DCC Sound to Diesel and Steam Locomotives – Gordon Woods

Meeting 4th April 2018.

AGM followed by "what's on your work bench"

Meeting 7th March 2018.

Resistance soldering - Phil Rowe and Radio contol - Dave Evans & Ian Payne

Meeting 7th February 2018.

Railways  of Western Australia – Stephen Duffell.

Meeting 3rd January 2018.

Designing and painting brass models.

Meeting 1st November 2017.

Megapoint controllers - Dave Fenton.

Meeting 4th October 2017.

Narrow gauge in the public eye - Trevor Hughes

Meeting 6th September 2017.

Bring-along-a-Model

Meeting 5th July 2017.

Garden railway visit.

Meeting 7th June 2017.

Railways and Durham City - “a journey to a model" - Gordon Woods

Meeting 3rd May 2017.

The Coalport Branch - Neil Clarke

Meeting 1st March 2017.

The Welshpool and Llanfair Light Railway.

Meeting 1st February 2017.

Mamod steam - Mike Wakefield.

Meeting 4th January 2017.

Members project night (What's on your bench).

Meeting 2nd November 2016.

3 short presentations by members 

Meeting 5th October 2016.

Live steam models in 0,00 & 009 scales - Brian Caton.

Meeting 7th September 2016.

SGM and members projects.

Meeting 6th July 2016.

Garden Railway visit.

Meeting 1st June 2016.

The County Donegal Railway - Eric Challoner.

Meeting 6th April 2016.

A selection of members projects.

Meeting 2nd March 2016.

The Importance of Forward Planning when building a Model Railway - John Barnes

Meeting 3rd February 2016.

Modelling Irish Narrow/Broad Gauge Railways. - Neil Ramsay.

Meeting 6th January 2016.

Current projects.

Meeting 5th November 2015.

Kerrinhead - Gavin Clarke.

Meeting 10th October 2015.

From Bretagne France to Hessen Deutschland - Doug Rhodes.

Meeting 9th September 2015.

Etched Brass Kits for Buildings -Andrew Vaughan.