Travis' World

Project Brainstorm => Model Trains => Topic started by: Travis Farmer on 2019-08-25, 13:18:19

Title: DCC++: my modified version of the base station
Post by: Travis Farmer on 2019-08-25, 13:18:19
Using the schematic here: ( , and the Arduino code from here: ( , i have updated my old prototype to include my Adafruit WiFi module. with the exception of memory usage, the circuit could be mounted on an Arduiono UNO. but because of the memory usage, i opted to use an Arduino MEGA2560. the WiFi module is from here: ( , with the UFL adaptor cable, and external antenna. the motor drivers are a pair of IBT_2 from eBay.

At some point, i would like to add a 20X4 I2C LCD screen for basic status reporting of such things like IP address, track power status, etc...

my plan is to build the base station into some sort of enclosure (hence the use of the WiFi module with the external antenna), and use an ATX computer power supply, plus a switching power supply for track power to the motor drivers, activated via a relay powered from the ATX power supply. i am currently torn between using a rack-mount enclosure for the base station, or a smaller unit. i could also build it into a wooden enclosure of some type. i think the rack-mount may provide the easiest mounting, but the wooden enclosure may prove cheaper to build, and modify.

Title: Re: DCC++: my modified version of the base station
Post by: Travis Farmer on 2020-01-04, 22:30:39
Just some thoughts and updates:
i am down-scaling the current capacity of the base-station, in favor of stability in programing. then i have only to create a DCC booster to get higher current for the layout. i have already ordered some of the components, and will proceed when they arrive.

first thing to do will be to make an adapter to support the Arduino motor shield, with custom pin routing. something that the IBT-2 cables can simply plug into.

also, i can reduce the power requirements for the base station. i can have just a single 15Vdc input, and use a simple LM7805 regulator to reduce the voltage down for the Arduino and TTL components.

the face of the enclosure will be adapted so i can easily make cutouts for various things. i think i will use a piece of 1/4 inch acrylic, and use my CNC router to mill out the cutouts.