Skip to main content

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!

Attachments

Videos (1)
moviemakeronline.com.4fa95572-1203-4320-8e7a-b026069cf442
Original Post

Replies sorted oldest to newest

What exactly is an Arduino?

Great question! An Arduino is a small computer board that reads inputs, such as switches and buttons, and activates outputs, like lights, motors, and relays. There is some computer programming involved but it is pretty easy to find what you need on the internet. I think the Arduino code is C++ or some variant of C. That code is then uploaded to the Arduino unit which then runs on a 9v battery. The Arduino website probably does a better job of explaining then I can.

https://www.arduino.cc/en/guide/introduction

There seems to be a growing number of model railroaders using these boards. I have seen entire layouts on the internet with multiple trains run entirely by Arduino!

Very innovate approach to interfacing an old (but still digital) technology with contemporary technology.  I'm familiar with Arduino and there's a lot of neat things you can do with it, especially with it being open-source.

But I just can't help but ask:  What input would you be tapping into the telegraph key if you have to do an emergency stop/quckly cut power?  I don't think "... - --- .--." is going to be particularly helpful.    Ditto for any situation where you need to do something quick without necessarily killing power or slow to a rapid halt, like throw a switch at the last minute before the train arrives.

Last edited by John Korling

Very innovate approach to interfacing an old (but still digital) technology with contemporary technology.  I'm familiar with Arduino and there's a lot of neat things you can do with it, especially with it being open-source.

But I just can't help but ask:  What input would you be tapping into the telegraph key if you have to do an emergency stop/quckly cut power?  I don't think "... - --- .--." is going to be particularly helpful.    Ditto for any situation where you need to do something quick without necessarily killing power or slow to a rapid halt, like throw a switch at the last minute before the train arrives.

Lol I was thinking the same thing when I built it. "....." is the emergency stop signal for now. I will be wiring in a button that does the same thing soon.

@Gsyverstad posted:

Lol I was thinking the same thing when I built it. "....." is the emergency stop signal for now. I will be wiring in a button that does the same thing soon.

I think it's more likely you'll be hitting the kill switch over trying to input 5 taps into the telegraph key to avoid a rapidly approaching collision/derailment.    I'd still be curious what your inputs would be in situations where you still need to react quickly yet without necessarily killing the power.

Add Reply

Post

OGR Publishing, Inc., 1310 Eastside Centre Ct, Suite 6, Mountain Home, AR 72653
800-980-OGRR (6477)
www.ogaugerr.com

×
×
×
×
Link copied to your clipboard.
×
×