Questions tagged [accelerometer]

A sensor to measure acceleration.

The senor is able to measure a single direction or a 3D vector. Changes in motion can be measured as well as gravity (orientation). The use is ubiquitous in smart phones to sense orientation and gestures.

459 questions
49
votes
1 answer

What are the differences between a gyroscope, accelerometer and magnetometer?

What is the difference between a 3-axis gyroscope, 3-axis accelerometer and 3-axis magnetometer? How do these sensors work? Why are all 3 used in some devices like smartphones, tablets, quadcopters etc.?
Kicsi Mano
  • 819
  • 1
  • 10
  • 23
35
votes
5 answers

How to determine position from gyroscope and accelerometer input?

I have a 3-axis accelerometer and a 2-axis gyroscope. I intend to measure something that only moves in the X and Z axis. I've heard of using Kalman filters to smooth out the acceleration vectors, but I can't find a good tutorial for a complete…
Steven
  • 491
  • 1
  • 5
  • 5
16
votes
5 answers

calculating inclination using accelerometer?

i have an analogue devices ADXL203 accelerometer on a breadout board and was wanting to use this to measure the inclination of some equipment at a reasonably high frequency (20-30 Hz). i am hooking it up to a campbells cr3000 logger to do the…
troy jensen
  • 161
  • 1
  • 3
14
votes
7 answers

Measuring small movements of a needle and syringe

My question is how to measure very small movements of a needle and syringe when injecting. When doctors inject local anaesthetic, they always aspirate (suck back) first to make sure they are not in a blood vessel. My contention, particularly if the…
13
votes
7 answers

Acceleration when device is on tilt

I'm currently working on device that uses always-on 3D accelerometer(using scale +-2g) and 3D gyroscope(using scale +-250g) -sensor. I can read every possible vector (X,Y,Z) and their acceleration (g's) and angular rate (dps) and also the angle…
jumbojohn
  • 131
  • 1
  • 5
13
votes
2 answers

How Precise can I get with Accelerometer and Gyroscope

I want to build a little project to track an objects position in space. For this I intend to use an accelerometer and a gyroscope. The problem is I want this tracking to be very precise, and I haven't been able to figure out how precise you can…
RasmusWL
  • 253
  • 1
  • 2
  • 7
13
votes
4 answers

Limits of dead reckoning using MEMS sensors

I'm trying to track body parts relative to a person's torso. I see quite a few questions about using MEMS accelerometers and gyros for dead reckoning, and they confirm my suspicions that various factors greatly limit their usefulness for these sorts…
Selali Adobor
  • 265
  • 2
  • 7
11
votes
1 answer

AHRS algorithm under continuous linear accelerations

I have tried several algorithms to get pitch, roll and yaw under continuous linear accelerations and vibrations (smaller than 0.4g, frequency lower than 10HZ). None of them give good results because the readings either drift or are affected too much…
Timtianyang
  • 521
  • 2
  • 6
  • 16
11
votes
4 answers

Dead reckoning with accelerometer & gyro. Possible?

I have a 3 axis accelerometer and a 3 axis gyroscope. I've been tasked with developing a dead reckoning system using this hardware. Essentially what's needed is for me to develop some code to track the position in 3d space of the board in real time.…
user41883
  • 111
  • 1
  • 1
  • 5
10
votes
2 answers

How to read a gyro/accelerometer

I recently purchased this MPU6050 GY-521 breakout board. I tried it with my Arduino Mega using this Arduino sketch provided by official arduino.cc. (MPU-6050 Datasheet, InvenSence (producer) Page) Man, it gives this weird output!!! InvenSense…
Anubis
  • 1,490
  • 3
  • 20
  • 32
10
votes
1 answer

Recovering data from a saturated accelerometer

I have an ADXL345 accelerometer and mounted it to a hybrid rocket to launch. Unfortunately, I forgot to set the range from its default of +/-2g to +/-8g (we expected 6g during liftoff). For +/-2g range, the datasheet lists an output resolution of 10…
Dang Khoa
  • 214
  • 1
  • 9
9
votes
2 answers

accelerometer/gyro combo question

I have a system arm that free-ranges within a certain area. The arm swings, translates and rotates about a vertical axis which sits atop a mobile base. The mobile base can move any direction in the X-Y plane. It's movements are strictly…
KirkB
  • 93
  • 4
8
votes
2 answers

Compensating for Accelerometer Cross-Axis Sensitivity

For my inclinometer application, I use an integrated 3-D accelerometer chip that outputs analog voltage. Before I deploy my device, I submit it collect a bunch of samples with different temperature and angles for temperature compensation. The…
Padu Merloti
  • 801
  • 1
  • 8
  • 20
8
votes
2 answers

Why am I seeing drift when using Madgwick algorithm to correct for orientation with 9 DOF IMU?

I am trying to correctly track orientation of a sensor with accelerometer, gyroscope, and magnometer, using the open source Madgwick algorithm. The algorithm returns quaternions which represent the rotation between the internal and external frames.…
8
votes
10 answers

Do accelerometers know when they are moving straight up or straight down?

I need a sensor that I can only place on top of an object, to count the number of times the object moves up and down. Would placing an accelerometer on top of the object accomplish this or can it track the transition between moving up and down? …
TheDudeAbides
  • 181
  • 1
  • 4
1
2 3
30 31