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
4answers
73 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 ...
0
votes
3answers
73 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 ...
0
votes
2answers
69 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 ...
0
votes
2answers
72 views

Servo accelerometer dual power rail requirement

Why does this type of accelerometer need split supply. In the data-sheet this is described as a excitation voltage. But the diagram they provide does not show any +/- rails or any excitation ...
2
votes
1answer
208 views

PIC16F1783 Inclinometer Project using Accelerometer 12-bit ADC issue

I am working on an inclinometer project using an accelerometer, MMA1220KEG and a PIC16F1783, it is designed to switch a relay when the angle of inclination is below 15 degrees and illuminates a series ...
1
vote
1answer
101 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
vote
1answer
161 views

Is it possible to wire an accelerometer straight to lights?

I am currently working on a personal project and was wondering if there was any way to wire an accelerometer to an LED light to illuminate the light when a set g-force is achieved. I am not too ...
1
vote
1answer
131 views

How to estimate displacement error using accelerometer

I am using an MPU6050 and performing a double integration to obtain displacement, and this is to be placed in a vehicle that will be subject to about 2.5g. I cannot test it now, but how is it possible ...
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 ...
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
1answer
501 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
105 views

Cable for MEMS Accelerometer

I am using a MEMS Accelerometer (ADXL1001), along with the EVAL board and an NI 9234 DAQ module to acquire the signal. I am using a RG58 coaxial cable to connect the sensor output (2 connector pins, ...
0
votes
1answer
623 views

how to program BMI160 inertial measuremen unit to latch detection flags

How should BMI160 registers be set to enable detection flags to be set in INT_STATUS? For example, how to get TAP_STATUS byte-0 bit-5 s_tap_int to set if XDK110 is tapped? I don't need actual ...
0
votes
1answer
165 views

Suggestions for accelerometer signal conditioning

I want to use an adxl326 accelerometer to measure vibration in one plane only. The accel is fed 3.3V and returns 1.65V at 0G's +/- 57mV/G What I want to do is remove the 1.65 bias to get an ac signal ...
0
votes
1answer
70 views

can I get noise of 24G with accelerometer configured at +-16G

I'm using lsm9ds1 accelerometer configued to +-16G. by reading raw data, I've got a value of 24G which I think it's a noise. I didn't configure any filter on the accelerometer. can a noise reach 24G ...
0
votes
1answer
451 views

Quadcopter balance with MPU-6050

It is not uncommon to see people asking about how to balance a quadricopter using MPU-6050. It's also common to see people answering that a PID controller is needed. However, people doesn't say how. ...
0
votes
1answer
1k views

I2C protocol debugging using oscilloscope

We are testing an I2C accelerometer connected to the ATMega32A micro-controller. The accelerometer was working fine. We can write and read the registers using I2C protocol. When connected to the ...
-1
votes
1answer
78 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?
2
votes
0answers
792 views

LIS302DL Accelerometer WHO_AM_I command

I've setup the behaviour of LIS302DL accelerometer IC using following code: ...
1
vote
0answers
48 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). ...
1
vote
0answers
90 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 ...
1
vote
0answers
414 views

Should I be using a Standard Kalman Filter (KF) or an Extended Kalman Filter (EKF)?

So I am trying to implement a Kalman filter for an Inertial Measurement Unit (IMU) using an Arduino. I have 4 sensors: GPS Accelerometer Gyroscope Magnetometer To measure various vehicle properties ...
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 ...
1
vote
0answers
126 views

LSM6DS3 ODR Clock Source

I am beginning to use an 6DOF sensor, LSM6DS3, along with a separate magnetometer to keep track of an objects orientation. I also need to correlate the data in time from this sensor to data from other ...
1
vote
0answers
248 views

3.3v output voltage on arduino mini

I'm learning to use the Adafruit LSM9DS0 and have cobbled this code together such that an LED will turn on when it detects motion on the accelerometer, specifically when the magnitude is over a ...
1
vote
0answers
220 views

Accelerometer - Offset correction

I'm using the MMA8453Q for motion detection. The accelerometer is mounted such a way that when it is stationary, X & Y axes are at 0g & Z-axis is at 1g. My usecase is: A tilt across any axes ...
1
vote
0answers
197 views

Is “transient detection” exclusive to Freescale?

I'd like to detect the dynamic component of acceleration, i.e. the change in acceleration, and generate an interrupt when such change is detected. I see that MMA8451/2/3 calls this "Transient ...
1
vote
0answers
195 views

MPU 6050 dspic33fj128gp802 addition operator problem

I use dspic33fj128gp802 and MPU6050 for my project. Microcontroller succesfully takes the data from sensors 6 channel and sends the data pc via UART. When i want to add "float 2.0" or "int 2" to ...
1
vote
0answers
372 views

Data from BMA220 accelerometer

I am trying to make a device which can give x, y, z data and also can detect freefall and shock. For that I am using bma220 sensor. I am programming the sensor in 8g as I need shock values < 8g. ...
0
votes
0answers
45 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
31 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 ...
0
votes
0answers
82 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, ...
0
votes
0answers
110 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
101 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 ...
0
votes
0answers
24 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
0answers
15 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
0answers
177 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
0answers
54 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 ...
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
81 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
0answers
119 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,...