Questions tagged [mpu6050]

The MPU6050 is an accelerometer, commonly available 6DOF IMU (inertial measurement unit).

The MPU6050 is a 6DOF IMU from Invensense. It contains a 3-axis accelerometer, a 3-axis MEMS gyroscopic sensor, and a temperature sensor.

117 questions
0
votes
1 answer

Convert values from accelerometer to G forces

I am trying to build a small G force logger with the use of a esp8266 and a mpu6050, I've managed to read values from the sensor and its prints out the following data: Now I am wondering how to get human readable G forces from this data? Code that I…
0
votes
1 answer

FFT on MPU6050 output signal

I want to perform FFT on data array that I have extracted from MPU6050 sensor connected to Arduino UNO using Python Please find the data sample…
user9557119
0
votes
0 answers

MPU6050 altitude holding arduino

Guys i have built a drone. And in that i have used mpu6050 to act as a self balancing mechanism. Now i want to devlop it to include altitude holding as well. But i am having a trouble because i have no idea how co get the altitude measurements from…
0
votes
0 answers

Cannot load InvenSense's MotionDriver firmware

I am trying to read data from the DMP of the MPU-6050 using InvenSense's motion driver 6.12. // ... #define DEFAULT_MPU_HZ 100 void die(const char* message) { fprintf(stderr, message); exit(1); } int main(void) { if(mpu_init(NULL))…
JeffreyH
  • 31
  • 5
0
votes
1 answer

Need explanation for InvenSenses Motion Driver

I'm working on a project using InvenSense's Motion Driver API to read values from the MPU-6050. As a start I'm trying to get the temperature. Reading the register documentation there is the following sentence. The temperature in degrees C for a…
JeffreyH
  • 31
  • 5
0
votes
1 answer

MPU6050 response time with STM32F303

I'm trying to built Self Balancing Robot with STM32F303 Micro controller and for position measurement i'm using MPU6050. While data is being transmitted and received with I2C transmission protocol. I have previous experience with using STM32F303 and…
Moiz Husnain
  • 50
  • 11
0
votes
1 answer

How to configure mpu6050 gyro sensor with stm324 in Atollic TrueStudio?

I am trying to build a self balancing robot as my project but, doing so has proved to be quite a challenge as I cannot find any guide or helpful content yet. The problem is that I am using atollic TrueStudio and programming in C without using CubeMX…
Zero_Cool
  • 53
  • 1
  • 10
0
votes
1 answer

Adding two int16s to make a single standard int

At the beginning of my code I start nine variables: int16_t ax, ay, az; int16_t gx, gy, gz; int16_t xc, yc, zc; Later on I collect the data from my gyro/accelerometer (the MPU6050): accelgyro.getAcceleration(&ax, &ay,…
Angel -_-
  • 3
  • 2
0
votes
1 answer

Getting MPU6050 data through Arduino Micro Pro and Bluetooth

I have a problem with getting sensor data from MPU6050 through Bluetooth module HC-06. I am using Arduino Micro Pro. I do not have a lot of experience, so it could be some rookie mistake. If I upload this code to Arduino, then connect via…
Ausmints
  • 1
  • 1
0
votes
1 answer

Mpu6050 and Adafruit Ultimate Gps not working together on Arduino Due

I have the codes for mpu6050 and adafruit ultimate gps breakout v3 and they are working fine seperately on arduino due but when i try to combine both the codes the gps does not get a fix. Can anybody help me out? The code for mpu6050 is given below …
0
votes
2 answers

Arduino code not adding numbers properly

I am trying to create a function to find the average of sensor values on the Arduino in order to calibrate it, however the summation is not working properly and therefore the average is not correct. The table below shows a sample of the output. The…
0
votes
1 answer

MPU6050 doesn't seem to give values properly and no i2c devices found error thrown

I am using MPU6050 with arduino. It reads something but not numerical values! 1- Connections are the same as in below. 2- Then I added i2cdev library from here and mpu6050 library from here I copied them to C:\Program…
Uygar Uçar
  • 83
  • 3
  • 10
0
votes
1 answer

How to sort rows of a matrix based on the constraint of another matrix?

The 6 faces method is a very cheap and fast way to calibrate and accelerometer like my MPU6050, here a great description of the method. I made 6 tests to calibrate the accelerometer based on the g vector. After that I build up a matrix and in each…
Andrea Ciufo
  • 359
  • 1
  • 3
  • 19
0
votes
1 answer

IC2 SLAVE NOT RESPONDING XC8

Hey guys i've been working on this like 72 hours straight and i can't find the error, i'm working on a PIC16F1719 i'm trying to set 3 peripherials an ADC a I2C Protocol and a USART for comunicating to a BT however the ADC was easy, but i'm having a…
0
votes
0 answers

Which type of USB class is appropriate?

I am newbie in USB! I want to read data from MPU6050 using stm32f4discovery. and send data through USB to PC. Which type of USB class is appropriate? Thanks.
rosebob
  • 3
  • 3