Hello everyone, just wanted to share a little project I have been working on. My grandfather was clearing out his garage and found an old telegraph key which he sent me in the mail. This got me wondering if there was a way to incorporate it into actively running the trains as opposed to just being a static display piece. And this is what I was able to come up with. (Excuse my snail paced keying)
An Arduino Micro Controller and a 5 volt relay is all that is needed, and the telegraph key of course. The Arduino essentially looks at the pattern of dits and dahs and if "PRD" or ".--. .-. -.." is seen then the relay closes and the train proceeds and is "STP" or "... - .--." is seen then the relay opens and the train stops. The Arduino will play back a brief message through the buzzer. It is still a work in progress but hopefully this might inspire some of you to find other uses for Arduinos on your layout. If anyone would like, I'd be happy to share more details about the code or the circuit itself. Thanks for checking this out!