Search the Community

Showing results for tags 'level crossing arduino'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Frontpage, Forum Information and General LEGO Discussion
    • Guest Section - PLEASE READ BEFORE YOU REGISTER!
    • New Member Section - PLEASE READ BEFORE STARTING!
    • Frontpage News
    • Forum Information and Help
    • General LEGO Discussion
  • Themes
    • LEGO Licensed
    • LEGO Star Wars
    • LEGO Historic Themes
    • LEGO Action and Adventure Themes
    • LEGO Pirates
    • LEGO Sci-Fi
    • LEGO Town
    • LEGO Train Tech
    • LEGO Technic, Mindstorms, Model Team and Scale Modeling
    • LEGO Action Figures
    • Special LEGO Themes
  • Special Interests
    • The Military Section
    • Minifig Customisation Workshop
    • Digital LEGO: Tools, Techniques, and Projects
    • Brick Flicks & Comics
    • LEGO Mafia and Role-Play Games
    • LEGO Media and Gaming
  • Eurobricks Community
    • Hello! My name is...
    • LEGO Events and User Groups
    • Buy, Sell, Trade and Finds
    • Community
    • Culture & Multimedia

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


What is favorite LEGO theme? (we need this info to prevent spam)


Which LEGO set did you recently purchase or build?


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Country


Special Tags 1


Special Tags 2


Special Tags 3


Special Tags 4


Special Tags 5


Special Tags 6


Country flag

Found 1 result

  1. (Warning: this is not for purists, I even had to cut one LEGO cable!) A while ago I started playing with electronics combined with LEGO trains (http://www.eurobrick...22#entry2473697). But also using an Arduino with LEGO is great fun, my first finished project is an automatic level crossing: You can see two PF motors moving the barriers. An Arduino uses four reed switches to count the coupling magnets on two tracks - the barrier will open only if no train is between the reed switches. The PF motors are connected to an Arduino "Motor Shield". Both motors are connected to the same output. So I had to cut a PF cable - but I'm using both parts, since a PF battery box provides the power. Two red LEDs blink while the barriers are closed. The barriers are really fast, and closing them has higher priority than opening (you can see this in the video at 0:14). The orientation of the reed switches is critical, so not every train is detected in every direction on every track. We used this at "Bricking Bavaria" and the second day we found a combination that worked and the level crossing worked from 10-17.