[Jimmy] at the aptly-named DIY and Digital Railroad channel has several videos ... a DCC system for about $45 (see below) to a crossing signal. There are actually quite a few basic Arduino ...