Questions tagged [accelerometer]

A sensor to measure acceleration.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
225 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 ...
2
votes
0answers
797 views

LIS302DL Accelerometer WHO_AM_I command

I've setup the behaviour of LIS302DL accelerometer IC using following code: ...
1
vote
1answer
26 views

Looking for acceleration/speed/movement measurement device

This question may be posted to wrong group, but I couldn't find a better match. I'm looking for a device which measures acceleration. I want to attach the device to something and measure how that ...
1
vote
3answers
43 views

How do piezoeletric accelerometer sensors generate output voltage?

How does piezoeletric accelerometer sensors work technically? I know that piezoeletric accelerometer sensors have a piezoeletric crystal, a mass and a spring. But where is the voltage at the ouput ...
1
vote
0answers
50 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
1answer
130 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
0answers
105 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
1answer
167 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 ...
1
vote
0answers
429 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
610 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
251 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
222 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
199 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
196 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
380 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
43 views

need help deciphering accel/gyro datasheet for i2c communication using python RPi

I have barely any knowledge in this area, the most I have done is used my RPi3 with pre-built python libraries for sensors such as ADS1115 so I didn't have to go through the process of understanding ...
0
votes
1answer
116 views

SPI Communication between ADXL345 and TM4C123GXL (TIVA C Launchpad) doesn't work as intended

I need to interface the TM4C123GH6PM based Microcontroller board TM4C123GXL (TIVA C Launchpad) with a accelerometer (ADXL345) by Adafruit. As, I am bound to use SPI communication and program on ...
0
votes
0answers
61 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
36 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
120 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
1answer
74 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
133 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
145 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
28 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
75 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
0answers
16 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
40 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
70 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
3answers
74 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
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
57 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
85 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
558 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
2answers
74 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 ...
0
votes
0answers
121 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
117 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
178 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
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 ...
0
votes
1answer
455 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. ...
-1
votes
1answer
97 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?