HO UK model rail
As my Märklin digital rail layout runs at 17 – 20 volts, interfacing the contact sensors to the Arduino running at 3.3 – 5 volts could lead to a potential meltdown. Despite the fact that I’d love to see this happen, I suppose I need to be less profligate and save the Arduino to live another day.
As it so happens this challenges me to learn a little more about electronics, than my basic understanding at present.
After delving around on the internet, I discovered this article an just what I need (I think):
The above simple circuit is what I intend to construct for each of the 32 or so contact rails. I’ve already ordered some components for its construction, so in a couple of weeks I should be able to tell if my Arduino can make sense of the impulses sent to it
The components for each contact track comprise of :
I intend to solder these onto Veroboard.