The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [accelerometer]

A sensor to measure acceleration.

Filter by
Sorted by
Tagged with
1
vote
4answers
738 views

Linear accelerometer on a rotating platform

I want to measure the linear speed of a vehicle putting the accelerometer on its wheel. Assume the vehicle is moving at a velocity 70 KMPH and its wheel has a radius (R = Radius) 30 CM. I made this ...
1
vote
1answer
1k views

Problem in reading accelerometer axis (ATMEGA328P + ADXL345)

I really need help with my project. I'm trying to connect ADXL345 with ATMEGA328P through SPI interface to send received data from Atmega328P to PC via UART interface. The ATMEGA328P is sending the ...
1
vote
3answers
2k views

Accelerometer Impact/Shock

I am a complete novice when it comes to electrical engineering; however, I'm interested to know the capability of accelerometers. In addition to capturing data on distance traveled, etc. - is an ...
1
vote
2answers
1k views

Normalization of Accelerometer Data

I have two different boards, one from TI and one from ST Microelectronics. Both these boards have one accelerometer of different brand. These two accelerometer sensors have different sensitivity. I ...
1
vote
1answer
35k views

Calculating Angles from MPU6050

I've been playing with a GY521 breakout recently with the MPU6050 chip on it, though i've hit a bit of a problem that I can't quite work out I know when I rotated the board I rotated ~90 degrees ...
1
vote
1answer
2k views

Choosing sampling rate according to the bandwith reponse in accelerometer datasheet

In an accelerometer's datasheet, the bandwidth response in the x and y axis is 350 Hz. There is another information related to the internal sampling rate (shown below). I don't know how these two ...
1
vote
2answers
2k views

MEMS Gyroscope BMI055 - random high spikes in data

I am using the BMI055 on my AVR through I2C. Datasheet: http://ae-bst.resource.bosch.com/media/products/dokumente/bmi055/BST-BMI055-DS000-06.pdf I set it to filtered output at an ODR of 1000Hz and ...
1
vote
1answer
275 views

Accelerometer and Transistor

Here is my program, I want to: The microcontroller, Arduino UNO R3 sends 3.3V to the sensor, Accelerometer, MMA7361 The sensor turns on and send signal to the microcontroller. When I move the sensor ...
1
vote
1answer
1k 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 ...
1
vote
3answers
149 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 ...
1
vote
2answers
901 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....
1
vote
3answers
529 views

LIS3DH- Understanding Z axis output

I am trying to measure a machine's vibration using LIS3DH sensor. I set the LIS3DH in low power mode and 5.376 kHz sampling frequency which outputs 8 bit output. I use SPI to get the data from the ...
1
vote
1answer
363 views

IMU - How to calculate the orientation in a shaken environment

I'm trying to calculate the orientation on an IMU Sensor. Until now I'm doing it by calculating the Pitch angle and it's working fine: ...
1
vote
1answer
949 views

How do I configure the LIS3DH as a pedometer that generates interrupts when walking?

I found a lot of algorithms for pedometers that assume a fast CPU with a decent ALU and high sampling rates, which I don't have. (Z80) However, the LIS3DH has various options for generating interrupts ...
1
vote
1answer
320 views

Accelerometer - Tilt Detection

I'm using the MMA8453Q for tilt detection of 45 degree in any axis. I'm a newbie to embedded devices. I have a few questions. 1) Should I be using Transient detection or Motion detection for my use ...
1
vote
1answer
1k views

ADXL345 GY-291 weird measures

currently I am trying to connect several ADXL345 to an Arduino Nano. I followed the Sparkfun Tutorial on how to do this (https://www.sparkfun.com/tutorials/240). Long story short, I connected two ...
1
vote
1answer
1k views

Measuring vehicle's forward and lateral acceleration using a smartphone

I want to measure the acceleration (forward and lateral separately) using an android smartphone device in order to be able to analyse the driving behavior. My approach would be as follows: 1. ...
1
vote
1answer
1k views

MPU 6050 Digital Motion Processor Gyro Units

I'm running into an odd issue with a motion control processor (MPU 6050 / 9150) that is returning raw gyroscope values as specified between the -/+ 32768 which in the way this gyro is configured ...
1
vote
1answer
376 views

Cancellling Out the Effect of Constant Gravitational Acceleration in a Datalogger

In a design that records not only accelerometer readings (X + Y + Z) but also gyroscopic readings (X + Y + Z) how is it possible to remove the accelerometer readings caused by gravity? I have found ...
1
vote
1answer
5k views

Simulating accelerometer in proteus

I am not able to find any libraries for simulating accelerometer in proteus. Is there such a library? If NO, how do i simulate an embedded system that has an accelerometer? Thanks
1
vote
1answer
511 views

Normalize values from different MEMS 3-axis accelerometers

I have to find a solution to uniform values on 3-axis accelerometers on different android devices. I mean, a device with a specific accelerometer, subjected to the same acceleration, return values, ...
1
vote
1answer
785 views

Bricked IMU using a magnet?

I think I may have bricked my IMU or seriously damaged it earlier this week. I have the Adafruit 9-DOF IMU Breakout - L3GD20H + LSM303 (link: http://www.adafruit.com/products/1714) which has an ...
1
vote
4answers
333 views

Best methods for long term position tracking?

I am in the beginning stages of development for a project where I need to continuously track the position of an object for long amounts of time. The object will not move very much, but when it does I ...
1
vote
1answer
11k views

Understanding how to use an accelerometer to detect vehicle collisions

Objective: To use an accelerometer to detect where on a vehicle a crash occurred (e.g. impact occurred on the passenger side.). Parts: Arduino Uno and LSM3030DLHC accelerometer Background: I've been ...
1
vote
2answers
136 views

Most energy efficient way to detect motion

I am hacking together a prototype wrist band, with BLE as the main component. I'd like the device to detect a bump or a wave. What would be the most energy efficient way to do so? I'd like the ...
1
vote
1answer
631 views

Prototyping for Bluetooth accelerometer

I'm a software developer looking to prototype an application that requires input from a 3-axis accelerometer, ideally via Bluetooth LE. Current specs on the accelerometer are +/-50G sensing range ...
1
vote
1answer
722 views

MPU6050 connection

Here is what I have done... I simply copied the simple Arduino MPU6050 code from http://playground.arduino.cc/Main/MPU-6050 and pasted it in my arduino uno R3, which is interfaced with GY-521 IMU.... ...
1
vote
1answer
1k views

How to get translation and roation data using 6DOF MPU6150

I am trying to get the position data from an IMU 6 Degrees of Freedom (MPU-6150) board using an Arduino Uno. I am trying Jeff Rowberg’s example MPU6050_DMP6.ino that may be found here. This is the ...
1
vote
1answer
317 views

how to wire up LIS302DLH with arduino? (or similar, small accelerometer)

heads up: I'm new to electronics and have just started working with the arduino. I'm trying to hook up a LIS302DLH accelerometer (spec sheet) with the arduino. I'...
1
vote
1answer
504 views

Arduino logging vertical acceleration data

I'm doing a project where I want to start and stop recording of accelerometer data set up to measure the vertical acceleration Z axis of a car's suspension movement when it hits a pothole. I want to ...
1
vote
1answer
380 views

X-bee and accelerometer: problem streaming data

Hoping someone might be able to point me in the right direction. I am currently trying to create a wireless accelerometer using two x-bees (series 1). The accelerometer module is set up so that the x,...
1
vote
2answers
451 views

Vibration sensor, using centripetal accelerometers

To measure (a) rpm and (b) whirling of a drive shaft, I have built a sensor with 3 centripetal accelerometers arranged at 120 degrees separation around the circumference of the housing. The maths ...
1
vote
0answers
51 views

Ultra low power but also wake on event?

I have a nodemcu that needs to turn on periodically (every 2 hours) to take measurements, send them to me and then go back to sleep. I need this to be able to last for at least a year on batteries, ...
1
vote
0answers
49 views

How to set registers of accelerometer BMA220?

I first wrote my problem in Arduino Stack exchange (https://arduino.stackexchange.com/questions/68438/how-to-manage-interrupt-from-accelerometer-bma220) but I was told that I might get a better help ...
1
vote
3answers
44 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
67 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
154 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 ...
1
vote
1answer
164 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
124 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
2answers
57 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? ...
1
vote
1answer
43 views

Measuring electro-hydraulic drive's inertia

I have an electro-hydraulic drive – a hydraulic motor with coupled to it a synchronous generator. Also there is an encoder installed on the shaft of the generator. By using my DAQ unit I will measure ...
1
vote
2answers
453 views

Detect movement in a very power efficient way

I am working on a device i can strap on to an expensive electronics instrument, and when someone moves the instrument, the device detects it and sends its position from a GPS to a server, via WiFi, ...
1
vote
1answer
184 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
705 views

Accelerometer SA0 & SA1 Pin hanging

I'm trying to TWI communication between accelerometer FXOS8700 & micro-controller (nrf51) but I forgot to connect SA0 & SA1 line to micro-controller pin (or connection to GND) & all PCB ...
1
vote
1answer
146 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
463 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
623 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
155 views

Velocity from Acceleration [closed]

In geological instrumentation, it is frequent to find the "integration of the acceleration" measurement, as the "empirical estimate" of the velocity, namely, the Particle Point Velocity (PPV). ...
1
vote
0answers
252 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
224 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 ...