Small N Gauge Layout - Adding Signals
ฝัง
- เผยแพร่เมื่อ 14 พ.ย. 2024
- I ordered some cheap 2 and 3 aspect signal lights from eBay.
www.ebay.co.uk...
Not the finest quality(!), but they work and add some dynamic interest to the layout.
Two signals are installed and control is linked to the mainline points.
Point not thrown gives 2 greens.
Point thrown gives a caution yellow at the tunnel entrance, and a stop at the point.
Arduino code was simple enough -
1. Create classes for the 2 and 3 aspect signal lights.
2. Create instances for the north and south signals
3. Add logic in the void loop() method
// if point is thrown
// then
// set south signal stop (red)
// set north signal warning (amber)
// else
// set south signal clear (green)
// set north signal clear (green)
//
Sorry, but TH-cam doesn't allow pasted code...
The layout doesn't really lend itself to much more - maybe 2 aspect signal on yard exit and a 2 aspect light on the mine exit. But I'm not convinced that I'll do that...
Nothing as much fun as running trains...this looks a colourful layout...
so cool ! i'm amazed you have so much in such a small space, its a really nice layout.
You mentioned that it isn't the finest quality signals you bought but to me they look allright. I think with a little weathering they might look great. The signals I bought from Viessmann are so expensive and over the years I managed to destroy many of them because they are very fragile. I still have to install a number of signals on my layout and also change the older signals because they still are equipped with lightbulbs. I can't say I blame you if you don't install signals anymore since I know how much work it is and how much money they cost. Have fun with your layout. Thumbs up from me.
Neat!
Thank you for the kind comment!
เยี่ยมมาก
Thank you for your kind comment.