Questions tagged [gyro]

A gyroscope measures angular orientation and is calibrated relative to it's starting orientation. A true Gyro is a relatively rare and expensive piece of equipment, Most MEMs based "gyros" are actually rate gyros which have an output proportional to the rate of change of angular orientation.

Filter by
Sorted by
Tagged with
0 votes
0 answers
48 views

Why does INVENSENSE dmp return incorrect gyro and quat values?

I am using the INVENSENSE motion driver v6.12 for the MPU9250 with an STM32F411 microcontroller. I changed some files in it so the driver can communicate with the MPU9250. When I get raw values from ...
user avatar
0 votes
2 answers
96 views

Transform linear acceleration from frame of reference of IMU to vehicle

I'm using a 6-axis IMU (accelerometer + gyro) and collecting lateral and longitudinal acceleration (Ax an Ay) when in my car. But this device (with IMU) is positioned at an angle when plugged into the ...
user avatar
1 vote
0 answers
68 views

IMU gives wrong pitch angle after 70°

I am currently using this library, in particular the Mahony filter within it, for sensor-fusion on an IMU in my diploma project. The library works great, but I have encountered a problem which only ...
user avatar
1 vote
1 answer
92 views

MPU6050 losing orientation

I've been playing around with an MPU6050 (GY-521 board) with a Nucleo L476RG. I think I'm reading the gyroscope correctly, but it seems like the values are only changed when the sensor is moving, and ...
user avatar
0 votes
1 answer
35 views

How decide which pin right for interrupts?

I would like to ask about I2C sensor's interrupt pins connection to STM32F. I use ADXL345 Ggyro sensor. I would like to connect sensor to STM32F446RE (64 LQFP). But I do not know what I need to know ...
user avatar
1 vote
0 answers
79 views

Logging GYRO Data via cheap modules or Black Box

I'm trying to figure out a simple solution to log gyro data to use with camera stabilization software. I know I can use the blackbox from an old flight controller with an external SD card logger, ...
user avatar
0 votes
0 answers
49 views

Arduino with Motor Shield VNH5019 and mpu6050 (gyrosccope) problems

I'm working on a project that involves a brushed dc motor RS550. I'm using the vnh5019 motor shield to command my motor with a gearbox that reduces the rpm to 4/5 rpm. I've attached an mpu6050 to the ...
user avatar
  • 145
0 votes
0 answers
43 views

Smartphone Gyroscope Range (radians / second)

I'm using gyroscope recordings of Android Smartphones. The measurements are in radians / second. I recognized that sometimes there are some outliers and also the range is different between smartphones....
user avatar
  • 103
0 votes
1 answer
109 views

Clarifications about GY-521 Module (Accelerometer and Gyroscope) for Arduino

I have some doubts about how to analyze data acquired through a gyroscope and accelerometer (GY 521, datasheet). Precisely, let's consider this acquisition I have done when the module was still: My ...
user avatar
  • 3,246
0 votes
0 answers
54 views

What are the general guidelines to configure IMU sensor parameters?

Im working on developing a Attitude and heading reference system (AHRS) for my quadcopter project. Im working with AltIMU-10 v5, it is 10 DOF (gyroscope,Accelerometer,Compass,Altimeter) IMU board. ...
user avatar
0 votes
0 answers
40 views

Fusion algorthm: how many DoF for the gyroscope?

The gyro data output will be fed to an Extended Kalman Filter and fused with data output from an accelerometer. my goal is to measure tilt angle over one axis. Do I need a 3 DoF gyro or will a 1 DoF ...
user avatar
  • 798
0 votes
1 answer
28 views

ESP8266 and I2C

I want to read data from five equal devices via I2C. Master is ESP8266 microcontroller and slaves are five MPU5060. The problem is that they have equal addresses. I've seen a lot of answers about how ...
user avatar
2 votes
1 answer
359 views

What does Bias Repeatability tell me in an IMU's spec sheet?

If there is a standard interpretation of bias repeatability as it applies to a gyroscope, what is that interpretation? This document indicates that it represents the average change in bias between ...
user avatar
  • 123
0 votes
6 answers
170 views

Is there a switch that can be made when it is spun around a given axis, like a gyroscope solenoid?

Given in the title, I'm looking to design a small embedded system that only turns on when the part it's inside is spinning. The electronics is completely enclosed. I've done some googling for rotary ...
user avatar
  • 51
0 votes
2 answers
738 views

Why SS and MISO of sensor is permanently high?

I have a brand new acceleration/giro sensor evaluation board which I want to interface with ESP32 via SPI bus. After spending few days trying to make it work, I have discovered that sensors SS(CSB) ...
user avatar
  • 209
1 vote
2 answers
108 views

How is Gyro drift error related to error in velocity and position?

While reading about IMU on wikipedia I found this about its disadvantages: "A constant error in attitude rate (gyro) results in a quadratic error in velocity and a cubic error growth in position." ...
user avatar
  • 1,381
5 votes
3 answers
5k views

What actually causes gyroscope drift in IMU?

I've been researching online to understand how to get gyroscope data from the MPU-6050 which is probably one of the most popular IMU's out there. But i am confused over the reason why the gyroscope ...
user avatar
  • 471
0 votes
0 answers
90 views

Implementation of complementary filter and output of sensor while stationary

The code for a complementary filtered angle is not outputting the expected angle. I can get close to 90° using arctan formula from the accelerometer sensor data. Whereas, the complementary filter ...
user avatar
  • 9
0 votes
1 answer
1k views

Checking my mpu6050 schematic

I am fairly new to pcb design and I just created a mpu6050 chip that will work with an Arduino microprocessor. I want to make sure the hookup is all correct before I start work on the other parts, as ...
user avatar
1 vote
1 answer
378 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 ...
user avatar
0 votes
0 answers
42 views

USART displays only half values when VCC is plugged in and repeats the same after VCC is removed [duplicate]

I'm trying to interface mpu6050 module with pic16f886 microcontroller. But, nothing's getting displayed on serial monitor. USART code works fine when used separately, but when added with the i2c and ...
user avatar
0 votes
1 answer
161 views

STM32429ZI Dısc1 Gyro wrong data problem

I'm tring to write own L3GD20 library. I can read chip ID (but L3G sent to me ffd4 and its partially true). But I cannot read any axis of gyro. Partially gyro always sent to me FF or 00. I'm doing ...
user avatar
-2 votes
5 answers
866 views

Can I derive steering wheel angle of a car from gyroscope data (x,y,z values)? [closed]

I am not an electrical engineer but I don't really know where to ask this question so here it is. I have some x,y,z gyroscope data from a car and I want to calculate the steering wheel angle at a ...
user avatar
0 votes
3 answers
120 views

How to measure tilt on a dynamic device?

I'm trying to instrument a vehicle component. I want to measure a component's angle during a drive cycle. The component has a single degree of freedom, it has a fixed axis. I'm trying to figure out ...
user avatar
  • 392
0 votes
1 answer
54 views

2D Positioning Localization

I have a robot. My robot has three main sensors one is a gyro from which i can get my yaw, pitch, and roll. I also have an encoder in the x and y axis. How can I use these sensors together to reliably ...
user avatar
0 votes
1 answer
827 views

Cannot read accelerometer values from MPU6050 Interfaced with STM32F303RE

I m working on a "self-balancing robot" with STM32F303RE.I m using STCubeMX to generate the MCU configuration code and then I added the main() to get the values from MPU6050 from the following code : ...
user avatar
  • 41
0 votes
1 answer
2k views

MPU6050 showing inconsistent angle values

I'm using this Arduino code to calibrate and read from an MPU6050 accel/gyro sensor from an Arduino Mega. The calibration and reading of values seemed to go well. However, I'm seeing some ...
user avatar
  • 4,329
0 votes
0 answers
129 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 ...
user avatar
  • 31
1 vote
1 answer
150 views

Is it possible to align a mems gyro to approximately true north with no external data input?

Is it possible to align a mems gyro to approximately true north with no external data input - ie nothing input by the user. I want to put a mems gyro/acc ship on a board and mount the board to a ...
user avatar
  • 174
3 votes
2 answers
986 views

Select appropriate bandwidth for sensor (MEMS gyroscope)

Short question: how to select the correct bandwidth for a sensor? Some further details. I'm working with an ADIS16260 (rate gyro) placed upon an industrial vehicle. This sensor has both an analog ...
user avatar
  • 875
0 votes
1 answer
214 views

MS5611 Barometer not working on PCB design

On a recent project of mine, I incorporated an MPU 9250 and a MS5611 Barometer on the i2c bus of an atmega 32u4. The MPU 9250 works perfectly, but as soon as I solder on the MS5611 neither of them ...
user avatar
0 votes
0 answers
929 views

What value pull up resistors does the MPU9250 use? [duplicate]

Looking at the datasheet On page 32, the datasheet says "The MPU-9250 always operates as a slave device when communicating to the system processor, which thus acts as the master. SDA and SCL lines ...
user avatar
0 votes
1 answer
546 views

Understanding L3GD20 gyro output

Considering the following example in paragraph 3.6.3 (Example of angular rate data for FS=250) of STM's AN4505: ...
user avatar
  • 381
-1 votes
1 answer
2k views

refresh rate for gyroscop and accelerometer [ mpu6050 ]

What is refresh rate ( update rate) for gyroscop and accelerometer ? If you write in the register the following values in mpu6050 : SMPLRT_DIV --> 19 CONFIG --> 2 ( DLPF off )
user avatar
2 votes
1 answer
833 views

Angle Random Walk Noise - MEMS Gyro Error sources

I am working in a implementation of a Dead Reckoning approach in a simulator. In order to take values more realistics I am considering this MEMS gyroscope (SMI130). In this document is given this ...
user avatar
4 votes
2 answers
244 views

Is there a better filter or a modification to the Kalman filter that could take advantage of having all the data during the trajectory at once?

I am trying to reconstruct the trajectory of an object with an strapped down IMU on board to do dead reckoning. A Kalman filter seems to be in order. But the Kalman filter seems to be oriented toward ...
user avatar
3 votes
1 answer
5k views

How to calculate the orientation of a IMU sensor?

With a BLE CPro sensor I'm trying to "build" a remote control for a smartphone game. How can I recognise the orientation (pref. grads) of the sensor if it is on the left or right without being ...
user avatar
  • 141
3 votes
1 answer
829 views

Calculating pitch and roll from gyro data

Does anyone know if it's possible to calculate pitch and roll angles from gyro data (without an accelerometer)? I'm trying to use a L3GD20 to measure pitch and roll. I can read the angular rates, but ...
user avatar
  • 883
1 vote
1 answer
406 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: ...
user avatar
  • 141
0 votes
3 answers
248 views

Detect if object is lying on the surface or is it lifted into the air?

Suppose we have a small box with a circutry and a set of sensors in it. Box is lying on the table, but it is light enough to be lifted into the air. What I want to achieve is to switch off the ...
user avatar
0 votes
1 answer
186 views

Rs232 connection to gyro, uC and PC

I have a question regarding RS232 communication between a VectorNav VN-100 Gyro, Mbed LPC1968 uC and PC. I am using gyro to measure the number of rotation and processing it in the uC and displaying ...
user avatar
2 votes
2 answers
453 views

Measuring the velocity/acceleration of a swinging pendulum

I'm trying to find a good way for measuring the speed/acceleration of a swinging pendulum. I know one way is to use an optical encoder for capturing the rotation positions, but unfortunately there's ...
user avatar
  • 883
3 votes
3 answers
5k views

MPU-6050 angle readings under mechanical vibrations

I'm in process of making a quadcopter. At this point I encountered a problem with MPU-6050 angle calculation. When quadcopter is stationary with motors in off state and I'm tilting it, angle readings ...
user avatar
0 votes
2 answers
11k views

Converting raw gyro (L3GD20H) values into angles

As per my understanding, in order to convert the raw gyro values into angles, I need to first multiply the raw values of each axis with the sensitivity level. Example: ...
user avatar
  • 33
0 votes
1 answer
118 views

How to track the 3d movement of a small animal in a 4x4x8 meter cage?

I need to track the movement of a small animal (60 grams) in a cage which contains plants, shelter, branches and so on. I need all three coordinates in real time. Spatial resolution should should not ...
user avatar
1 vote
4 answers
928 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 ...
user avatar
1 vote
1 answer
116 views

Analog Devices Gyro: What are these pins for?

I am after some guidance please. I am designing a basic PCB which includes an ADXRS646 gyro. This is the first time I have designed a circuit with a BGA package and I do not understand the purpose of ...
user avatar
  • 13
-1 votes
1 answer
74 views

How do wearables track exercises without taking input from user?

Recently there have been wearable devices that can track your exercises and reps (eg bench press, push ups, pull ups) without the user telling them. What technology do they use to track these ...
user avatar
1 vote
3 answers
354 views

Gyroscope Problem

I am working at a project which requires to determine the roll of a device. I studied the method through I can do this and I find that an IMU (Inertial Measurement Unit) could help me. I started with ...
user avatar
0 votes
1 answer
1k views

IMU for joint angle measurement

I am planning to use IMU for joint angle measurement of hand(shoulder ,elbow and wrist joint), I am confused about reference frames of accelerometer and gyroscope. According to my understanding ...
user avatar
  • 135