Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The MPU-6050 is a 6DOF. In other words it has 6 Degrees Of Freedom, 3 axes of acceleration (x, y, z) and 3 axes of rotational movement (yaw, pitch, roll). It uses the I2C protocol.
1
vote
2
answers
1k
views
Gyro reading of MPU6050 drifts too much on fast changes only
I am trying to write a simple sketch for the MPU6050. … Slow to Mid changes output:
Fast changes output:
#include <Wire.h>
#define CAL_AVERAGE 2000
const int MPU = 0x68; //I2C address of MPU6050
const float alpha = 0.95;
double ax, ay, az;
double gx, gy …