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
Arduino
  • Products
  • More
Arduino
Arduino Forum Accelerometer Automated Locking system
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 42 replies
  • Subscribers 393 subscribers
  • Views 3632 views
  • Users 0 members are here
Related

Accelerometer Automated Locking system

Former Member
Former Member over 10 years ago

Hello,

 

I am Yuvish Chintaram from Mauritius Island.

 

Recently, I have applied to a university and my acceptance would be considered on a project that would help to contribute to my society.

My other friends are planting mangroves to help protect the marine ecosystem but I am more interested in science  and think to have find an interesting project.

 

A few months ago, an accident occured to a student that fell from a moving bus.(I have send you the link below.)

Surprisingly, two more people fell from a moving bus from the back emergency door after the earlier incident.

A solution was found by the Government that all bus should have an alarm and  that when the door opens an alarm will ring. But this does not solve the problem!

 

Hence, my idea was to incorporate a locking system that is fully autonomous. The system should lock the door while the bus is moving but unlock itself when the bus stops at a bustop.

I was thinking of using an accelerometer that will detect the acceleration of the bus that will relay to a circuit such that at a minimum value the latter will send a signal that will automatically lock or unlock the system.

eg. If(X>200)

      eletric lock is lock  

      else if (X<200)
       electric.lock is unlock

 

I am here to ask you if you could give me some advice and also if my current solution will work.

I would also be pleased to know your ideas about my project.( How would you answer it, etc..)

I would really appreciate if you could reply me as soon as possible.

 

http://news.islandcrisis.net/2015/03/17-year-old-student-keshnee-purmasing-died-after-falling-from-school-bus/

 

Regards

Yuvish Chintaram

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago +1
    Given that once the bus is at desired speed, the acceleration will effectively be zero, the same as if it where not moving so this would not be an ideal sensor to use A GPS measuring speed in any direction…
  • shabaz
    shabaz over 10 years ago in reply to gadget.iom +1
    That's true, but (been a long time since I was on a bus!) there are the 'smash glass' hammers or override buttons with thin glass in front of them. Maybe that is not an option in some countries though…
  • Former Member
    Former Member over 10 years ago in reply to balearicdynamics +1
    Yes okay. so basically I have an: 1. Arduino UNO 2. 3 Axis Gyroscope+Accelerome ter Module for Arduino MPU 6050 3. I have not still buy thew electric lock but what do you think of this: http://www.ebay…
Parents
  • gadget.iom
    gadget.iom over 10 years ago

    I would recommend against the accelerometer approach, the kind of vibrations you are using to detect road surface imperfections during movement could easily be created by a stampede of people trying to get out. Of the suggestions made so far, GPS seems about the best IMHO.

     

    Also think about the duty cycle of your looking mechanism, as it will be releasing and relocating every time the vehicle comes to a standstill.

     

    When considering the locking mechanism look into fail-safe mechanisms. At least the lock will fail into safe condition (where the door opens) should any system damage occur.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to gadget.iom

    Paul, I agree that there is lot of complex math with accelerometer than GPS. The better solution is with both, as the GPS is not really always available, maybe problems with satellite and so on. With accelerometer the better solution IMHO is that, based on experimental approach it is created a sort of specific profile in the different conditions of movements. Instead, about the problem of locking / unlocking the door only when it is the worth, I think there are two considerations:

     

    1 - The door should be unlocked after a minimum number of seconds the system is stable in the previous set "unlocking conditions" to avoid continuous lock / unlock

    2 - In general, the unlocking not only at the bus stop but in more other conditions - e.g. semaphore stop, too slow movement (so no risk occur), temporary stop for any reason - should be strongly took in account to avoid the opposite situation than what the project should defend: people trapped in the bus just because it has not yet reached the unlocking door status nearby the bus stop image

     

    Last I think that - for a general security approach - the door should be normally unlocked so that the lock mechanism is a specific action. Is something occurs to the system (crash, power-off, borken etc.) the doors are released instead of remaining locked forever.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to gadget.iom

    Paul, I agree that there is lot of complex math with accelerometer than GPS. The better solution is with both, as the GPS is not really always available, maybe problems with satellite and so on. With accelerometer the better solution IMHO is that, based on experimental approach it is created a sort of specific profile in the different conditions of movements. Instead, about the problem of locking / unlocking the door only when it is the worth, I think there are two considerations:

     

    1 - The door should be unlocked after a minimum number of seconds the system is stable in the previous set "unlocking conditions" to avoid continuous lock / unlock

    2 - In general, the unlocking not only at the bus stop but in more other conditions - e.g. semaphore stop, too slow movement (so no risk occur), temporary stop for any reason - should be strongly took in account to avoid the opposite situation than what the project should defend: people trapped in the bus just because it has not yet reached the unlocking door status nearby the bus stop image

     

    Last I think that - for a general security approach - the door should be normally unlocked so that the lock mechanism is a specific action. Is something occurs to the system (crash, power-off, borken etc.) the doors are released instead of remaining locked forever.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Former Member
    Former Member over 10 years ago in reply to balearicdynamics

    ok lets say we use a GPS.
    But how would you integrate it in the circuit?
    How the sketch will be?
    I am new to all of this image help

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago in reply to Former Member

    Just a little bit of research can get you some useful information.

    http://forum.arduino.cc/index.php?topic=24337.0

     

    Connecting the gps will depend on the module you opt for, but it can be as simple as:

    Arduino-GPS.png

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to gadget.iom

    Thanx Paul that was really useful image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
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