Automatic Train Control

Get the trains running on time. Make your schedule. Any Arduino boards and your model railway set.

Jan 7, 2020

22515 views

20 respects

Components and supplies

1

Arduino UNO

1

Dual H-Bridge motor drivers L298

1

Jumper wires (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

Swing

arduino

Swing

arduino

Downloadable files

Circuit

Circuit

Connections to Rails

Connections to Rails

Circuit

Circuit

Comments

Only logged in users can leave comments

giulav2024

8 months ago

Hi! Why The site arduinorailwaycontrol is off?

goalken

2 years ago

I am Just saying that this game is so nice and entertaining. If you are feeling bore with your free times then come at this platform free <a href="https://fnafgame.io">fnaf five nights at freddy's</a> and start playing this Board game even without download or register. Thanks!

Anonymous user

2 years ago

Hello...why is it that the videos are "unavailable" for this project?

Anonymous user

2 years ago

Kindly advise me what type of Locomotive need to be use (1) DC, (2) Locomotive with decode Thanks

Anonymous user

2 years ago

Your work is fantastic. Thanks for sharing it. I have a question... What can happen to the L298n module, if there is a short circuit in the track, due to a derailment? Is it a good idea to mount a PTC fuse on the output motor wires for the track? Thanks.

sonnyboy1943

2 years ago

Hello...why is it that the videos are "unavailable" for this project?

agostopt

3 years ago

Your work is fantastic. Thanks for sharing it. I have a question... What can happen to the L298n module, if there is a short circuit in the track, due to a derailment? Is it a good idea to mount a PTC fuse on the output motor wires for the track? Thanks.

Anonymous user

4 years ago

Hello everyone! i need some advice.I'm searching for a way to control the race of train lego with arduino.The idea is that the train need stop at some certain points of the rail and doesn't move until we give it a signal(with remote control or push botton or something like this) Is it possible to do this with arduino ?

Steve_Massikker

2 years ago

Yes, this could be done.

Steve_Massikker

2 years ago

A little bit of back-story. Several years ago I making app for LEGO trains. But the owners of the LEGO trains could not fit the Arduino inside these trains. Arduino inside the train is necessary for the reason that to stop the train in a certain place, you need to block the rotation of the motor by an external command. The infrared control system provided with LEGO trains is closed to outside developers and is very primitive. It is impossible to organize timers, connect sensors and so on. For me, this story ended with the development of a Garden Trains app - https://arduinorailwaycontrol.com/applications.html#garden The modelers of such railways have a higher skilll of integration of electronics and have no problem integrating Arduino into trains. If you can install a microcontroller in your locomotive, then this system will work for you too. Then, for example, you can install a Hall sensor at the bottom of the locomotive body - then place a magnet (or some magnets if you need a lot of stops) between the rails and your task will be done.

Anonymous user

2 years ago

Thank you for your response !! Can you please give me some indications to how to do it..or indicate me a project that is similar for this idea

Anonymous user

4 years ago

Kindly advise me what type of Locomotive need to be use (1) DC, (2) Locomotive with decode Thanks