John H posted:Stan or Brendan, can these sensors be paralleled so you could have a distance between them to make up for the gap between cars? I have trains running both directions all the time, so I would have one at each end of the block for signals. I'm enjoying this and all the help is making it possible.
For the gap, the best solution would be to add a delay using res/cap/tran as Stan2004 mentioned or an arduino. So long as you have an open collector/low input for the relay, you can have as many IR sensors as you want. In the setup I did, I used two - one for each side of a crossing. Ideally, a current sensor combined with the IR sensors gives full coverage of a block or section of track
Brendan