amdaley
Hello Everyone.
 
I have just purchased a Dapol Junction Signal & I'm wondering if there is a way to control the signal from the Auxiliary switch on an Ip Digital point motor. I did a search but any posts on the subject seem to be several years old & apply to old Dapol signals ?
Being a junction signal is it possible to run both signals from the same Ip digital switch by combining the orange wire from one signal with the brown wire from the second signal so that one signal is always at danger depending on what way the point is set ? The reason I ask this is because I'm using the other Ip digital switch on that particular point motor to switch frog polarity of that point as I am running a separate Accessory bus.
I do have an unused Rex unit in my spares box if that's any help ?
I know Train Tech produce a unit for Dapol signals but I'm trying to keep costs down.
Thanks everyone.
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
amdaley
Thanks Robin.
 
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
amdaley
Sorry double post.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
Robin Sundt Echini
Hi Tony,
One answer is to create a "block" on either side of your signal to detect trains going past. Then put a Legacy Detector on the block that will trigger if there is a Loco in the block and pass power through to a pair of Relays if there is a Loco in the block.
This diagram uses Magnetic detectors at each end of the block and quite simply whichever end the Magnetic detector detects a train it fires the appropriate relay and disabled the other detector until the Loco leaves the block.
The two Relays are triggered by their terminals going "Low", Ie: being connected to earth.
One Way Signal.jpg
 
If you wanted to use IR Detectors, you would need to use two IR Detectors each to switch a relay to give you a simple On/Off switch like the Magnetic Detectors.
Regards
Robin
Reply 0 0
amdaley
Hi Robin.
 
Thank you for that.
I will study it carefully.
 
If I use magnetic switches would I have to fit every loco with a magnet ?
If I use IR detectors any Locomotive or item of rolling stock would trigger the relay ?
Is that correct ?
If that is correct then IR Detectors might be better ?
 
I suppose I could use reed switches but again that would mean fitting a magnet to every loco ?
 
Is the signal powered in the normal way with the red & black wires going to DC or DCC ?
Where do the two yellow switching wires from the signal connect to ?
 
I have found the relay on Amazon but can you recommend Magnetic & IR detectors which I might use ?
 
Thank you.
 
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 1 0
amdaley
Hi Robin.
 
You might look at my questions above when you get a spare moment ?
 
Thank you.
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
Robin Sundt Echini
Hi Tony,
Sorry for the delay, things have been a bit manic.
Yes if you use Layout Concepts 4mm magnetic detectors you will need a magnet on each loco but the wiring is quite simple.
I prefer an IR detector, I use these from Amazon.
IMG_1867.jpeg
 
I then replace the IR LED and detector with longer ones to go through the baseboard from underneath like this
IMG_1864.jpeg
The replacements also come from Amazon, the specs are on the drawers where they are kept
IMG_1866.jpeg
Again both from Amazon.
The Sensors need 5v and produce 5v at the third terminal when triggered, so you need to use that to close a relay to give you the basic on/off for the circuit above.
The Dapol signal is powered in the normal way.
Hope that helps.
Robin
Reply 0 0
amdaley
Hi Tony,
Sorry for the delay, things have been a bit manic.
Yes if you use Layout Concepts 4mm magnetic detectors you will need a magnet on each loco but the wiring is quite simple.
I prefer an IR detector, I use these from Amazon.
IMG_1867.jpeg
 
I then replace the IR LED and detector with longer ones to go through the baseboard from underneath like this
IMG_1864.jpeg
The replacements also come from Amazon, the specs are on the drawers where they are kept
IMG_1866.jpeg
Again both from Amazon.
The Sensors need 5v and produce 5v at the third terminal when triggered, so you need to use that to close a relay to give you the basic on/off for the circuit above.
The Dapol signal is powered in the normal way.
Hope that helps.
Robin
Thanks Robin.
The signal power wires go to 12volt Dc.
I was thinking where do the signal yellow switch wires go as I'm still a little confused ?
I didn't quite understand the bottom of your original diagram & the two white lines running through the relay board & the writing on the right ?
Sorry if I'm being a bit dense.
Tony
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
Robin Sundt Echini
Hi Tony,
If you refer back to the previous discussion about the double signals at the Station entrance, I said that you need a relay wired like this.
IMG_1868.jpeg

If you trace the power through the last wiring diagram, when the signal should be activated there will be 12v power in the bottom right red/black wires.
So a relay, like the above, needs to put in to switch the signal.
Having said that, if your Dapol signal has two power wires and two yellow wires it is one of the older signals that require 12v power and the signal is switched each time the two yellow wires are shorted.
The downside of these signals is that the signal will change on or off each time the yellow wires connect but there is no way to differentiate between the signal being on or off. So it is easy for the signal’s position to be wrong.
I am not aware of any way of ensuring that this type of Dapol signal can be guaranteed to stay in sync.
Reply 0 0
amdaley
Hi Robin
Thank you for that.
I will study the diagrams & see if I can see a way to make it work. It may take some experimenting.
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
Robin Sundt Echini
Hi Tony,
Don’t be afraid to experiment. You are using 5 or 12v so you are unlikely to blow yourself or anything else up. Most of the things like IR detectors cost pennies so even if you did manage to damage one the hurt to your pocket is minimal.
Get a good multi-meter to measure voltages and continuity and get some coloured pens and draw the current flows on multiple copies of the circuit diagram to trace through what is happening. I often print one copy for each possible switch or detector position and then colour in the power flowing through the wires and you can see what works and what doesn’t.
Good luck, learning is half the fun!!
Reply 0 0
amdaley
Hi Robin.
 
It's a learning curve alright 🙄
Most of there sensor boards according to reviews come with no instructions at all & those that do have diagrams which are beyond my old brain.
The only thing I am worried about is where to connect the two yellow switch wires from the signal as any voltage in these wires will turn the signal into a non operating one and they're too expensive to be doing that 🙄
 
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
Robin Sundt Echini
Hi Tony,
Correct. No voltage should be applied to the two yellow wires of a Dapol signal, which is why it is best to use a relay:
IMG_1868.jpeg
If you connect the two yellow wires to Com and NO (Normally Open) and nothing to NC (Normally Closed), then there is no voltage anywhere near but - when the relay is activated NO will close with Com and the signal will be triggered.
Try it. Set it up on the bench and see how it works.
Reply 1 0
amdaley
Hi Robin.
 
So to summarise. I know this is bound to be wrong but here goes ?
 
The top diagram with IR detectors instead of magnetic ?
The IR detectors have three terminals. Which do I use to go to the terminals on top of the 4 relay module ?
 
The red & black wires from the Legacy Module go to the bottom vcc & ground pins on the lower right of the 4 relay module & the black wire also goes to the Common terminal on the top relays 3 & 4.
Red & Black wires from the Lagacy module also go to the Dc Positive & Dc negative of the 1 relay module ?
The yellow wires go from the Signal go to the Com & No terminals of the 1 relay module ?
 
Should the trigger switch on the 1 relay module go to high or low & should the Jd-Vcc jumper remain as it is on the 4 relay module & what is the significance of the blue line at the end of the 4 relay module & the white lines across that module ?
 
I know some of this make make no sense because I'm really in the dark here 😒 I can do things likes leds, resistors & general model railway wiring but when it comes to Arduino & relays I'm lost.
A diagram of how the whole thing goes together would be great if you ever have the time. If you are too busy I'll understand.
I'll still have a go anyway. If you see the South of Ireland suddenly disappear off the world map don't worry It'll just be me.
There's no rush as I have yet to get the items needed but I'd really like to have a go at this.
 
Regards.
Tony.
The only stupid questions are the ones you don't ask.
Tony.
Reply 0 0
Reply