Tilt/Vibration Sensor


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    You could put a capacitor across the sensor to "average" the oscillations. Better yet, a RC network tuned to give you the desired time you want.

    I'm curious though, there is nothing in the datasheet says this will work as a "tilt" sensor. Only says it's a "vibration" sensor yet doesn't give you any specs on minimum movement required to trip the sensor. If someone moved the sensor very slowly would the sensor sense that? If not, it won't work as a tilt sensor as those trip when something is tilted no matter how slowly it's moved.

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    The last time I did something like this I used a mercury bulb switch. Yes, those were still available some years back; not sure about now. A slight tilt would cause the mercury blob to move thus breaking the circuit. For a vibration sensor, a cheap chinese toy was inspiration. Just needed a straight wire soldered perpendicular to a pcb surrounded by a spring (also soldered to pcb) with a blob of solder on its end to make its end heavy. Movement causes the blob to oscillate leading to multiple closures of the contact between spring and wire.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    Quote Originally Posted by Jumper View Post
    Cant you use an interupt that will start a timer when the circuit opens.. and then you use an interups to stop the timer when the circuit closes and reload timer.

    Then you set up the timer to overflow at a suitable time. If the box is tilted the timer will overflow and give you a timer interupt. If the box is just shaked the time between sensor toggle is so small so you will not get an overflow.

    maybe ;-)
    Yes, it is a good idea to try. But the main issue is that the sensor gives a series of pulses when triggered. Is not like the mercury tilt switch. Either shaked or tilted.

    Quote Originally Posted by AvionicsMaster1 View Post
    You could put a capacitor across the sensor to "average" the oscillations. Better yet, a RC network tuned to give you the desired time you want.

    I'm curious though, there is nothing in the datasheet says this will work as a "tilt" sensor. Only says it's a "vibration" sensor yet doesn't give you any specs on minimum movement required to trip the sensor. If someone moved the sensor very slowly would the sensor sense that? If not, it won't work as a tilt sensor as those trip when something is tilted no matter how slowly it's moved.
    Since we have a microcontroler, why make an integrator with RC net? As for the kind of sensor, yes it is more a vibration that tilt sensor, though very sensitive and can be used I guess as such.

    Quote Originally Posted by Jerson View Post
    The last time I did something like this I used a mercury bulb switch. Yes, those were still available some years back; not sure about now. A slight tilt would cause the mercury blob to move thus breaking the circuit. For a vibration sensor, a cheap chinese toy was inspiration. Just needed a straight wire soldered perpendicular to a pcb surrounded by a spring (also soldered to pcb) with a blob of solder on its end to make its end heavy. Movement causes the blob to oscillate leading to multiple closures of the contact between spring and wire.
    If this kind of sensor is commercially available, please give a link. This is going to be used in a relative low production.

    Thanks all for the contribution.

    Ioannis

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    RS components has a lot of tilt switches, see this link: http://uk.rs-online.com/web/c/?searc...es&sra=oss&r=t

    Cheers

    Al.
    All progress began with an idea

  5. #5
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    For me simple is better. If I can put a capacitor or resistor/capacitor on something rather than write many lines of code that's better than taking the time to make the code work.

    Your location says Greece so any link in the U.S. might not be viable but mercury tilt switches are fairly common here. If you have an old thermostat, the ones with the slide for setting temperature not digital, they have a mercury switch in them.

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    A variant on the wire/spring idea; use the coiled spring from an old thermostat. Add a drop of lead on the tip to act as contact.

    You might be able to have two axis by placing two springs perpendicular.

    This of course is totally theoretical.

    Robert

  7. #7
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default Re: Tilt/Vibration Sensor

    A quick image search on google for 'mercury tilt switch' showed a lot of those bulbs and 'non-mercury tilt switches' are now the norm.

    I found some commercial vibration sensors using the spring sensor here
    http://www.aliexpress.com/store/grou...210931515.html

Similar Threads

  1. IR Temperature Sensor
    By TravisM in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 23rd October 2012, 15:04
  2. 2-axis tilt sensor
    By Ramius in forum General
    Replies: 9
    Last Post: - 31st May 2012, 12:34
  3. Tilt Sensor Reading
    By sincity337 in forum Serial
    Replies: 6
    Last Post: - 20th September 2010, 05:23
  4. Replies: 6
    Last Post: - 18th January 2008, 08:17
  5. ultrasonic sensor
    By PoTeToJB in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th May 2006, 20:26

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts