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: Design Update
  • 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: 18 May 2023 3:06 PM Date Created
  • Views 2410 views
  • Likes 12 likes
  • Comments 14 comments
  • arduino automation
  • arduino
Related
Recommended

Raising the Bridge...Automation with Arduino: Design Update

colporteur
colporteur
18 May 2023

My automation project has provided some challenges. I’m continuing to work at it, but I needed some design changes to accomplish raising and lowering the bridge automatically without failures.

It has been a while since the challenge was kicked off and an equal amount of time since I made my post. I am working to completing the project before the end of May. Other retirement stuff is taking up my time.

image

The current design divides the layout into four areas A, B, C, & D. The letter designation reference the island side area, B the ramp area, C the bridge area and D mainland side area for descriptions.

Each area has sensors and/or animation devices (i.e. motors, light and sound) referenced by the numbers.

A1: is a magnetic attached to a servomotor. Raising the magnetic stops the vehicle at the approach. The magnet triggers a reed switch in the vehicle to kill power.
A2: is a barrier raised and lowered by a servo.
B1: has a servo that raises and lowers the ramp.
B2: is a magnetic sensor triggered by an earth magnet attached to the ramp to detect if the ramp is up or down.
C1: is an IR sensor to stop the bridge on maximum rise.
C2: is a geared DC motor to raise and lower the bridge (the bride has left the building:))
C3: a magnetic sensor triggered by an earth magnet attached to the bridge to detect if the bridge is up or down.
D1: barrier on mainland side of bridge.
D2: vehicle stop magnet on mainland side of bridge.

My original plan was to use on one Arduino to animate the scenario of sound alarm with lights, lower the barriers, stop the bus, raise the ramp and raise the bridge. Then reverse the scenario. I have since added an Arduino dedicated to managing sensor readings and bridge movement.

I discovered during motor testing to raise and lower the bridge there are many things can go wrong. When little humans (i.e children) are involved a lot more can go wrong. Wrong would cause damage to the structures. To prevent things from going wrong, I added some sensors. The sensors provide feedback to establish logic that can control the bridge's action.

Given sufficient resources, I feel the complete animation could be done with one Arduino. Using Nano’s (i.e. what I have on hand) I have limited I/O pins. Added the additional Nano provided more I/O.

The extra Nano enabled me to divide the animation between two microcontroller devices. One controller is now responsible for the bridge motor guided by sensor readings, the other can look after the servos and playing sound.

I just completed the sensor installs. The other animation devices are in place and working. I have a scenario coding to raise and lower the bridge with the bridge coding section absent. I’ve just started work on coding the bridge up and down sequence. Hopefully without a catastrophic failure.

  • Sign in to reply
Parents
  • Jan Cumps
    Jan Cumps over 2 years ago

    I think that your real savior will be the drivers with protection. Sensors will deal with some of the mishaps and abuse, but to avoid damage you also need a sturdy circuit.

    I followed the previous posts and saw that you moved to drivers that have the protection on-board. You won't regret that change.

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

    (also slippage may help. If you can manage to allow for, then there's less risk that things get forced).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 2 years ago in reply to Jan Cumps

    I'm considering some type of kill switch. The motor is not powerful enough to cause injury to a person but it is capable of ripping up scenery. I'm concerned  about this during onsite testing. I have suggested don't do the finishing work until installation and testing is complete. The warning has slowed them down.  I'm trying to prepare for that augh shite I didnt know that moment. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago in reply to colporteur

    Would the current protection help? Can you set it to a value where it kicks in when there's more friction than needed to entertain the bridge?

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

    Would the current protection help? Can you set it to a value where it kicks in when there's more friction than needed to entertain the bridge?

    • 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