DCC Model Railway With Arduino –

Skip to content
  • News
  • Tutorials
    • enc28j60 and Arduino
    • ESP32
    • Arduino DCC
    • Serial port in c#
    • Led matrix with HT1632C
    • Finite-state machine and Arduino
    • Allegro A4988 and Arduino
    • Arduino Yún
    • Android e Bluetooth
  • My projects
    • QC250 Quadricopter
    • 4ld quadricottero
    • BTSwitch
    • Type4me
    • Nixie thermometer
    • Nixie clock
    • PowerLED Driver
    • AmbientMonitor
    • OTP door lock
    • RTCSetup
    • BlueMatrix
  • Libraries
    • Arduino – MAX17043
    • Arduino – Time-based OTP
    • ESP32 – IFTTT Maker Webhooks
    • ESP32 – HTU21D
  • Modules
    • mbed NXP LPC11U24
    • Li-po Rider
    • Lipo Fuel Gauge
    • Bluegiga WT11
    • Blink(1)
  • Tips&Tricks
    • Eagle
    • Citrix XenApp
    • VMWare
    • Linux
    • Windows
    • Shell scripting
    • JavaScript
    • Websphere
Category Archives: DCC Model Railway with Arduino

Let’s learn together: Turnout Decoder, #2

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaFriday April 14th, 2023

In the previous tutorial, we learned together how to use solenoid actuators to move the turnouts in a digital model railway. Sometimes those actuators don’t move correctly, due to the power supply not capable of providing enough current. It’s possible to solve this problem by adding a device called CDU (Capacitor Discharge Unit), which stores…

Let’s learn together: Turnout Decoder, #1

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaSaturday November 19th, 20221 Comment

When I published my previous tutorial, about building an accessory decoder with Arduino, many of you wrote me asking if it was possible to improve that simple code and implement a “real” turnout decoder, with more than one outputs. In today’s episode, I explain the most common actuators that are available to control a model…

Loconet and Arduino Pro Micro

Arduino, Arduino DCC, DCC Model Railway with Arduino, ElectronicsBy lucaSaturday October 15th, 2022

In this blog and on my Youtube channel, I presented some projects to control a model railway with Arduino. I chose to use the Loconet communication bus, leveraging the library MRRWA made available for Arduino. This library allows, in the init() method, to configure which transmission pin should be used, but the receiving pin is…

Let’s learn together: LnControlPanel

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaFriday May 14th, 20214 Comments

Today, in the new episode of my tutorial about how to control a digital model railway with Arduino, let’s learn together how to build a board for Loconet control panels. In the previous tutorials, we used an Arduino Uno board, connected to different interfaces, to create command stations, decoders and digital sensors. Thanks to a…

Let’s learn together: DCC++ and Loconet Control Panel

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaFriday April 30th, 2021

Today, in the new episode of my tutorial about how to control a digital model railway with Arduino, let’s learn together how to use the Loconet Control Panel with DCC++ Command Station. If your command station supports the Loconet bus, the turnout commands sent by the control panel are received directly by the command station,…

Let’s learn together: Loconet Control Panel

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaWednesday April 14th, 20214 Comments

Today, in the eighth episode of my tutorial about how to control a digital model railway with Arduino, let’s learn together how to build a turnout control panel connected to the Loconet bus. In an analog layout, it is normal to use pushbuttons to control turnouts and signals In the transition to digital control, these pushbuttons…

Let’s learn together: Locobuffer

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaSunday March 28th, 20218 Comments

Today, in the seventh episode of my tutorial about how to control a digital model railway with Arduino, let’s learn together how to make an interface – named Locobuffer – to connect the Loconet bus to your computer. In the previous videos, I always used a commercial command station (my Twin-Center) to manage the Loconet…

Let’s learn together: Loconet sensors

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaFriday March 12th, 2021

Today, in the sixth episode of my tutorial about how to control a digital layout with Arduino, let’s learn together how to build Loconet sensors. Sensors are for sure one of the most important elements for an automatic or semi-automatic management of a model railway. Their task is indeed to inform the command station or…

Let’s learn together: Loconet

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaSunday February 28th, 20216 Comments

Today, in the fifth episode of my tutorial about controlling a digital model railway with Arduino, let’s learn together how to connect Arduino to the Loconet bus. As the complexity and size of railway models increased, it was soon realized that what the DCC standard offered was not enough. In order to manage throttles, computers,…

Let’s learn together: CVs for DCC decoders

Arduino, DCC Model Railway with Arduino, Let's learn togetherBy lucaWednesday December 9th, 20203 Comments

Today, in the fourth episode of my tutorial about controlling a digital model railway with Arduino, let’s learn together how to customize the behavior of a DCC decoder programming its CVs (configuration variables). The DCC standard defines a decoder operating mode called service mode, which is designed for testing and customization of Digital Decoders (NMRA standard…

12→ Go to Top

Tag » Arduino Model Train Dcc Decoder