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 3651 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
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    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 could be used as an alternative though.

     

    Your project is a worthy one but you need a different sensor

    Many new cars have a sensor that locks the doors once the car is over a set speed. This may give you somewhere to look.

     

    You could also tie into the but electronics (CAN BUS) and read it's speed

     

    Good luck

    peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    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 could be used as an alternative though.

     

    Your project is a worthy one but you need a different sensor

    Many new cars have a sensor that locks the doors once the car is over a set speed. This may give you somewhere to look.

     

    You could also tie into the but electronics (CAN BUS) and read it's speed

     

    Good luck

    peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • michaelkellett
    michaelkellett over 10 years ago in reply to Robert Peter Oakes

    By far the best bet is use CAN bus info ot detect if the bus is moving, but only if the bus has CAN.

     

    If you are thinking of retrofitting to old vehicles you will need some other kind of sensor.

     

    One of the problems with adding safety systems to existing technology is that people apply very high standards to the new system. So you will need to ensure that your lock is very reliable - because people will count on it working and lean on the doors. You must also ensure that the doors unlock if the bus stops , or crashes etc so that people are never trapped inside it.

     

    I doubt that a one person project can do more than demonstrate feasibility of the idea and perhaps make a model.

     

    It is  a good idea - many cars already have such a system - are you sure that it is not available on new buses.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to Robert Peter Oakes

    Oh yes I have not thought of this. Constant speed means 0 acceleration.


    But since I will attach the accelerometer to the bus, i will also have to take into consideration the vibration of the bus.

    And I think The vibration when it will move and when it is steady are different?

    What do you think?
    Unfortunately the bus do not have CAN.
    And not all bus here have this locking system. I will try with the accelerometer first then i will see.
    Can you give me some advice with the sketch?
    I will have to use a relay to operate the electric lock.

     

    Regards

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

    Hello

    I am really pleased for your advice.

     

    Unfortunately, the bus do not have CAN.

    But i really wanted to try it with the accelerometer.

    Then i will see it it works or not, and i can learn from that.

     

    Do you have an idea how the sketch will be? I am not so good in sketch image

    I can also include an override switch to the driver just in case and use a relay to operate the electric lock.

    Regards

    • 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