Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Lego Train Automation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
27,282
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 27, 2010

This video shows a Lego NXT computer being used to automate the stopping and starting of Lego trains at stations.

Category:

Entertainment

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (duffandrew)

  • how much did this cost?

  • @WowOmgStudios

    It's hard to say because this is a collection that I built up over time. I would guess it is worth about 2 thousand if I bought all the parts today.

  • Love this! What sets should I get to get this done?

  • Thanks. I posted the details of the components I used on a site called mocpages, Youtube won't let me post the exact link here but if you go to that site and search for train automation you will find the details.

  • Yes everything is custom built.

  • Was programming it hard?

  • No, the programming was not hard. Basically it is just a loop that continuously checks the light sensor readings. If the light intensity spikes (because the train moves in front of the sensor) then the power is cut to the tracks (by turning the servo motor). After a delay (while the train is stopped at the station) the power is restored and the train moves on.

see all

All Comments (28)

Sign In or Sign Up now to post a comment!
  • Wow this is really good, The lights are just awesome :) great job there man!

  • this is one of the coolest things of lego ever

  • i love lego

    

  • @duffandrew Thanks!

  • Very intelligent construction. I also had the idea of using mindstorms to manage Lego model railroad. But I did not have time/money/room. I will do this in the future.

    Some suggestion for improvement: Instead, that NXT sends power to servo motors, which manipulate a switcher, use the NXT to send power directly to the track. To do this, use the Lego article 8528. Then you can use the NXT for manipulating speed, too.

    No switcher and speed regulator will be needed.

  • How much would this cost assuming I have the trains but not the NXT items?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more