Fully automated Lego train-- proto

Loading...

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

Uploaded by on Aug 3, 2010

This is a prototype Lego train built with a power functions XL engine, a RoboDuino arduino board with an IR receiver and a reflex detector. Through the IR receiver I can control the speed and direction of the train using the remote control for my DVD player. The reflex sensor is used to detect codes embedded in Lego along the track.

The code is billed as high and low spots, where the length of the low spots indicates whether a zero or a one is encoded. Two examples in the video are 01 and 10. The first code indicates that the engine should slow down, and the second code is a stop command.

Notice how the engine is commanded forward by the remote control. It quickly ramps up to full speed and continues like this until it reaches the first code block. Once the first code block is read, the engine slows down to a more moderate speed. This speed is maintained until the engine reaches the second code (a stop command). Once the code is detected, the engine quickly decelerates to a full stop.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (kolaffsx)

  • True, but that wouldn't Have allowed the extensions I have made in later videos :-)

see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • With PF you can connect the battery box to the motor and it is an automatic

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