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.

0
votes
1answer
46 views

Checking my mpu6050 schematic

I am fairly new to pcb design and I just created a mpu6050 chip that will work with an Arduino microprocessor. I want to make sure the hookup is all correct before I start work on the other parts, as ...
-1
votes
0answers
37 views

Accelerometer with many I2C address options [closed]

I am working to build a sensor system with many (say 8) accelerometers on the same I2C bus. Limiting the number of wires routed to 2 is the primary design goal. There are numerous approaches to solve ...
0
votes
2answers
96 views

What is the “dt” in the complementary filter equation and how do I find out the “dt”?

I am trying to implement a complementary filter in my system but I do not quite understand what "dt" means and how should I find out the "dt" in the complementary filter equation. I found the ...
0
votes
0answers
38 views

Can't use the Wake-on-Motion functionality of an MPU9250 with STM32

Hi there :) I'm trying to use the Wake-on-Motion functionality of this particular MEMS (MPU9250) with my STM32L152C-Discovery board: if the MPU9250 sense a motion, the INT pin will be high. To achieve ...
0
votes
0answers
25 views

I need help on interfacing STM32F103C8T6 with MPU6050 on keil uvision

I need help with this piece of code. I don't know what I did wrong, or what I'm missing. It is a simple program to interface the stm32f103c8t6 with a gy-521 (the MPU6050 on it), I was able to get it ...
1
vote
0answers
45 views

Quarternion disagreement between two BNO80 IMU

I'm trying to use two BNO80 orientation sensors to measure the deflection of a universal joint in both pitch and yaw (there are components in the way that prevent the use of rotary position sensors). ...
0
votes
1answer
68 views

How to convert accelerometer data into G with the ADXL345 digital accelerometer

Am totally new to electronics and the datasheet is very confusing to me, so can anyone please guide me through the specification of the accelerometer? So that i can have a better understanding on the ...
0
votes
0answers
64 views

STM32f103 interfacing with adxl345 via i2c

I am working on interfacing ADXL345 accelerometer with STM32F103 blue pill board through I2C communication. I have written the code in Keil software by surfing the internet which works fine sometimes, ...
1
vote
1answer
43 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
59 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
67 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
91 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
72 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
83 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
71 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
68 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
21 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
71 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
294 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
99 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
14 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
31 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
68 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
88 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
752 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
168 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
73 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
68 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
54 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
167 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
114 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
131 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
437 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
1k 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
46 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
53 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
89 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
423 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
58 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
919 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
82 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
199 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
79 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
459 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 ...