Questions tagged [gyroscope]

Typically refers to a device which measures orientation.

77 questions
6
votes
1 answer

A proper way to get the roll, pitch and yaw values

TL, DR : What is the method (in terms of sensors and algorithm) to get the roll, pitch angles of an aircraft at any instant? I am planning to build a hobby aircraft. I am so confused about which kind of sensors should I use and how to use them in…
muyustan
  • 175
  • 1
  • 7
6
votes
2 answers

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(MPU_addr, 14, true); // request a total of 14…
Julio
  • 113
  • 2
  • 3
  • 11
5
votes
1 answer

Do gyroscopes purposefully show erroneous data?

I tested an MPU-6050 (GY-521) using an Arduino Nano. I used the I2CDevLib and opened the MPU6050_DMP6.ino with the Arduino IDE. I opened the MPUTeapot.pde Processing-file with Processing. A few changes was necessary to make it work: MPU6050…
Friend of Kim
  • 1,543
  • 3
  • 16
  • 16
5
votes
2 answers

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 movements. Talking with a friend, he showed me an…
Gabriel Brito
  • 165
  • 1
  • 2
  • 10
4
votes
2 answers

MPU-6050 - angle drift

Setup Windows 7 Entreprise MPU-6050 : GY-521 breakout Arduino Nano (chinese) with CH340 FTDI driver Arduino IDE 1.6.12 Library for the gyro Problem When I run my code, the MPU will detect the angles at a good enough accuracy, but when I leave it…
Dat Ha
  • 2,943
  • 6
  • 24
  • 46
3
votes
2 answers

Difficulties acquiring angle values from MPU6050

I'm attempting to acquire angle values from an MPU6050 IMU sensor using an ESP32-DevKitM-1 microcontroller. My setup contains the ESP32 board, the MPU6050 board, and an SD card reader to save the readings from the sensor: I'm using the Arduino IDE…
Runsva
  • 173
  • 5
3
votes
1 answer

Can I use an accelerometer to measure the velocity of a car in a curve?

I am making an application that is used to measure the velocity, it has an accelerometer that measures the component acceleration in the XYZ-axis. When the car is moving just straight the measurement is ok, as only linear components are involved. My…
3
votes
1 answer

Why the MPU6050 gyroscope read write register value is 0x08 for a full scale of 500 degrees per second?

I am trying to connect a gyroscope MPU6050 to arduino ATmega2560 and read its raw values from its 6DOF (gyro and acc). I found the following code: //Activate the MPU-6050 Wire.beginTransmission(0x68); //Start…
am909090
  • 33
  • 3
3
votes
2 answers

What does “LSB per degree per second” mean?

I'm currently working with a digital output gyroscope. Its sensitivity is given as 120 least-significant bit per degree per second. While every single component of that unit is easy to understand I don't quite get what it means altogether. Can you…
Hedge
  • 207
  • 1
  • 3
  • 9
2
votes
0 answers

MPU9250 and MPU6050 not working with SAMD21 board

I am trying to use an MPU6050 with my SAMD21-based board (a LightAPRS W-2), but it doesn't work. The sensor definitely works, as I can get data from another 3.3 Vlogic-level board, and the sensor works with a level shifter with an Arduino Uno. I do…
2
votes
1 answer

GY-521 output and degrees

I am trying to make an observatory through 2 GY-521 gyroscopes and using the outputs I have to make a motor move, but I have a problem. When I move one of the two gyroscopes the outputs change, but then as soon as I leave it it returns to the…
2
votes
0 answers

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 specific IMU, I would highly appreciate it.
kidCoder
  • 121
  • 3
2
votes
0 answers

Extract Static Acceleration from MPU6050 using Formula

I am trying to implement a research paper for my project and there is a formula which I am failing to interpret: According to the research paper, we extract the static acceleration component for each axis µ, (i=X, Y, Z) by using a running mean…
2
votes
1 answer

Wire.endTransmission(false) hanging the program after running once when using MPU6050

For this project, I was using an Elegoo Car V3 and I was trying to add a gyroscope onto it. When I run the code for the car, my loop code iterates once and it is always able to read the sensor data. But after that, the program starts hanging. I…
2
votes
0 answers

Stop getting values from arduino after some time

I have a strange problem, I have Arduino UNO/MEGA and I need to get Gyro sensors's data and I want to see the data in the serial monitor. Seems like a simple task, I wrote a simple C program which collects data from Arduino through serial monitor I…
uvan
  • 21
  • 2
1
2 3 4 5 6