element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Crazy Arduino Automations
  • Challenges & Projects
  • Project14
  • Crazy Arduino Automations
  • More
  • Cancel
Crazy Arduino Automations
Crazy Arduino Automations Blog Raising the Bridge...Automation with Arduino: Pin Count
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Crazy Arduino Automations to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: colporteur
  • Date Created: 28 Mar 2023 11:22 PM Date Created
  • Views 2496 views
  • Likes 6 likes
  • Comments 21 comments
  • crazyarduinoautomationch
Related
Recommended

Raising the Bridge...Automation with Arduino: Pin Count

colporteur
colporteur
28 Mar 2023

image

The comments posted from my initial blog entry got me to thinking. Did I size this correctly?

The bridge spans the Mainland to Island. At either end of the bridge is a gate, an area to halt the bus and warning lights flashing when the bridge is closed. In addition to the lights, I've added a warning sound. At one end of the bridge is a ramp that enables the bridge to avoid the road bed as it rises. A trigger to raise the bridge will be the Tug and to lower the bridge the Turn-About. The bridge motor is using a L298 module and the bus halts, gates and ramp are servo motors. All toll I'm counting 14 pins required.

D2 Bridge Up limit
D3~ Ramp Servo
D4 Bridge Down Limit
D5~ Island Gate Servo
D6~ Mainland Gate Servo
D7 Bridge L298 Motor IN2
D8 Bridge L298 Motor IN1
D9~ Bridge L298 Motor EN A
D10~ Island Bus Halt Servo
D11~ Mainland Bus Halt Servo
D12 Warning Sound JQ6500
D13 Tug Sensor
D14 Turn-about Button
D15/A0 Island Warning Light
D16/A1 Mainland Warning Light
  • Sign in to reply
Parents
  • beacon_dave
    beacon_dave over 2 years ago

    "...Did I size this correctly?..."

    If not,  "You're going to need a bigger bridge..."  Slight smile

    So I take it that no the bridge lowers briefly whilst the turnaround takes place then opens again once the turnaround is complete and the boat is ready to set sail ?

    How are you doing the logic with single switches either side ? Are you keeping track of the boat direction, toggling based on the current state of the limit switches, or just toggling raise/lower each time you hit a switch and hope you don't ever get out of sync ?

    Do you need to control the points motor so that the boat departs on the other track than it arrives on or does that rely on the railroad team ? I assume it is basically a loop track with a turnaround siding. Likewise, do you need to control the turnaround ?

    Does the LED signage need triggering when the bridge is closed to traffic ?

    Perhaps trigger some sea shanties whilst on the turnaround Notes

     "...You will have a fishy on a little dishy; you will have a fishy when the boat comes in..." Shark

    What's that ? I'm banned from the model railroad club for life ? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to beacon_dave

    You could have an isolated track section that runs under the bridge, which only has power applied when the 'bridge raised' limit switch is triggered. That will help prevent the tug from ramming the bridge when the bridge is in the lowered position.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • beacon_dave
    beacon_dave over 2 years ago in reply to beacon_dave

    You could have an isolated track section that runs under the bridge, which only has power applied when the 'bridge raised' limit switch is triggered. That will help prevent the tug from ramming the bridge when the bridge is in the lowered position.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube