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
0 answers

get freely Rotational from MPU6050 and arduino

I am using Jeff library to get Rotational data from the MPU6050. but there is a problem ! Jeff lib Jeff codes made 0 to 360 degree output. that's mean we don't have 361 degree! and more. in my project I need freely rotational. for example 800 degree…
0
votes
1 answer

Balancing quadcopter using Arduino

I am doing a project on self balancing quadcopter with Autonomous control. I am using Arduino Mega 2560 and MPU6050. I have obtained the roll and pitch angles from MPU6050 without the help of DMP and applied complex filter to omit the noise due to…
0
votes
1 answer

Interfacing with SparkFun mpu-6050 with a Texas Instruments TM4C123G LaunchPad

I am trying to interface with the MPU-6050 as part of a robotics project using the Texas Instruments TM4C123G LaunchPad. I am uploading code onto this from Energia and am using the serial monitor to see the raw data output, however I am only…
0
votes
1 answer

Why "fifoBuffer" values of indexes 2,3,6,7,10,11 are not passed in the teapotPacket[] array?

I'm using the MPU6050 library by Jeff Rowberg. In the code, while passing data to the Teapot library(for processing,i.e, graphics emulation), whole fifobuffer is not passed. Why is that so ? Here's the code, see only few indices of fifobuffer array…
Rohit Lal
  • 2,791
  • 1
  • 20
  • 36
0
votes
1 answer

MPU-6050 not working

I am trying to make an accelerometer based mouse. I am using a MPU-6050 for my accelerometer. I have connected the ports the following: VCC - 5V GND - GND SCL - A4 SDA - A5 INT - 2 Here is my code: // MPU-6050 Short Example Sketch // By Arduino…
Ethan Ma
  • 69
  • 3
  • 7
-1
votes
1 answer

Connect MPU 6050 and HMC 5883L to i2c bus of Arduino Nano

I'm trying to connect the MPU 6050 module and HMC 5883L module for my IMU of the Autonomous Car. But there is one i2c connection in Nano (A4, A5). When I run the code for MPU 6050, it shows the results. the code is here. The circuit diagram…
-1
votes
1 answer

I2C PROGRAMMING ON ARM

I'm unable to use I2C on an ARM CORTEX M3 process. What am I doing wrong? Which test could I perform to find the problem? It is a GD32F130C8 (master) and I'm programming it with KEIL (using the GD32F1x0 Firmware Library) The slave is a MPU-6050…
Gaucho
  • 1,328
  • 1
  • 17
  • 32
-1
votes
2 answers

Arduino Accelerometer mpu6050, No raw data

I am working on a project which uses an accelerometer with an arduino Nano. I am using the MPU6050. However I have the same static values wether I move the MPU6050 or not... I only get -1. That's really frustrating considering that all the…
E.B
  • 141
  • 3
  • 15
-1
votes
1 answer

Accelerometer vibration detection using a threshold

I've program the Accelerometer to detect vibrations by setting a reasonable min/max threshold along all 3-axis' raw data. I need it to only count how many times it detects vibration, however, due to the way it's programmed with the threshold, I used…
-1
votes
1 answer

How to stream data from MPU6050+NodeMCU to Raspberry Pi?

I'm working on a small project, trying to wirelessly stream Accelerometer and Gyro data from 5 MPU6050 to my Raspberry pi at 100Hz via wifi. I've managed to configure the NodeMCUs to sample the data from my accelerometers, but now I'm a little…
Gleko
  • 127
  • 10
-2
votes
2 answers

Connection Atmega8 with MPU6050

I have question, because I have problem with connection Atmega8 with mpu6050 by means of I2C. This is my connection: Is this a good connetion?
Jakub W
  • 165
  • 2
  • 18
-3
votes
0 answers

Raspberry pi pico w MPU6050 not working but worked on arduino uno

I am using MPU6050 with raspberry pi pico w using the same pico example code for MPU6050_i2c c/c++ sdk but it seems not working and displaying zeros I tripple checked the connection diagram Pico ----- mpu6050: 3.3 ----- vcc GND ----- GND GPIO 4…
1 2 3 4 5 6 7
8