Pardon - I have not translated that much content to English for now - please enjoy the pictures and videos!
DCC Arduino universal PCB
The DCC protocol for model railways and the Arduino ecosystem are perfect partners. If you find DCC products from the model railway shop too expensive or too inflexible, or if you just want to do things yourself, you will find a variety of solutions in the Arduino world. On the 1:22.5 layout in the Hanover Tram Museum (HSM), a switch switch by RC servo and associated tram switch traffic light is at work by me, controlled by DCC via Digitrax. At home I realized a small H0 tram showcase with Roco DCC, Rocrail and motorized switch drives from mtb. From the flying setups used for this purpose, I have developed the nanoDCC universal board described here.
Features of my nanoDCC board
Hardware
* Arduino Nano
* Optocoupler for galvanically isolated takeover of the DCC signal from the track.
* 20 outputs connected to GND up to 500 mA - also inductive consumers.
* 17 free pins on the Arduino for additional connections (sensors/LED`s).
* 4 servo connectors.
* 2 adjustable DC/DC converters, e.g. separately for motor driven switches and servos from external power source.
* Large screw terminals in 5 mm pitch.
software
* Uses Arduino AP_DCC_library by Aiko Pras - any other software possible
* Example program for parallel operation of - Article wiring (LEDs in signals or house lighting, special functions)
- Switch wiring (motor drives with limit shutdown)
- Route switching via a single switch address
- Servo socket for switches or special functions (not yet programmed)
DCC Arduino universal PCB