Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [accelerometer]

A sensor to measure acceleration.

32
votes
5answers
54k views

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 ...
7
votes
2answers
4k views

Accelerometer double integration error

I wanted to use an accelerometer or IMU to measure speed and displacement over a period of about 1 minute or 400m. From this answer I found at stackoverflow, the error propagates at a rate of \$t^2\$ (...
3
votes
1answer
11k views

Rotating a gyroscope's output values into an earth-relative reference frame

For whatever reason, I seem to have gotten myself twisted into quite a confusion on how to process data from my 3 axis gyro and 3 axis accelerometer to get gyro rotation values related to the earth's ...
11
votes
4answers
5k views

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 ...
2
votes
2answers
2k views

Accelerometer switch to trigger LED fade

I'm planning out a very simple circuit using an LED, capacitor, switch and a battery. The Idea is that the LED is off until something "bumps into" the circuit. At this point it should light up and ...
2
votes
2answers
298 views

Measuring the velocity/acceleration of a swinging pendulum

I'm trying to find a good way for measuring the speed/acceleration of a swinging pendulum. I know one way is to use an optical encoder for capturing the rotation positions, but unfortunately there's ...
0
votes
1answer
68 views

No change in MPU6050 values when interfaced with PIC. Why?

I'm trying to interface mpu6050 module with pic16f886 microcontroller. But, i'm getting x-axis, y-axis and z-axis as 0. Why is there no change in readings even when i move my mpu? edit: This is the ...
43
votes
1answer
66k views

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 ...
6
votes
2answers
7k views

How to determine relative position using accelerometer and gyro data

I am designing a robot, and need to track the distance and direction of the robot motion, Nothing in 3D, I only need x,y and angle in x y plane. My question : Is it possible to use gyro and ...
9
votes
1answer
10k views

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 ...
3
votes
6answers
10k views

Calculate G's of an Accelerometer

Pat asks: Accelerometer Breakout Board - ADXL193 +/-250g could you tell me if this is correct. Looking at the data sheet the mid sensitivity is about 8mv/G @ 5volts. If I use a 10bit adc @ 5volts ...
3
votes
2answers
2k views

Detecting foot steps

I'm building an interactive disco dance floor. Like the light up dance floors from the 70's, but each floor panel should be able to detect when it's being stepped on and possibly light up to show this....
1
vote
1answer
11k views

Understanding how to use an accelerometer to detect vehicle collisions

Objective: To use an accelerometer to detect where on a vehicle a crash occurred (e.g. impact occurred on the passenger side.). Parts: Arduino Uno and LSM3030DLHC accelerometer Background: I've been ...
3
votes
3answers
4k views

How to detect angular position of a device mounted on a rotating wheel?

Is there a sensor that can sense whenever rotating wheel pass the ground? Like when mounted on a bicycle wheel rims, but without anything mounted on a bicycle frame - only mounting on a wheel it self ...
3
votes
1answer
17k views

Wiring a GY-521 to an Arduino Uno R3?

I am searching for a non-technical picture or diagram or explicit textual instructions explaining how to wire a GY-521 Accelerometer/Gyro to an Arduino Uno R3. I am a software developer and need ...
3
votes
2answers
2k views

How do I find source of vibration from a mechanical source outside of my home?

My problem is vibration from a mechanical source outside of my home. I think I have found the source (machinery at a legal marijuana grow op) and need to prove it to get an injunction at court. I ...
2
votes
1answer
298 views

Acceleration sensor in HTC phone

Does anyone know which acceleration sensor was used in the HTC Touch Diamond mobile phone?
1
vote
1answer
118 views

Latching battery switch triggered by interrupts

I've got an accelerometer with a couple interrupt pins and I've figured out how to get it to fire its interrupts on any change in acceleration or lack thereof for a given duration. What I want to do ...
1
vote
0answers
599 views

Constant values read from LIS3DSH Accelerometer

I'm working with the board STM32F4DISCOVERY from ST microcontrollers. I'm trying to read acceleration on the 3 axes from the accelerometer LIS3DSH via I2C communication. The code is working on one ...
0
votes
1answer
848 views

Angle errors in IMU (using Accl & Gyro)

I am making Autonomous Quad. I am programming my IMU using ADXL335 -3 Axis analog Accelerometer & L3G4200D 3-axis digital Gyro. I am using ARM Cortex M4F based TI's stellaris launchpad LM4F120XL. ...
9
votes
1answer
1k views

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 ...
5
votes
3answers
4k views

Getting coordinates of a device in a 3d space

I want to make a device that knows itselfs x and y coordinates in a 3d space, for example in a room. I can move the device anywhere in the room but I just need x and y coordinates. Is there anyway ...
3
votes
2answers
2k views

Sensors to detect and measure movement

I would like to know which sensors should I use in order to get measurement of a movement of my device (slow speed movement on a 2D plane, in cm or mm if possible). The goal is to find out if the user ...
2
votes
1answer
4k views

Samsung Galaxy S accelerometer details

I'm working on a project on the Samsung Galaxy S smartphone. I need to know some additional information on its accelerometer that I can't find. Accelerometer datasheet I need to know following ...
2
votes
1answer
330 views

How to speed up charging of output capacitors of ADXL335?

Problem statement I need to obtain as fast as possible after power-up a reading from an accelerometer. The accelerometer is located in a car and is powered by the same rail of the rear braking lights,...
0
votes
0answers
39 views

USART displays only half values when VCC is plugged in and repeats the same after VCC is removed [duplicate]

I'm trying to interface mpu6050 module with pic16f886 microcontroller. But, nothing's getting displayed on serial monitor. USART code works fine when used separately, but when added with the i2c and ...
0
votes
0answers
32 views

Nothing seen on serial monitor - MPU6050 with pic16f886 [duplicate]

I'm trying to interface mpu6050 module with pic16f886 microcontroller. But, nothing's getting displayed on serial monitor. Been stuck here since many days. USART code works fine. I've tried that ...
0
votes
2answers
1k views

Using adafruit Flora or Adafruit Trinket + MPU-6050 3-Axis Gyroscope + nRF24L01+ together

I am trying to do a project where I need to transmit data from an object if the object is moved in a particular way. The restriction is that the device has to be as thin and small as possible. I am ...
0
votes
0answers
118 views

A question about sharing excitation supply for multiple sensors

Note: this question updated, please see the major edit. I need to wire four or two of accelerometer and perform data-acquisition with a single-ended daq device. It seems this is single ended output,...
0
votes
1answer
450 views

Cannot read accelerometer values from MPU6050 Interfaced with STM32F303RE

I m working on a "self-balancing robot" with STM32F303RE.I m using STCubeMX to generate the MCU configuration code and then I added the main() to get the values from MPU6050 from the following code : ...
-2
votes
1answer
87 views

Measuring High Speed Angular Velocity 20,000+ rps

I'm looking for a way of measuring angular velocity in a spinning object at high speeds - up to 25,000 degrees per second. There's ridiculously expensive gyros in the market that can do this, but I'm ...