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
1 answer
52 views

How to connect MPU-6050 gyroscope pins?

I want use MPU-6050 in one of my projects. I have problem with some pins of this sensor. CLKIN: What is this pin? I connect one oscillator with jumper and pull-down this pin. Datasheet say ground it ...
Moka's user avatar
  • 21
1 vote
1 answer
95 views

Converting accelerometer readings to center of IMU

I recently purchased 3 single axis accelerometers for tracking acceleration of a vehicle. I have used a box like structure to mount each accelerometer orthogonal to each other ( As much as possible) ...
Akash Sagar's user avatar
0 votes
0 answers
22 views

How to find gain parameter of complementary filter algorithm for application in navigation

I am using mpu-6050 6 axis Inertial measurement Unit for navigational purpose for tracking orientation and position of a vehicle w.r.t starting point, I am trying to improve the orientation tracking ...
Akash Sagar's user avatar
2 votes
1 answer
59 views

Rotated gyroscope 180 degrees but integration shows 90

I'm a student new to sensors. I'm currently calibrating the gyroscope from the following IMU: ICM42670. I was able to get the bias by leaving the gyro for some time and getting the average of the ...
miiguell's user avatar
8 votes
3 answers
1k views

Do MEMS or optical gyroscope record Earth's rotational and revolutional angular velocities?

I am using a 3 axis gyroscope (Android device) to record angular velocities using a sensor data logger application. When the device is placed stationary, the gyroscope recorded the following values: ...
Akash Sagar's user avatar
0 votes
1 answer
47 views

Waveshare 10 DOF (C) IMU sensor outputs are inconsistent

I got this Waveshare 10 DOF IMU Sensor (C) from my workplace to use in a project but the demo code given in their site. After I uploaded the code to the Arduino UNO I have, the serial monitor outputs ...
Berk's user avatar
  • 321
1 vote
0 answers
104 views

How to detect orientation with accelerometer when vehicle has variable acceleration?

According to my research, in order to detect angular orientation, AHRSs use gyros and accelerometers. Using a gyro on its own does not work well because of integration drift, and only using an ...
Mert Celik's user avatar
1 vote
2 answers
102 views

Difference between compass/magnetic sensor, and orientation sensor?

I want to be able to accurately measure the static 3D orientation of a drone I am building. I understand one way to do this is to use a gyro sensor with continuous integration. I want to combine this ...
CaptainCodeman's user avatar
0 votes
1 answer
105 views

LSM9DS1 FIFO operation

The datasheet of the LSM9DS1 on pages 21-23 is very unclear on how actually the FIFO on the chip works. First of all, how many FIFOs does this chip have? From several places it looks like just one. In ...
Buran's user avatar
  • 21
1 vote
0 answers
54 views

LSM9DS1 inactivity mode

The datasheet of the LSM9DS1 says on page 41: ...
Buran's user avatar
  • 21
0 votes
1 answer
50 views

L3GD20H Gtyro I2C Communication

I'm trying to use a L3GD20H gyro module with I2C. I'm using this code for trying I2C: ...
ybi's user avatar
  • 1
2 votes
2 answers
604 views

What is the correct maximum sample rate for the MPU-6500? Most of the internet says 32kHz, the datasheets say this isn't likely

The MPU-6500 is an IMU IC from InvenSense/TDK that superseded the (legendary, by now) MPU-6050 IMU IC. Supposedly, the major performance improvement was that it has a sample rate of 32k samples a ...
Charlie's user avatar
  • 348
0 votes
2 answers
577 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 ...
Synapse Pixel's user avatar
1 vote
0 answers
190 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 ...
SiberiaEnjoyer's user avatar
1 vote
1 answer
299 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 changing when the sensor is moving, and ...
user7538434's user avatar
0 votes
1 answer
44 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 ...
TA2ERR's user avatar
  • 89
1 vote
0 answers
332 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, ...
Karekin_FPV's user avatar
0 votes
0 answers
67 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 ...
Carlo's user avatar
  • 145
0 votes
0 answers
116 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....
machinery's user avatar
  • 103
0 votes
1 answer
220 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 ...
Kinka-Byo's user avatar
  • 3,340
0 votes
0 answers
72 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. ...
calculusnoob's user avatar
0 votes
0 answers
41 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 ...
kellogs's user avatar
  • 1,050
0 votes
1 answer
33 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 ...
IWProgrammer's user avatar
2 votes
1 answer
858 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 ...
Sam's user avatar
  • 123
0 votes
6 answers
193 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 ...
foldone's user avatar
  • 61
0 votes
2 answers
1k 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) ...
stardust's user avatar
  • 218
1 vote
2 answers
228 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." ...
alt-rose's user avatar
  • 1,461
6 votes
3 answers
10k 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 ...
DryRun's user avatar
  • 541
0 votes
0 answers
254 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 ...
ckkkk's user avatar
  • 9
0 votes
1 answer
2k 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 ...
Braydon Burkhardt's user avatar
1 vote
1 answer
488 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 ...
Captain aaloo reportin' in's 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 ...
Captain aaloo reportin' in's user avatar
0 votes
1 answer
200 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 ...
RageLog's user avatar
-2 votes
5 answers
1k 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 ...
Sreten Jocić's user avatar
0 votes
3 answers
144 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 ...
zipzit's user avatar
  • 392
0 votes
1 answer
67 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 ...
Archishmaan P's user avatar
0 votes
1 answer
883 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 : ...
Raven's user avatar
  • 51
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 ...
Cerin's user avatar
  • 4,469
0 votes
0 answers
143 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 ...
usinjin's user avatar
  • 31
1 vote
1 answer
164 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 ...
Larry_C's user avatar
  • 184
3 votes
2 answers
1k 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 ...
Mark's user avatar
  • 1,160
0 votes
1 answer
232 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
933 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
608 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: ...
vdudouyt's user avatar
  • 391
-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 )
user29971's user avatar
2 votes
1 answer
946 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 ...
Pedro Libório's user avatar
4 votes
2 answers
275 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 ...
George Gomes's user avatar
3 votes
1 answer
7k 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 ...
Pompeyo's user avatar
  • 141
3 votes
1 answer
1k 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 ...
John M.'s user avatar
  • 883
1 vote
1 answer
492 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: ...
Pompeyo's user avatar
  • 141