Questions tagged [accelerometer]

A component which measures G-force to detect which direction it is moved or tilted in.

186 questions
3
votes
2 answers

Detecting distance moved by accelerometer?

I have an accelerometer connected to an Arduino Uno board, is there a way I can detect the distance it this accelerometer moved on each of the 3 axis?
None
  • 211
  • 2
  • 3
  • 7
2
votes
1 answer

ADXL355 accelerometer code

I am doing a project which monitors vibrations using an ADXL355 sensor and an Arduino. I have used the MPU-9250 sensor before. I am not able to find a library or tutorials for calibrating, filtering, and reading accurate data from the sensor. Can…
Arduiproj
  • 21
  • 2
2
votes
1 answer

How can I simulate an accelerometer?

I am new to Arduino. I want to simulate a circuit which uses an accelerometer ADXL335 and a DC motor. If any deviation observed in the accelerometer readings, I want the motor to rotate. Is there any way I can simulate its working in software…
2
votes
1 answer

What is corrrect the way to find roll, pitch, yaw?

I have an MPU9250. I have calculated accelerometer, gyroscope, magnetometer. But I want to know how to caclulate roll yaw pitch. I have searched on Google. I found many answer roll = (atan2(-Accel_Y, Accel_Z)*180.0)/M_PI; pitch = (atan2(Accel_X…
x-xx-x
  • 23
  • 2
  • 5
2
votes
0 answers

looking for a very accurate and sensitive accelerometer

For a research type project, we are looking for a very accurate and sensitive accelerometer (preferably 6-axis). The average range of the acceleration that we need to record is about 0.0003g (g=gravitational acceleration=9.81m/s2). The minimum…
user34664
  • 21
  • 2
2
votes
1 answer

Accelerometer readings on a moving object

I hope this stack is the right place for this question. I have an accelerometer mounted securely on a swaying object -lets say a stick or pole- this object is swinging back and forth in small angles (+- 20) with a frequency of about 2-3 times a…
TanyaV
  • 586
  • 3
  • 10
2
votes
1 answer

Is it possible to measure the velocity of a Unmanned Aerial Vehicle using only accelerometer?

Our project is about dropping a payload from a UAV on the specified area. We are using an accelerometer (connected to the Arduino board) to measure the velocity of the plane (assuming the initial velocity to be zero). Is it possible to accurately…
2
votes
0 answers

Get the rotation on Genuino 101

How can I get the exact rotation of the Genuino 101? I would like to create a plumb rule. I tried the example app with processing, Arduino/Genuino 101 CurieIMU Orientation Visualiser, but it didn't get the correct rotation. Sometimes the object on…
Calypoter
  • 21
  • 1
1
vote
2 answers

Enable free fall detection using Arduino

I'm trying to get an arduino board to detect simple free fall condtions. Currently, I have a 9DOF sensor (https://learn.sparkfun.com/tutorials/lsm9ds0-hookup-guide) and am able to get the raw data from the sensor. However I am unsure what to do from…
user4985
  • 117
  • 1
  • 3
  • 12
1
vote
2 answers

How to interpret accelerometer output data?

I'm running my accelerometer through my Arduino mini and outputting my values using the following values // print the sensor values: Serial.print(analogRead(xpin)); // print a tab between values: Serial.print("\t"); …
Ben
  • 11
  • 1
  • 3
1
vote
2 answers

Can anyone tell me about the onboard accelerometer of LightBlue Bean?

I would like to know the specs of the accelerometer used on a LightBlue Bean before buying one, but I couldn't find any info online. Anybody has an idea?
Gao Yuan
  • 113
  • 2
1
vote
2 answers

Hardware to measure velocity via string/wire attatchment? beginner

This is a broad question but I want advice on what type of hardware I should look for to make a device that could measure the velocity of an object attached via a string/wire to some sort of rotary wheel. The purpose of this is to attach it to a…
James Wierzba
  • 229
  • 1
  • 3
  • 9
0
votes
1 answer

Does anyone have code that successfully calculates velocity from an accelerometer

I'm trying to calculate the speed of a rocket for my project. I've been given the task of calculating this with an adxl3xxx accelerometer sensor. I'm not sure how to go about this as an accelerometer takes gravity acceleration into account. Can…
Sam21
  • 11
0
votes
1 answer

What should be the delay to be given for reading accelerometer

I have five accelrometer sensors (MMA 7361) connected to the analog channels of Arduino Duemilanove. I am using the following code to read the data. (I am reading from only one axis from each sensor.) #include #include int…
ukg
  • 1
0
votes
1 answer

My gimbal program does not compile

my code: // Get Yaw, Pitch and Roll values #ifdef OUTPUT_READABLE_YAWPITCHROLL mpu.dmpGetQuaternion(&q, fifoBuffer); mpu.dmpGetGravity(&gravity, &q); mpu.dmpGetYawPitchRoll(ypr, &q, &gravity); // Yaw, Pitch, Roll values - Radians to…
Dabber
  • 1
  • 3
1
2