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.

1
vote
1answer
36 views

Unexpected results when measuring MPU6050 sample rate with RaspberryPi

MPU6050 datasheet says that maximum accelerometer data output is 1Khz, so in theory when measuring time it takes to receive 1000 data samples through I2C, so I should receive all data in no less than ...
0
votes
2answers
50 views

Acceleration calculation from ADC raw data

We have interfaced PCB393B12 accelerometer with MSP430F5438A board, by using 8-bit ADC. We receive raw data in 0-255 range with 0v to +2.5v as reference. How we can obtain corresponding ...
0
votes
1answer
61 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 ...
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
48 views

LSM6DS3 Timestamp read in FIFO

I have a LSM6DS3 sensor connected to a MCU by SPI. My goal is to fill the FIFO buffer with the following sets of data: Gx, Gy, Gz, XLx, XLy, XLz, Ts, Pd. I am using a watermark to generate an ...
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 ...
5
votes
1answer
71 views

Identify an Accelerometer in an Xfinity XR11 Remote

part identification question here. It comes from an Xfinity XR11 Remote. It’s used to detect acceleration when picking up the remote. The footprint and part/trace placement heavily matches what I’d ...
0
votes
0answers
41 views

OSError: [Errno 121] Remote I/O error or pigpio.error: 'I2C read failed' on MPU6050

So I use MPU6050 to get acceleration from stepper motor linear rail movement(steper motor working in thread, I use pigpio for the motor) by make the MPU6050 can work on threading and it can show data ...
1
vote
1answer
65 views

Compensate centrifugal force in accelerometer measurements

I'm working on a project that includes counting the revolutions of a cylinder connected to an engine. This engine runs at a minimum of 5 revolution per second and a maximum of 9 revolution per second. ...
-1
votes
1answer
50 views

why gyroscope sample rate can be changed by frequency, while accelerometer sample rate cannot?

This is from the mpu6050 datasheet. In the datasheet, gyroscope sample rate can be changed by frequency, but accelerometer cannot. Why this happens?
0
votes
0answers
18 views

How does “Tilt on Wrist Interrupt is detected with one accelerometer axis” work?

bma456 has a tilt-on-wrist detection interrupt. When ever the device is rotated more than a minimum of 12 degrees to gravity, an interrupt interrupt is generated. In the data sheet, it says "The Tilt ...
0
votes
4answers
70 views

Acceleration in the Z direction in Earth frame regardless of orientation

I have acceleration readings on 3 axes from an accelerometer, I'm trying to find a way to get the acceleration in the vertical direction independent of the current orientation of the sensor. I have ...
2
votes
2answers
214 views

STM32F722ZE SPI communication with LSM6DS33 using HAL

For a long time I can not read the correct data from the LSM6DS33 control register (accelerometer + gyroscope). As I read in the datasheet, the control register address WHO_I_AM is 0x0f. In order to ...
0
votes
1answer
80 views

LIS2DH12 Watermark and Overflow Interrupts at the same time

I'm working on a project that uses the LIS2DH12 accelerometer by ST (product page). I have a couple of questions about it, and as it is quite a common part, I wonder if anyone here knows the answers: ...
0
votes
0answers
13 views

IMU Power Modes

The invensense ICM-20608-G power modes in the datasheet are well enumerated, but it is unclear how to enter those modes. There does not seem to be a direct value that can be written to a single ...
0
votes
0answers
24 views

Understanding the SIGNAL_PATH_RESET register

I'm trying to understand the signal path reset register in the ICM-20608-G IMU. In what condition would I ever want to reset the signal path? What is actually being reset? Is this intended to clear ...
0
votes
2answers
65 views

How to calibrate Accelerometer sensor physically?

I am having a development kit DK20948 that is a 9 axis IMU sensor on it. and to use it I am using SmartMotion eMD Page number 47, when using the CLI tool, I am getting data of the sensors and an ...
1
vote
0answers
63 views

ADXL343 data read

I am using a ADXL343 accelerometer in one of my designs and I am getting strange readings from the device. Just to be sure, I would like to confirm that I am formatting the data properly. (I get the ...
0
votes
1answer
431 views

IMU axis rotation, calculate values with respect to Earth plane

I'm building a project that uses an IMU (Inertial Measurement Unit). The project involves the device to be mounted inside a vehicle and I should provide the ...
0
votes
2answers
135 views

how reliable are IMUs for a long usage (6 hours) rotation (only) tracking? [closed]

I know they are bad for positional tracking and drift from actual position over time but would like to know what is the situation with rotation only. I know Oculus DK1 used ordinary off the shelf ...
0
votes
3answers
70 views

How to measure tilt on a dynamic device?

I'm trying to instrument a vehicle component. I want to measure a component's angle during a drive cycle. The component has a single degree of freedom, it has a fixed axis. I'm trying to figure out ...
0
votes
3answers
62 views

Automotive accelerometer calibration

I would like to design a device which measures acceleration, yaw, pitch and roll for motorsport/automotive application. I plan on using an analog accelerometer, to provide better bandwidth and low ...
1
vote
2answers
53 views

Confusion about the meaning a parameter

Below is a part from this accelerometer: For +/-2g the Scale factor tolerance is given as 10mg. There is also 0.25%. This is in parentheses as 1.25(0.25%) V/g. Is 10mg derived from 1.25(0.25%) V/g? ...
0
votes
0answers
141 views

STMF4xx MPU6050

I have problem with reading data from MPU6050 to STM32F4 nucleo board. The connection is with I2C. The problem is that in the first function IsDeviceReady the device is recognised and the LED does ...
0
votes
3answers
100 views

Accelerometer MMA8451 issue

We at my company, has a very strange issue regarding til MMA8451. We are experincing that our accelerometers data can be suddenly wrong over time. We have approximately 250 devices out, running in ...
0
votes
2answers
123 views

3 axis accelerometer for detection of cutting a fence [closed]

I am currently working on a project and would appreciate your help. So i have this fence (eg. 3m x 3m) on which my 3 axis accelerometer is mounted in the geometrical center. It can detect whether ...
0
votes
4answers
382 views

Speed calculation using Accelerometer

I am using ST manufacture Accelerometer(LIS2DE12) and i making a small hobbyist project for me. For this I am using ST-Microcontroller and developing the C code i am using KEIL V5 IDE. Configured the ...
0
votes
2answers
859 views

MPU6050 with STM32 reading axes X,Y,Z values problems

I have an STM32F303 Discovery and I want to use the I2C bus to receive the x,y,z data from an accelerometer MPU6050. Does anyone have source code for this? The problem is that the address of the ...
0
votes
1answer
38 views

Accelerometer first-order Markov chain model

I am trying to implement the algorithm for altitude estimation presented here. In the beginning of section 2.1 the authors present the mathematical model they will be using for the accelerometer. The ...
0
votes
0answers
41 views

Calculating the azimuth from LSM303DLHC

According to a datasheet I've prepared the code which allows to obtain data from magnetic sensor LSM303DLHC and calculate the azimuth as follows First, I configured an accelerator and magnetometer <...
0
votes
0answers
48 views

Failure accessing ST LIS3DSH accelerometer CTRL_REG_4

I'm writing to ask if someone has ever encountered a quite weird behaviour of LIS3DSH. to properly use such sensor, a number of registers must be configured via the spi bus. I implemented a routine ...
-1
votes
2answers
86 views

can an acceleration sensor (smartphone) sense if someone is sitting in a train or just sitting normally?

can an acceleration sensor (smartphone) sense if someone is sitting on a train (or commuting in a car for example) or just sitting stationary? This may be a really basic question but thanks for your ...
0
votes
1answer
57 views

Using my sensor values, what are relevant data analysis techniques?

I am currently trying to devise a system using gyroscope+accelerometers placed in on a hat/cap in certain areas of the head (Front-left, Front-right, Centre, Back-left, Back-right). I want to create a ...
0
votes
1answer
357 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 : ...
0
votes
0answers
57 views

How do I measure max oscillation of building using accelerometer?

For my school project, I am trying to measure the effect of a mass damper by changing the length of the string (that carries the mass), my setup is similar to the following video: https://youtu.be/...
0
votes
0answers
36 views

Accelerometer help

I am a student and am working on a school project however I am having trouble with accelerometers (gy 61). I want to find the displacement of something and I have collected output from the ...
0
votes
1answer
783 views

MPU6050 showing inconsistent angle values

I'm using this Arduino code to calibrate and read from an MPU6050 accel/gyro sensor from an Arduino Mega. The calibration and reading of values seemed to go well. However, I'm seeing some ...
0
votes
1answer
80 views

Are there any “Translation Accelerometer”?

I find many "Rotation Accelerometer" such as "GY-85", "GY-521", but no one for Translation. Are there any "Translation Accelerometer", can detect the XYZ axis movement?
0
votes
1answer
179 views

LSM6DS33 how to filter accelerometer values even more (< 50Hz)

I'm trying to use a LSM6DS33 6-axis accelerometer/gyro chip as an inertial navigation aid, participating in sensor fusion. The problem is that the application has large amount of vibrations and the ...
0
votes
0answers
72 views

Measuring pitch under dynamic acceleration: better to use 6DOF sensor or 9DOF?

I am working on a project that is challenging me. I've researched on the subject as best I can, but would like additional opinions. I have a 4' long aluminum c-channel (essentially, a metal rod) with ...
0
votes
1answer
391 views

Reading FIFO in LSM6DS3

What is the difference between reading the FIFO registers(FIFO_DATA_OUT_L,FIFO_DATA_OUT_H) and Sensor output registers(OUTX_L_XL to OUTZ_H_XL) both are same?which is recommended to get the raw data ...
0
votes
1answer
833 views

Interrupt and FIFO settings in LSM6DS3

Requirement: Need to use only accelerometer in LSM6DS3 at 104 Hz in 2g full-scale mode and FIFO in Continuous mode. Interrupt should be generated every 320 msec. Understanding: For every 1 sec there ...
6
votes
1answer
306 views

Transient drop in accelerometer gravity reading when in motion

I am using Pololu AltIMU-10 v4's accelerometer to monitor the acceleration of my system. I understand that when the sensor is placed upright on the table, it should measure 1g in the +ve z-axis. ...
0
votes
3answers
120 views

How to detect the Accelerometer is moving

I am using the MCU intergrade 3-axis accelerometer and set it on the bicycle. I want to detect the bicycle is moving or stop. But the vibration noise let my function failed. Is anyone could share ...
0
votes
2answers
90 views

Optimal sensor for measuring object velocity in an open area?

I am trying to measure vertical and horizontal speed of an object attached to a parachute. It will be launched from a low altitude and in an open area, allowing satellite GPS lock. Data treatment ...
1
vote
3answers
128 views

Radiation Effects on Electronics

I'm developing a magnetic field sensing kit for a project. The kit contains sensors (specifically an accelerometer, a gyroscope, and a magnetometer) that will detect and measure magnetic fields, and ...
2
votes
1answer
244 views

Realistic Magnetometer Specifications [closed]

I'm working on making improvements to an old project I helped design. The project used an Arduino to take measurements from six sensors to measure the strength of a nearby electromagnet that generated ...
-2
votes
1answer
79 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 ...
12
votes
7answers
3k views

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'...
1
vote
2answers
709 views

Converting Acceleration of ADXL335 data into displacement

I'm currently using a ADXL335 chip two measure acceleration then converting it into a displacement. I'm wanting to measure the vetical (-z direction) displacement range of maximum 10cm, so quite small....