Tag Archives: circuit

Installing Automatic Grade Crossing Signals

CV Local and grade crossing signals
The CV Local led by L&N RS3 100 crosses Bonny Blue Road with its newly installed crossing flashers

Many of the grade crossings on the St Charles Branch didn’t have flashing signals and were protected by flagmen or fusees (see how I simulate fusees here), but a few of the more prominent crossings were protected by automatic flashing signals and bells. One of those crossings is Bonny Blue Road which crossed two legs of the wye in St Charles. I was looking for a way to make these signals work automatically with nothing required of the crews (beyond sounding the horn for the crossing) and no hardware needed on any rolling stock. I quickly settled on using IR sensors mounted near the tracks to trigger the circuits required for the crossing. While many of the major manufacturers of railroad electronics offer circuits for flashers and for triggering based on sensors, there seemed to be a lack of good, simple options for the sensors. So I did what many of us do when we’re looking for something–I turned to eBay.

I found a lot of products for flashing crossing signals, but one it particular caught my eye. A company called “WeHonest” was offering what looked to be decent looking LED signals that came with a flashing circuit for a very reasonable price. Being a little suspect of a foreign company calling itself “WeHonest,” I needed four signals, so I ordered a couple sets and hoped for the best. I ordered the signals with two heads instead of four (front and back) because my signals would only been seen from one direction, and the ones with four heads looked too thick front-to-back (I plan to add dummy heads on the back later). When they arrived a couple weeks later, I was impressed with the quality for the price. The lettering is easily readable, the construction is mostly metal, and the size and shape are good for HO scale. I had to clean up some areas of the metal crossbucks, and some of the silver paint flaked off, but these were easy fixes. I initially hooked up the flashing circuit to a pushbutton on the fascia, and the flashing circuit worked flawlessly and controlled all four signals in a synchronized manner.

The signal piece was solved, so now I needed a way to automatically control them. My confidence in “WeHonest” was bolstered, so I explored their options. They offer a “model train detector automatic signal controller crossing system trigger etc” (also called a “master board”) which shows a diagram of how it can be configured to trigger a grade crossing flashing circuit using simple, single-unit IR sensors that don’t require a broken path. I also needed a circuit that could support four sensors due to the tracks that would trigger this grade crossing, and while the board only supports two sensors, their diagrams show that you can connect more sensors via separately available splitter cables. They also offer a sound effect circuit with multiple grade crossing signal bells (and a rooster). I ordered a master board, sound effect board, two splitters, and some additional IR sensors.

Wiring Diagram for Grade Crossing Signal Circuits
Wiring diagram showing the connections needed between the three circuit boards, signals, and sensors

The documentation you see on eBay is all you get, so it took some studying and tinkering to set things up, but it wasn’t difficult. The basic idea is the master board is connected to 12V DC and the IR sensors. The sound effect board and flasher circuit are daisy chained off the 12V DC “output” side of the master board which is only live when the IR sensors are triggered. The only surprise on wiring was there are no normal contact screws for the 12V DC input, only a plug for an adapter and a specific connector type (both of which are sold separately). I found a plug off an old RC helicopter I disassembled years ago that did the trick. I mounted all three circuits and the speaker on a piece of masonite to keep the wiring tight and organized. Rather than use the supplied speaker, I attached a pair of baffled cube speakers I had pulled out of a locomotive when I replaced it with a Scale Sound System speaker.

Grade crossing circuit boards
I mounted all three circuits and the speaker on a single piece of masonite to declutter and protect the wires

I installed the IR sensors between the rails and ties as the company indicates in the pictures. When anything passes over it within a couple inches, the IR sensor is triggered. There is no documentation on how the sensor works, but it has two elements, a blue dome and a black dome. I can only speculate that it transmits IR from one dome and receives reflected IR in the other dome. When I hooked everything up, it worked great… with two IR sensors plugged into the two separate sensor inputs on the master board. When I tried to use all four IR sensors, it would trigger the circuit no matter what I did even if nothing was present. I noticed some sensors were more sensitive than others, so I experimented with different placements and combos and even the positioning of the elements within the sensor. Unfortunately, I destroyed one of my sensors in the process, but thankfully they’re inexpensive, and I found the WeHonest customer service to be very responsive and helpful!

Grade crossing IR sensor
Here’s an IR sensor with a portion of the black dome covered in electrical tape to decrease its sensitivity

When my replacement sensors arrived, they did the exact same thing as before. Two sensors worked fine, four sensors triggered the circuit even with nothing present. I really liked the overall operation of these circuits, so I kept experimenting to see what might work. I speculated that the circuit detects based on a threshold of received IR energy–with one sensor, the ambient IR was low enough to stay below the threshold, but with two sensors, the ambient IR increased above the threshold to make it appear a train was present. I found that if I covered a portion of the black domed element on some of the IR sensors, it would keep the circuit from triggering but would still trigger if a train passed. After playing around, I found covering about 60% of the black element of all IR sensors with a small piece of electrical tape made everything work as intended.

Now that I’ve worked out the kinks, I’m very happy with the crossing! I’m able to control the sensor sensitivity via the electrical tape, I can control the flash rate of the LEDs via a dial on the flasher circuit, I can select the bell sound from one of several good options on the sound effect circuit, and all of this works automatically with no actions needed from the crew. I have two more flashing grade crossings to go on the upper level, and I’m satisfied enough that I’ve already ordered the parts to replicate this installation on those crossings.

Protecting Model Train Grade Crossings with Simulated Fusees

Fusees protecting a grade crossing
The St Charles Switcher crew throws down a couple fusees to protect the Pot Branch Road grade crossing near Mayflower

I enjoy trying to copy every element of prototype railroading I can… as long as there’s at least an element of fun in it. When I saw this short video showing a Western Maryland crew dropping fusees (pronounced “fyoozees”) to protect a grade crossing, I started thinking about how I might model this. Fusees are used by railroads for many purposes including dropping them on tracks to warning following trains of their presence–because of this purpose, fusees are designed to burn for a set time, commonly 10 minutes. Fusees can also used to protect grade crossings that don’t have flashing lights like the one in the WM video, especially when it’s dark or posting a flagman wouldn’t be practical or safe. Since I want to model nighttime ops, and I haven’t made any HO scale flagmen to post yet, I decided I wanted some simulated fusees to protect the handful of crossings I have on the layout.

My first attempt was pretty simple and economical, just two fiber optic cables embedded into the “road” (it’s just paper and cardboard at this point) on either side of the grade crossing routed to a bi-color LED that I connected to the DCC track bus (creates a reddish orange glow) and a simple SPST push-button switch. To keep the fiber optic cable from falling through the road, I melted the end into a mushroom shape by holding it near a hot soldering iron. The other ends were taped together and inserted into a piece of shrink tubing around the LED. It was functional enough to protect the crossing, but I really wanted a way to 1) put the fusees on a timer, and 2) make them look a little more realistic.

Parts to make a simulated fusee
The basic parts to make a simulated fusee including fiber optics, the Bakatronics flares / fusee circuit, and the timer circuit

The timer issue was solved by searching Amazon and looking at a lot of different timing circuits. I finally settled on this one, though it’s probably overkill. I like it because you can choose one of several timing modes (fun to play with for other projects), you can set the timer for however long you want to keep the relay “on,” and you can easily see the timing settings on the display. To make them more realistic, I started with an internet search for “model railroad fusee,” and after chasing through some links in model railroad boards, I discover the Bakatronics BK-111 “Simulated Flares / Fusees Kit.” It looked promising, especially since it’s designed to power two fusees that “light” and extinguish several seconds apart (like one person is walking a short distance between lighting them, just like a grade crossing). I ordered two just to make sure it would work, and I was not disappointed! When activated, they “light” at different times, flicker independently for a while, then the first one goes out, then the second with a nice slowly diminishing burn out… really cool looking!

Fusee control
The fusees are controlled with a simple momentary SPST switch on the fascia

The Bakatronics fusee circuit is designed to work with either a momentary switch (stays on for about 30 seconds) or an on/off switch (stays on as long as the switch is closed). Instead, I wired the fusee circuit to the timer circuit so I could set the time the fusees stay lit exactly, and all the operator has to do is push a button once. I use a 4:1 fast clock, so a 10-minute burn should last about 2.5 minutes / 150 sec. The Bakatronics circuit add some time on its own, so I found a setting of 135 sec on the timer keeps the fusees lite for about 10 scale minutes, and like the prototype, the crew only needs to worry about whether or not to put down another set of fusees (push the button again) if the first set “burn out.” Both the timer circuit and fusee circuit run off a ~12V DC bus I have running around the fascia, previously to power semaphore lights. Here’s a video of the fusee in action…

We used these on my last operating session, and I thought they added a neat bit of prototype thinking for the crews–we had to think about protecting the crossings while moving the trains, and the flickering fusees gave a visual representation of the action taken. I can’t wait to try them at night when I’ve got the final lighting installed!

Wiring Diagram for Grade Crossing Fusee Circuits