Showing posts with label computer control. Show all posts
Showing posts with label computer control. Show all posts

Monday, January 04, 2021

DCC Turnout Control

 With the Success of Automating the Control of the Streetcars, I'm Moving Ahead with the Automation of Route Control.

This means replacing the old NJ International Twin Coil 'Snap' Switch Machines with Servos and Decoders.


Tam Valley's Singlet II Servo Decoder with Servo oughta do it.  I have 8 turnouts on the layout so to drive all these servos I will use...

    Tam Valley Depot Octopus with OctoCoder. The Octopus allows for the manual control of the turnouts while the Octocoder allows Loconet to communicate to the servos decoders which will make computer control of the turnouts possible.  I lucked out as one of these setups will power up to 8 Singlets. 

Control panel with controllers installed. It's not lit up yet since I haven't installed the servo's yet.


    The instructions state that its best for the input wires to be short and the servo wires to be long. So I installed the Octopus inside the control panel next to the servo controllers.

    Under the layout, DCC turnout control will simplify this wiring substantially when I replace the twin-coil switch machines (four of which are visible in this shot) with servos. Each servo will have just 3 wires compared to the 7 required for each of these machines! The capacitor on the lower left will also be eliminated. The cable left of center is DCC from the command station to the overhead trolley wires and BDL168s block occupancy detectors. A couple of wires from this will go back to the Octocoder allowing for Loconet communication with the turnouts. The twin cables in the center was the turnout wiring to the old DC control panel. These will be replaced by a removable cable from the new control panel for the servo wires.

    The control panel is built to be removeable so that the layout can be more easily moved. So a connector is needed for the cable from the control panel to the servos. John McWhirter was generous enough to gift me this one (Thanks John!). Wires from the Octopus will connect to the large end of this. The small end is attached under the layout and wires from the servos will connect to it.

Alright- I've got a lot of dewiring and new wiring to do. So lets fire up the soldering iron and get to it!

Yes sir! Get to it!

Dandy

Monday, November 09, 2020

Layout Automation ~ JMRI

The Computer Successfully Ran the Layout!

Java Model Railroad Interface is a free, open source program that works great for programing decoders, allowing the layout to be operated from a computer,  and even automating signals and other layout operation.


Last time, I installed a couple of Digitrax BDL168 occupancy detectors. Now I need to determine if they are in fact detecting. 

I'll use Loop A to test everything out. The cars can go 'round and 'round and I should get a good idea of how the program works and what to expect for the rest of the layout.

A Digitrax PR3 connects the command station to the computer:


After connecting the computer and all of the components together, I installed JMRI onto my computer. Then I drew a diagram of Loop A with its 8 electrical blocks, and assigned the proper BDL168 detection addresses to each block. Then I ran three cars on the loop to see what happens:

And it works! As you can see above the occupied blocks are red. The signal behind it turns red. When the car exits the block the signal turns yellow. When the car is two blocks away the signal turns green.

In this video I'm controlling the arched roof car that starts on the upper left while JMRI controles the two deck roofed cars behind it. JMRI does a good job of keeping the cars separated. Starting at the 1:45 mark I bring my car to a stop and the other two cars stack up behind it. Then I start it up again. Pretty darn cool.


A lot of folks have done great things with JMRI and while I've had great success with it, after spending some serious hours tinkering with this program I've decided to invest in TrainController Railroad & Co software and give that a go instead. JMRI is a powerful and versatile program but the lack of documentation on how to use the program is the deal breaker for me. After watching some YouTubes about Traincontroller I'm quite excited about it and look forward trying it.

But the important thing here is- the layout is automationable! And that was the whole point of it in the first place!

Yes sir! Automationable!

Dandy 







Wednesday, April 22, 2020

Estimating the Size of the Fleet

Just How Many Cars Are Required To Populate This Layout Anyway?


Considering the time and expense that goes into completing just one single car, I would like to focus on building a basic fleet.

Suydam Niles, Pacific Traction 400, WP PCC, 3rd Ave Car, Ken Kidder Birney

The Maths:


The layout is designed for automated operation. Given that there are 4 city blocks each divided into 8 detection blocks, this makes for a total 32 detection blocks (the main intersection is the 33rd block and is undetected- once a car is cleared to enter the intersection it does not stop.).


I estimate that for maximum traffic and yet smooth operation* only half the 32 blocks should be occupied by a car. That way generally each car has an empty block ahead of it. 

So a car on every other detected block makes for 16 cars.


The Answer:


16 cars:  motored, poled, painted, decaled, decodered, and detailed, to make for a maximum traffic operating session (though it might be fun to add that 17th car to see what happens with congestion ;) ).

Yes Sir! It might be fun!

Dandy


* Theoretically, the layout could "run" a maximum of 31 cars, but only one car would be moving at any given time. Basically it would be moving that one empty block around the layout.

Monday, September 26, 2016

New Auxiliary Control Panel

A Quick and Dirty Control Panel for the New DCC Turnout Controls.

The old DC NJ International Turnout Machines are being replaced by Tam Valley Depot Singlet DCC Decoder and Servo Drivers. So as a result a new control panel is required for the Fascia Decoders.

Control Panels are way easier to make these days with a computer and printer compared to the old mask and paint method.

This new panel is drawn with the free vector graphics program Inkscape. This time I included labeling for the electrical isolated blocks as well as a letter designation for each of the four city blocks.

The drawing was then printed out and glued to 1/8" Masonite Board. And then drilled to accommodate the Servo Decoders. Done! Easy peasy. Well... except now comes the wiring!


This new auxiliary panel provides a manual way to control the turnouts since primary control of the layout will be controlled by the computer. But I know computers, and my experience with computers has taught me that a manual alternative would be a wise thing. Yes sir! A wise alternative!

Dandy

Thursday, March 10, 2016

Track ~ Electrically Isolated Blocks

DC Block Control, Eliminated, and then Revived...

Gaps in the rails.  Originally designed for DC Block Control, DCC eliminated the need for these electrically isolated track blocks.

Power bus. A bare wire is run under the layout following the cloverleaf pattern of the track above to tie all the block wiring together.

Block Detection for Automation. Putting those old blocks to good use, they can be used to give feedback to loconet for use in running the layout automatically or semi-automatically.

Yes Sir! Running the layout automatically!

Dandy