Showing posts with label BDL168. Show all posts
Showing posts with label BDL168. 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 







Monday, October 26, 2020

BDL168's ~The Robots Are Taking Over Our Jobs!

 Transitioning the Layout to Automated Operation.


    There doesn't seem to be any definitive how-to's when it comes to automating a layout. So I'm just going to figure it out as I go.


The first logical step seems to be Block Occupancy Detection. So let's start with that.

     A couple of Digitrax BDL168 LocoNet Occupancy Detectors should work for this.  Fortunately the track on the layout is already divided into electrical blocks from its DC cab control days. Later the blocks were "tied together" electrically when the layout was converted to DCC. Now I will "untie" the blocks electrically so that each block could then be wired individually to the BDL168's.


The control panel  illustrates the location of the 32 detected blocks. Each block is labeled with a city block letter and sequence number. One BDL168 will detect 16 blocks, so two are required for this layout (How's that for a perfect fit!). The intersection itself is its own block and does not need to be detected.



Rather than trying to wire the BDL168 while it's mounted under the layout, I temporarily mounted its 44 pin connector to a spare piece of plywood and wired it right there on the workbench. The other end of the wires are connected to terminal strips where the wires from the electrical blocks will be connected.

The wires had to be pre-tinned and then hammered into the shape of the holes they slide into.


Looking up underneath the layout (tap to enlarge photo). The 44 pin connector is mounted on the underside of the tabletop and the terminal strips are mounted to a joist with wires from the blocks routing in to the bottom row. The black and white wires on the far right are 14vDC (Digitrax PS14) power supply. The green wire in the center of all those wires is "ground" from the command station and the black wire next to it is the LocoNet connection.  The BDL168 (green circuit board) is plugged in to the connector. LocoNet cables plug in at the far left, one to the command station and the other to the second BDL168. The rainbow ribbon cable is for RX4 Transponder detectors, which it turns out, are unnecessary since the computer keeps track of what cars are where, and, the decoders I'm using don't transpond! But I digress...


So I fired up the layout, some lights flashed on the BDL168's, and I ran some cars around as if nothing had changed. Which is good. It means power is going from the command station, through the BDL168's to all the blocks. But are the BDL168"s detecting? I won't know that until a computer interface is established so a computer program can read the LocoNet information.

So the next logical step seems to be establishing a computer interface with the layout.

Yes sir! Establish a computer interface!

Dandy