Building a Railroad
HC-SR02 Ultrasonic Sensor Multiple Track Control Point Signals
Much like the single block detection circuit. This circuit is designed for a Control Point junction.
Perfect for a double track siding or an industrial spur track. Using the Arduino Nano microprocessor, the multiple track design with three HC-SR04 monitoring the track locations of the control point.
The example shows Girvan Junction on the main loop of the BPRR. The control point we call CP Girvan control access from the lower loop to the main loop. This CP junction works independently from the upper loop CP Samson Wye.
Here are links to Arduino sketches of both single and multiple track train detection circuits. You’re welcome to copy and modify to meet your needs.
Check out the multiple videos I have on my YouTube channel on this topic.