Another sad example of “What to do with a Raspberry Pi”! Automated dcc trains the easy way using a Gertbot, Raspberry Pi and a tiny amount of python code. Features “Weighted Traction Control” and a “Boiler Fire Effect”. (Sorry Hornby.) The Hall Effect Sensors should be powered from the Pi’s 3 volt supply to avoid “fried Pi”.
See also HO Scale Norfolk Southern Model Train with NS GE C40 9 / BNSF GE C44 9W / CN GE Tier 4 GEVO