Accelerometer Sensor


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    Quote Originally Posted by CocaColaKid View Post
    An accelerometer will just measure the time is takes to go from one speed to another speed, not the distance. It has no way of knowing how far it has traveled unless it is constantly accelerating and decelerating.
    Hi, KKKid

    Not really true ...

    if you integrate accel*time, starting from zero ... you will be stopped for integrated result = 0 ...

    But, as in real life, there are always calc. roundings and little sensor errors ... you never get a true detection.

    The Proof : Model planes Heading Lock Gyros ... Yess !!! The Heading is good ( or considered good ) for a Zero integration sum ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Ok, I stand corrected. You could use one to do the calculations but it would have to work perfect. I talked to an aviation engineer about this and he laughed. It is possible, but the calculations would be nasty. For example, what happens when the elevator is going up or down and some kid jumps in the elevator? Unless the math is done precisely and the event cancels itself out then you'll end up with and error in you distance.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Quote Originally Posted by CocaColaKid View Post
    For example, what happens when the elevator is going up or down and some kid jumps in the elevator? Unless the math is done precisely and the event cancels itself out then you'll end up with and error in you distance.
    Héhé ... no error due to children nor !

    integrating their movements give a precise 0 Sum : they do not fly or pass through the floor !!!

    Alain

    PS: take care to aviation engineers ... they perfectly know their manuals ... but I already had some surprises about their flight mechanics knowledge ...
    Especially for balancing models ... they didn't learn the stab lift effect could be from down to up !!!

    Dangerous for a big liner ( can become unstable at low speeds )... but widely used for gliders in contests !!!


    re-PS: Talk of inertial guiding to your engineer ... will he still laugh ???
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4


    Did you find this post helpful? Yes | No

    Default

    That is what I meant. Every movement will have to have an opposite in order to zero it out. The problem I see would be making sure that always happens in the math. Making that many readings and trying to get them to zero out in such a short period of time I would imagine would be very difficult.
    Last edited by CocaColaKid; - 25th August 2008 at 17:56.

  5. #5
    Join Date
    Jun 2006
    Posts
    6


    Did you find this post helpful? Yes | No

    Default Freescale MMA7455L

    Hi, I'm developing a localizator with the accelerometer MMA7455L, but it don't works.
    Someone used this sensor?
    I'm using a PIC16F88.
    I'm connected the pin 1,6,7 to 3,6 VDC; the pin 2,5 to GND, the pin 14 to micro's SCL and the pin 13 to micro's SDA. SDA and SCL have two 4,7K pull up resistors. I try to read some register without answer. I try to connect pin 4 to GND, but without effect. Is the device address $1D?
    Have you some software example for read and write the registers with I2C Bus? Can you help me?

    This is a piece of code:

    IND1 CON $1D '%00011101

    PAUSE 2000

    MAIN:

    ADDRESS=$1A
    I2CREAD SDA,SCL,IND1,ADDRESS,[TMP]
    DEBUG "MODE1 ",BIN8 TMP,13,10
    PAUSE 1000

    goto main

    thank you

Similar Threads

  1. Need a cheap touch sensor idea.. here it is
    By mister_e in forum Code Examples
    Replies: 20
    Last Post: - 16th April 2016, 22:42
  2. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  3. PICBASIC PRO-coding for wireless sensor node
    By syazila in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th February 2009, 00:05
  4. Replies: 6
    Last Post: - 18th January 2008, 08:17
  5. RH/Temp Sensor Example Code
    By Bruce in forum Code Examples
    Replies: 7
    Last Post: - 15th June 2006, 15:55

Members who have read this thread : 0

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