Accelerometer Sensor


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    HI :-)

    Thanks People,

    Skimask the Car don't change the Speed.

    Thats mean that a Elevator for a little bit is accelerating and then have a costant Speed for a time T.
    When is slowing down the acceleration is going in the other direction and the speed is decreasing.

    Thats mean that I need a faster Bandwith,I use ADCIN and after that Hserout on my Microcontroller every 50 mS

    Is that correct?
    Last edited by Pesticida; - 21st August 2008 at 16:43.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    For the most part, yes.
    Read the ADC as fast as you can, compute the data later if you can, otherwise it'll take away from the time that could be used to capture another sample.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Skimask what bandwith should I use ,between 1Hz to 2Khz ?

    I use this for the moment:

    Main:

    ADCIN 0, adval[0]
    Pause 1
    ADCIN 1, adval[1]
    pause 1
    hserout ["A",DEC3 Adval[0],"B",DEC3 Adval[1],13,10]
    Pause 50
    Goto Main

    Maybe I can use this

    Main:

    ADCIN 0, adval[0]
    ADCIN 1, adval[1]

    hserout ["A",DEC3 Adval[0],"B",DEC3 Adval[1],13,10]
    Pause 30
    Goto Main

    Regards Pesti
    Last edited by Pesticida; - 21st August 2008 at 21:28.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Ok,

    Now when I correct understand I must the first Acceleration Change to measure How long the Acceleration is during then I know the distance for that Time for ex. 1 Seconds.
    And I can now found the distance for one second,when the speed is constant then is the Acceleration = 0 and after 10 Seconds I can found the final Distance!

    I hope is my thinking correct!

    Regards

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Hello,

    Ok I'm coming now to the conclusion that the G sensor is not the really thing for measure if a Elevator is moving and how fast is moving ! :-)

    Maybe have some one another better Ideas,I'm using for the moment current measurement to see if the Elevator is moving,but I'm searching for a Modern Solution that give me more Information like ~speed,Movement,Vibration and so on.

    Thanks

    Regards Pesti

  6. #6
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    You can add optical encoder to the main motor shaft for speed, acceleration measurement . Vibration can be measured with accelerometer

  7. #7


    Did you find this post helpful? Yes | No

    Default

    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.

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