How to Connect the DCC Interface to an Arduino.
To begin with, you will need the following items…
- an Arduino ( This guide only covers the Uno R3 and Nano – although others could be used )
- a DCC Interface which can be purchased from our shop
- a number of jumper leads ( male2male for an Uno, male2female for Nano – red, grey and blue )
- wires from the DCC Bus ( pre-wired fish plates work well in this scenario )
The colours of the jumper wires are just for illustration.
Arduino Uno R3
Step 1 – Start off by connecting a jumper wire (red ) from a 5v pin on the Arduino to the [+] pin on the DCC Interface
Step 2 – Connect a jumper wire ( grey ) from a GND pin on the Arduino to the [-] pin on the DCC Interface
Step 3 – Connect a jumper wire ( blue ) from the D2 pin on the Arduino to the [Ard] pin on the DCC Interface
Step 4 – Connect one wire from one DCC Track Rail to one of the DCC pins on the DCC Interface
Step 5 – Connect another wire from the other DCC Track Rail to the other DCC pin on the DCC interface.
The final connections should look as follows
The DCC interface is now connected to both the DCC Bus and the Arduino Uno R3.
Step 6 – have a cuppa tea!
Arduino Nano v3
Step 1 – Start off by connecting a jumper wire (red ) from a 5v pin on the Arduino to the [+] pin on the DCC Interface
Step 2 – Connect a jumper wire ( grey ) from a GND pin on the Arduino to the [-] pin on the DCC Interface
Step 3 – Connect a jumper wire ( blue ) from the D2 pin on the Arduino to the [Ard] pin on the DCC Interface
Step 4 – Connect one wire from one DCC Track Rail to one of the DCC pins on the DCC Interface
Step 5 – Connect another wire from the other DCC Track Rail to the other DCC pin on the DCC interface.
The final connections should look as follows
The DCC interface is now connected to both the DCC Bus and the Arduino Nano V3.
Step 6 – have a cuppa tea!