Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I put a bridge rectifier instead of separate diodes.
probally take less space if I did the separate diodes.
I forgot the resistance get's less the more you add.... There's me thinking it get's bigger and eventually will not allow enough current to power the led let alone a loco!
As for the led being lit by an optoisolator, the led shown won't actually be there, the collector of the photocouple connects to the detect output on the signalling circuit. When the photocoupler lights, the detect circuit is made and signal turns red (block previous to one loco is on. This in turn set's the previous block to that to yellow. If wagons stretch to that previous block, their resistors across the wheels turns that block red, and the previous one yellow.
Ta-Da
And here's the full circuit, for each block and signal.
J3 goes to block ahead of loco to switch yellow when block ahead switches red.
J2 goes to block behind loco to switch the previous block to yellow when J4 is switch by the block detector.
I'm so happy, you've all had reputation added. What a team...
Now to work out the PCB for the detector bit. That way if the detector goes wrong, I can swap just that section, likewise with the signalling part.
went wild and simed up o 89.1K at 89.2 the LED goes out (off, no light, not on etc.)
he DCC voltage would have effect on this for sure.
tried varing the battery voltage from 12 - 24, didn't make any difference.
I used 5K6 to illustrate because it is a common value for wheelsets as sold here. Using only two detectable cars per train, loading isn't an issue. Frequently, I recommend 470 ohms for the loco and caboose both. Combined, that's less than 65mA extra current. (500 ohms @ 16 volts = .032A) Insignificant..... 10 resistors @ 5K6, paralleled, would be 560 ohms. ~30mA... Perhaps better, as flicker from one car won't drop the signal.
Looking at your signal logic circuit, it looks very familiar... Were you to analyse my elementary, I think you will find it's about the same, merely two iterations of the circuit to provide signals for both directions. Bi-directional traffic is very common here because of the distances.
These days, I have a library of circuits in my head that I simply apply without thinking about them. As a novice, you probably were pulling out your hair over my comments. For that, I do apologize.
Hi Angie,
Er Um? That's cool when the train goes TO town, but does it come back or do all the passengers have a one way ticket. OR do you just have a circular track OR are you using double track.
Are you by any chance using the same signal circuit to drive the signals in the opposite direction? If so your opto isolator has to drive up to 4 LEDS at 15 Ma per LED. Can you sim the detector opto-isolators current limit when driving 4 LEDs at 15 milliamps each. I think it should be OK but it's worth a check.
Here's a photocoupler I have seen. Not a clue what to look for but in the first section of specifications it does say 50mA max forward current. Collector-Emitter voltage 35V.
However the second table say forward voltage 1.2V. Now, is this because it's an LED and requires the resistor as per schematic?
https://www.electro-tech-online.com/custompdfs/2009/12/0900766b80b79076-1.pdf
your wanting the block detect and signaling circuit on one board?
would be easier to put several of same circuit on one board.
double check if this is rght??
The forward current voltage drop is 1.2 volts. You have to take care of that with a limiting resistor. The resistor should pass 50 Ma at 12 minus 1.2 volts.
470 Ohms should be OK, but I'd try 560 Ohms first. The collector emitter voltage is a maximum. You are only using 12 volts so you should be OK.
Circuit breakers exist for DCC. The DCC booster has superfast breakers because of the unforgiving high currents that could weld points on switch together during a drailment etc. So there are special breakers for power regions (blocks in your case). But, not cheap.
There is a way to operate the section manually without any special electronics. But, it's manual.... Ask if you need help with it.