These range from building a DCC system for about $45 (see below) to a crossing signal. There are actually quite a few basic Arduino videos on the channel, although most of them are aimed at beginners.