One of my hopes for the garden railroad is to be able to build some of my own electronics for it. Whether some off-track movement or lights, or a piece of automation that helps manage the trains. It would be very useful to be able to control the automation from the DCC throttle. So there is my starting point: build an Arduino system that listens to DCC and does something with the signal. After some searching on line I found several options and settled on the basic design from Dave Bodnar at Train Electronics . One of the components needed is an optocoupler. I wasn't familiar with this so did some reading and turns out, this is a pretty ingenious little device. It provides a way to have signals pass from a high voltage part of a circuit (for me DCC running at about 15-18V) to a low voltage part (the Arduino at 3.3 or 5V) while having them electrically isolated. The incoming signal get converted to light (hence to opto-) which is picked up by a photodetector and sent ba...
This is part 2 of How Far Do We Go from a few months ago. I left off there with a working prototype of an Arduino-based odometer installed in my refrigerator car. That car was part of a starter kit and doesn't fit well with my theme right now so it is doing duty as a utility and testing car. It was the first car where I replaced the default hook-and-loop coupler with a knuckler coupler. It now is the transition between the starter set and a few of cars I have acquired that came with knuckle couplers. However, as I ended the previous post, that car didn't lend itself very well to having a display or a battery pack with easy access. So I've torn that all out and started with a fresh design. The new design would have a four-line LED display, instead of two-line, to show more data and I decided to have a dedicated Arduino board. After trying a few combinations, I realized that the coal tender would be a perfect place for the odometer. It has a removable coal load wit...
This summer was particularly hot and busy at work so construction time was limited to small chunks here and there. But as fall approached I was able to give some focused time to the train and have been making good progress. A while ago I completed the initial sections so that I could run the trains a little. But trips were limited. The track didn't extend much beyond either switch and someone had to be at the controls all the time. Run time was about 20 seconds before the train had to stop and reverse. The train had to be short with only one or two cars besides the engine. Completed back segment That gave me plenty of incentive to complete more segments. I was able to add another segment in the back part that runs through the shrubs. And then in just a couple of days I was able to build the ladder railbed for four segments of the layout and was ready to install them in place. Due to the trouble we had getting pieces to line up (future post that's coming) my wife and I ...
Comments
Post a Comment