Using TrainSpotters and SoundBytes With Crossing Modules

One of the questions we get somewhat frequently is how to use the TrainSpotter infrared detectors and SoundBytes crossing bells with other vendors’ grade crossing modules.   After all, we offer the most reliable IR detection for the model railroads in our TrainSpotter line, along with the widest variety of prototype bells in our SoundBytes.  Who wouldn’t want to upgrade their grade crossings?

Today I’ve put together a guide for three of the more popular crossing control modules and show what can be done with each.  Specifically, we’re going to look at Logic Rail’s Grade Crossing Pro/2, Azatrax’s MRX3, and Dwarvin’s Lamplighter Flasher, along with a cheap popular Chinese flasher module from eBay.

xing-compare
Some popular crossing modules with two TrainSpotters and a SoundBytes bell.

 

Logic Rail Technologies – Grade Crossing Pro/2

The Grade Crossing Pro/2 is Logic Rail’s latest version of their grade crossing controller.  

Upgrading to TrainSpotter Detection

By default, the GCP/2 comes with either photocell sensors (the $47.95 GCP/2 version) or infrared (the $59.95 GCP/2-IR), and can also be purchased without sensors for $39.95.   Photocell detectors are always going to need room light to function reliably and are finicky, requiring you to manually set sensitivity with the onboard potentiometers, so they’re never a great choice.   If you go with the GCP/2 infrared sensors, each sensor set requires mounting a pair of devices – an LED and a phototransistor – and making sure they stay in alignment.   As I covered in our Optical Sensor Roundup back in 2018, Logic Rail’s infrared sensors use a constant beam, which makes them prone to some amount of interference from ambient light and other infrared devices.  Update: As Chuck points out below, the GCP/2 uses an updated modulated IR scheme.   I was remiss in not actually checking it with a scope before assuming it was LR’s older constant IR sensing scheme.  While I haven’t bothered to work out all the details, it appears to be a pulse of either 0.5ms and 1.25ms or so  going out at ~15Hz or so, which means it can probably use sensed pulse width to do pretty solid noise rejection.  Nice upgrade!

The TrainSpotter makes for an easy upgrade.  Not only do they mount with a single hole and no alignment issues, but because of their unique modulated infrared signal, they’re immune to interference from room lights or other devices.  Plus, Logic Rail brings out all the signals we need.   Just mount each TrainSpotter in the same place you would mount the normal GCP/2 sensor, connect the red wire to the +5V terminal, the black wire to the GND terminal, and the white wire into WF / WN / EN / EF as appropriate based on where the sensor is located.  I’ve circled the appropriate connections in green in the picture.  You will also need to set the dip switches so that “SEN TYPE” is OFF (towards the text label) and “SEN POL” is ON (away from the text label).

Connecting a TrainSpotter to the GCP/2

Upgrading to a SoundBytes Bell

Logic Rail offers an assortment of bells that you can plug directly into the board.  However, you might find that you like ours better, since we offer a broader range of exact prototype recordings and offer an integrated speaker.  So if you want to hook up a SoundBytes bell, here’s what it’s going to take.

The bell is a bit trickier, as unlike the detection inputs, Logic Rail didn’t bring out all the signals we need to make it work.  Connect the red wire to the +5V terminal and the black wire to the GND terminal.  Here’s the part where it gets tricky.  You need to connect the white wire into pin 6 of the expansion header.  I just used a spare 2-pin cable I had lying around, and hacked one wire/pin out of the connector.  These 0.1″ connectors are frequently called “Dupont” connectors for reasons that elude me, but they’re easy and cheap to buy on Amazon.  You could also solder to the pin, but that seems messy if you might want to eventually add a second track module or something that Logic Rail intended you to plug in there.   Update:  Chuck from Logic Rail confirms that they’ll also sell you just the 6-pin cable to plug into the socket.  The cable is available from their online store.

Connecting a SoundBytes to the GCP/2

Showing exactly which pin to grab on the expansion header for the white wire

Option B: If you want to cheat a bit and you’re not using the GCP/2’s EOG (the end of gate – aka, the constant on light – terminal), you can connect the white wire there as well.  If you are using it to drive LEDs or anything else, don’t do this – you’ll fry up the SoundBytes module like an egg on a Death Valley sidewalk in August.  But if you’re not using it for anything else, it’s perfectly safe.  The downside is that the bell will ring any time the gate lights are on, meaning any bell options set on the board will no longer apply.

Cheating on the bell connection


Azatrax – MRX3

The MRX3 is Azatrax’s latest solution in the grade crossing control space. 

Upgrading to TrainSpotter Detection

Unfortunately, it’s not easy to upgrade the MRX3 to TrainSpotter detectors.  The EB and WB inputs that can be used for current-based detectors don’t have the same delayed timeouts as are built into the onboard optical detectors, so they release the crossing as soon as the IR detector no longer senses something.  The onboard detectors use a very clever (no, seriously – *very* awesomely clever) mechanism for determining which IR sensors are attached and how they’re configured.  Unfortunately it precludes any easy way to connect TrainSpotters – sorry.  On the other hand, Azatrax’s mechanism for detection works quite well.

Upgrading to a SoundBytes Bell

Fortunately attaching a SoundBytes bell is actually easier on the MRX3 than it is on the GCP/2, at least assuming you’re powering the board with DC and not AC power.  (If you’re powering it with AC, you’re a bit out of luck.)  And by DC I definitely don’t mean an old crappy power pack.  All you need to do is connect the black wire from the SoundBytes to the negative power supply line and the red wire to the positive power supply line coming into the power terminals (P1/P2).  Then connect a line from the negative power supply to the CB terminal on the MRX3, and connect the white wire from the SoundBytes to LB or SB as appropriate for the bell behaviour you want.

Connecting a SoundBytes bell to an MRX3


Dwarvin’s Lamplighter Flasher

The Lamplighter Flasher and Integrated Railroad Crossing from Dwarvin can easily be used with our TrainSpotter and SoundBytes crossing bell modules.  It already comes with them!  Dwarvin supplies our reliable IR detectors and simple bell modules as accessories for their easy-to-use fiber-based railroad crossing solution.


Cheap Chinese Flasher Module

A cheapo Chinese flasher module
A typical cheap Chinese flasher module

On eBay or other various purveyors of the finest in cheap Chinese tech, you’ll often find somewhat crude grade crossing signals accompanied by a small PCB with three 2-position terminal blocks and a gold can with a tiny adjustment screw in the middle that flashes the lights.   These things don’t come with any sensors or bells, so in essence we’re not so much doing an upgrade as adding features they don’t even have.   But, a number of modelers seem to gravitate to them since they’re cheap, and for the most part they work.  So I’ll show you how to make them work.

The first thing to know is that they’re really dumb modules – there’s no microcontroller at all.  It’s just a blinker.  So any of the advanced “start flashing on approach, time out if it doesn’t hit the island circuit, etc.” behaviour that the GCP/2 and MRX3 have isn’t present.  So, that means to make them work effectively, we have to add as many IR sensors as it takes to make sure we have good coverage over all the places where we want a train to trigger the lights.   On a small branchline with signals triggered just before the train enters the crossing, one on each side might be sufficient.  If you’re modeling higher speed track, you’re probably going to want more sensors further out from the crossing with some significant turn-off delay.

The TrainSpotter normally turns back its “not detecting” state about 0.1 seconds after the train passes off the sensor.  This is known as the “turn off delay”, and it’s somewhat adjustable.   On the standard TrainSpotters (normal and right angle), there’s two metal pads on the back marked “JP1”.  If you bridge these with a dollop of solder, it increases the turn-off delay to 5 seconds from 0.1s.  If you’re using the 2-piece TrainSpotter then there’s a small potentiometer that allows you to dial in the turn-off delay you want, from 0.1s all the way to 25s.

To make this work, we’re literally just going to use the TrainSpotters to switch the power to the Chinese flasher module.  So, to do this, you connect the positive side of your DC supply to the positive input of the flasher module, and to all the red wires of all your TrainSpotter sensors.  You then connect all the white wires of your TrainSpotters together, and put that into the negative power supply connection on the flasher.  Finally, connect all the black wires from your TrainSpotters together and tie them to your negative power supply.  Using this method, you can connect as many TrainSpotters as you need together to cover your crossing.

Here’s how to connect it all up – the LEDs hanging off the board are just my way of testing that the LED outputs are working.  Also, please actually solder and insulate your black wire ground connection, as opposed to just twisting it together and leaving it flapping around to short out, as I did in this example:

Connecting TrainSpotters to the cheap Chinese flasher
A Chinese flasher module with two TrainSpotters connected for covering both sides of a crossing.

Adding a Bell

Adding a bell to this setup is incredibly simple.  Connect the red wire from the bell in with the rest of the red wires at the positive power connection.  Connect the white and black wires from the SoundBytes module together, and hook them to the white wires coming off the TrainSpotters. 

ccm-bell-conn
A bell and a TrainSpotter connected to a Chinese flasher module

 


A Mystery Entry

Wait, what’s this in the right corner?  We haven’t covered that one yet, and it’s got an ISE logo on it.  Could it be a simple crossing module that comes with TrainSpotters and a SoundBytes bell that plugs right in?  Stay tuned…

ise-xing
What is it? Is it a bird? Is it a plane? Is it a project or a product? Only The Shadow knows!

Comments

  1. Thanks for including our GCP/2 in your article. A correction and a comment. First, the GCP/2’s infrared emitters are NOT always emitting a constant beam like the original GCP did. We greatly improved (in our opinion) the IR detection reliability/performance with the GCP/2. We won’t share exactly what we’re doing but it is different and much less susceptible to any interference (and tweaked a bit with the latest firmware revision). Second, we do offer a cable (#X-CABLE, $3) which provides access to the GCP/2’s BELL output and TRIGGER output; the cable plugs onto that 6-pin header on one end and has stripped and labeled wires on the other end. Of course, we also offer a small variety of bell modules which plug directly onto the GCP/2 board but obviously that’s not the point of your article. 🙂

    1. Thanks Chuck, that’s completely on me for not checking your outputs before assuming it was the same. I’ve updated it accordingly, and you know I couldn’t resist throwing it on the scope to see what you were doing… 🙂 I couldn’t find the #X-CABLE in LR’s online store, but if you’ll drop me a link, I’ll gladly put the link in the article.

Leave a Reply to Chuck Stancil Cancel reply

Your email address will not be published. Required fields are marked *