Questions tagged [accelerometer]

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

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
36 views

Does anyone know code for a filter that bypasses small vibrational movements in my accelerometer input data

So basically I have a DC motor that is self stabilizing a platform using an accelerometer as its input. When i hit the table, everything freaks out and the platform moves rapidly back and forth for a ...
2
votes
0answers
600 views

Transforming from analog output to speed and acceleration with gy-61

Maybe it's a simple question but I'm unable to get what I need. My task is this: Get the acceleration and speed of each axis of the accelerometer. I thought of something like: const int VCCPin = ...
1
vote
0answers
40 views

Trying to use a gyro sensor and having issues

My setup is Arduino Mega. I have a gyro sensor that I'm trying to use to measure the acceleration or G force in X axis (forward movement). So far I'm trying to figure a way to use the value of Acc or ...
1
vote
0answers
39 views

MPU-6050 showing all -1s

I am following this tutorial and have an MPU-6050 connected to an Arduino Micro with the following connections VCC - 5V/3.3V GND - GND SDA - A2 SCL - A3 I'm trying to run the short example ...
1
vote
0answers
111 views

Arduino Due ADXL345 Interference

I am working with an Arduino Due and the Analog ADXL345 through a module following this tutorial, with the wire.h library at Fast Speed (400kHz), the Accelerometer Sampling at 800Hz (for the Maximum ...
1
vote
0answers
345 views

using two mpu6050 to get more accurate and precise angles

i have been using this gyro for a while, now i am aware of all measures taken, to improve the outcome of this board. my question is: would using two at the same time improve the results? if yes how ...
1
vote
0answers
35 views

Denoising accelerometer data mounted on moving vehicles

Can you suggest a method for denoising accelerometer data mounted on moving vehicles? I have read several suggestions like using Kalman filter, moving average, etc. but I'm not sure which suit best in ...
1
vote
0answers
1k views

SOLVED Accelerometer/gyro MPU6050 is freezing after random time

SOLVED: I "solved" the problem by cycling my Arduino's power and I haven't had an issue since. I would still like to figure out what was going on. I still think it's something in that MPU6050 library ...
1
vote
0answers
209 views

FIltering, FXOS8700, FXAS21002C optimization

I'm working on an inverse pendulum project, and am using an adafruit NXP_FXOS8700_FXAS21002 along with an Arduino due, and an esp8266 (two separate projects, same code however). I'm using a Magdwick ...
1
vote
0answers
80 views

Controlling motors via accelerometer not working

I want to control the 2 servos(pan tilt) using accelerometer data value from android app. Im using nodeMCU v3, 2 servos(pan tilt) and smartphone. Connection: servos(pan tilt) is connected to 5 v ...
1
vote
0answers
140 views

Get the rotation on Genuino 101

How can I get the exact rotation of the Genuino 101? I would like to create a plumb rule. I tried the example app with processing, Arduino/Genuino 101 CurieIMU Orientation Visualiser, but it didn't ...
1
vote
0answers
3k views

Two MPU 9250 connected to one arduino (Code of the MPU6050 edited for MPU9250)

I have done a lot of tries to make my two IMU work with my arduino. I'm also done with many research about it and I found this code: // I2C device class (I2Cdev) demonstration Arduino sketch for ...
1
vote
0answers
3k views

Accelerometer sensor gy-61 convert to m/s2

I have a problem calibrating my GY-61 accelerometer on an Arduino Uno to get values in m/s2. Analog-reading code: const int xPin = A5; const int yPin = A4; const int zPin = ...
1
vote
0answers
231 views

Streaming IMU data over BLE using Sparkfun 6 DOF and Blend Micro

I am trying to use the RedBear Blend Micro to send data captured by my SparkFun 6 DOF IMU. I am completely lost, and if anyone has any documentation I can read, or even tutorials that work for this ...
1
vote
0answers
2k views

MPU-6050 giving strange data

I'm using an MPU-6050 chip in order to calculate orientation. It is connected to an Arduino Pro Mini. I am using code written by Jeff Rowberg that uses the internal DMP. The 57600 baud rate crashes ...
1
vote
0answers
67 views

Memsic Accelerometer not returning T value

I hooked up a Memsic2125 accelerometer to a Arduino Uno. X and Y values are returning fine, but the T value is returning -4000 every time. // these constants won't change: const int xPin = 2; // ...
0
votes
0answers
50 views

Is IMU of the Arduino Nano 33 BLE Sense good enough to measure acceleration?

I have to measure acceleration wirelessly for 1 or 2 seconds with a high level of precision. I appreciate any other suggestions.
0
votes
0answers
21 views

connect gy512 is not visible by i2c bus

I am a newbie. Please help to make gy512 visible on i2c interface. i did sda - a4 scl - a5 vcc - 5v gnd - gnd I have used i2c sticker scatch and use PC monitor.
0
votes
0answers
46 views

I am using an accelerometer as an input and a stepper motor as an output and it will have these weird delays after about 30 sec

I have a stepper motor (kysan 1124090) turning CW and CCW based on the y direction of my accelerometer(MU6090). I am using an Arduino uno. It works great but after about 30 seconds there will be these ...
0
votes
0answers
84 views

how to link arduino uno and wonderware via modbus?

I am trying to make my Arduino uno and gy-521 accelerometer a modbus tcp server to feed data to a client on my pc. Most likely the HMI I am going to be using is wonder ware. #include <Wire.h> ...
0
votes
0answers
164 views

How to manage interrupt from accelerometer BMA220?

I would like to use the interrupt register from the BMA220 accelerometer in order to detect high-g shock. I am using a Mega2560 and the sensor is powered by 3.3 V. I use a voltage divider to convert ...
0
votes
1answer
264 views

Trying to use Tap Detection solution using ADXL345 with Arduino

I am using ADXL345 sensor connecting with Arduino via I2C interface, I am able to test the data at tri-axial axis but as there are some other features also, which I am going to try with Tap detection ...
0
votes
0answers
390 views

Sending accelerometer data using BLE to a Cordova phone app

I'm working on a simple project, that involves an Arduino sending accelerometer data to a Cordova-based phone app using BLE. I've got my Arduino wired up correctly, I think - I can see the data in ...
-1
votes
0answers
35 views

write from one board's pin to read of another's not working

I have an Intel Tiny Tile boardThis board is based on the Intel Curie, and can be read in Arduino as an Arduino 101. I'm using this board's accelerometer to register the bounce of someone on a ...
-1
votes
1answer
571 views

ADXL345 accelerometer doesn't work

I just got the ADXL345 accelerometer module. I tried everything I could find online but I can't get it work. Here's how I connect the pins to the arduino uno: ADXL345 -> ARDUINO VCC ...