I want to create a model railway with switches that control the electricity flow on the lines. I want to make these switches have serial ports so that I can connect them to my computer to control the flow.
I have the programming side sorted out, now I have to do the switches. Trouble is, I have no idea where to start. I'd love some sort of quick explanation or a link to where I can learn more.