A magnet under the train operates reed switches positioned on the track.
The trigger reed switch starts the sequence by switching on the amber light,
a few seconds later the two red lights start to flash.
When the train has passed the level crossing it operates the cancel reed switch
which switches off the lights until the next train arrives.
There is a PCB pattern for this project, but if you don't have facilities
to make PCBs you can build this project on stripboard instead. Please see the
New Railway Modellers
website for a stripboard layout and advice on making model lamps and barriers.
This project uses a 555 monostable circuit
to switch on the amber LED for a few seconds. When this switches off it triggers a
555 bistable circuit which switches on a
555 astable circuit to flash the red LEDs.
The red LEDs switch off when the train passes the cancel switch.
resistors: 680 ×3, 1k ×3, 33k, 47k, 82k, 270k
capacitors: 0.1µF ×3, 10µF radial ×2
red LED (3mm best) ×2
amber* (or yellow) LED (3mm best)
* some amber LEDs are too orange to look correct, yellow may be better
The reed switches can be held in place between the rails with a small piece of blu tac.
Each locomotive will need a miniature magnet glued to its underside, test first
with blu tac, then use superglue.
PCB copper track pattern
This website does not collect personal information.
If you send an email your email address and any personal information will be
used only to respond to your message, it will not be given to anyone else.
This website displays advertisements. If you click on
these the advertiser may know that you came from this site and I may be rewarded.
No personal information is passed to advertisers.
(including this one) as explained by Google.
To learn how to delete and control cookies from your browser please