Questions tagged [accelerometer]

A component which measures G-force to detect which direction it is moved or tilted in.

Filter by
Sorted by
Tagged with
1
vote
2answers
4k views

How to change i2c address for mpu9250?

I'd like to connect 12 mpu9250 sensors to one arduino board. I can't find documentation on how to change the addresses of mpu9250 boards. (i read through the reference ). Some tutorials talk about ...
5
votes
2answers
16k views

What is the difference between Accelerometer, Gyro, and Magnetometer Sensor?

I'm starting in the arduino world and I'm building an autonomous smart vehicle. So, after some weeks building and adjusting the vehicle, I got to a point in this project that I want to log it's ...
6
votes
2answers
8k views

What does this notation stands for? Wire.read() <<8 | Wire.read()

I'm using the Arduino's site test code for getting raw values from a MPU-6050 accelerometer + gyro. In the loop, there are this lines for getting the next data from its registers: Wire.requestFrom(...
0
votes
1answer
159 views

is any windows application available for accelerometer based computer mouse

I want to make an AIR mouse using Arduino and accelerometer, for this i used USB to TTL converter i have done everything successfully but can anyone tell me how use it in computer. I mean i don't know ...
2
votes
2answers
676 views

Problem with measuring vibrations (Arduino UNO + step motor + accelerometer)

I'm trying to measure vibrations of the motor's shaft that is oscillating due to an eccentric load. For that, I am using the MPU 6050 6 axis accelerometer. The motor is a NEMA 17 stepper, connected to ...
3
votes
2answers
13k views

Detecting distance moved by accelerometer?

I have an accelerometer connected to an Arduino Uno board, is there a way I can detect the distance it this accelerometer moved on each of the 3 axis?
3
votes
3answers
1k views

What is the right way to query an I2C device from an interrupt service routine?

The ADXL345, for example, requires that interrupts are responded to by querying the INT_SOURCE (interrupt source) register. In example code for the SparkFun ADXL345 Arduino Library, there is code that ...
2
votes
4answers
5k views

How to use Multiple MPU9250 to Arduino Lilypad [duplicate]

Is it possible to connect more than one or to be specific 5 MPU9250 into 1 Arduino lilypad? How will I set the addresses, and where should I put the pins for SDA and SCL? I hope someone out there ...
1
vote
6answers
3k views

Detect a non-human moving object

I would like to design a system in which I am able to make a light flash when a motion sensor detects a movement of a non human object such as a car. (The goal here being that when a car is moving ...
1
vote
2answers
907 views

XL335B accelerometer reports false readings

I'm using an XL335B accelerometer in a GY-61 breakout board. I'm powering the device using the UNO's built-in 3.3V power supply. The following code should convert the readings to m/s² (SI); however, ...
1
vote
1answer
1k views

MMA7660 accelerometer with ATTiny85

I'm trying to make the ATTiny85 work with the MMA7660 accelerometer, so far, without any success. Google search for "ATTiny85 MMA7660" gives poor results, and I'm not sure it has been done at all, at ...
1
vote
2answers
1k views

How can I implement sensor fusion using a gyroscope and a magnetometer to find the orientation?

I am working on Fall Detection in humans. A system that would raise alarm when a person falls. For this I plan to use acceleration to see if it is a fall and orientation change to reduce false ...
1
vote
2answers
3k views

Bit mask first 2 bits of 16 bits for accelerometer

The datasheet for the accelerometer states that: Here is the data output from the accelerometer: I have tried to mask the first two bits using a bitwise AND command with B0011111111111111. I tried ...
0
votes
1answer
1k views

ADXL345 hangs the micro-controller as vibrations increase

I am using ADXL345 accelerometer with Adafruit_ADXL345 library for vibration measurement. I am reading acceleration at X, Y, Z-axis of a sensor placed on a vibrating platform.And serially sending it ...