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

What does the MPU6050s DMP initialization data mean?

I was wondering what are those 3kB of hex data loaded to DMP on initialization. I know they are supposed to be some kind of “program” for DMP, but what do they do? Is there a way to get assembly version, and if so, is there a way to make my own? Or,…
1
vote
0 answers

Mpu6050 not connecting to Esp32 after coming back from DeepSleep Mode

I am a complete noob in hardware programming. I was doing a project in which i had to calculate roll and pitch values from mpu6050 while implementing deep sleep mode in esp32 to reduce power consumption. I followed online tutorials and managed to…
Noman Aziz
  • 31
  • 4
1
vote
0 answers

Fall detection using MPU6050 and sim900a

I am trying to make fall detection using MPU6050, SIM900a, and Arduino Nano. after uploading the code to Arduino, the serial monitor show me this: serial monitor output this is the code that I have tried, #include // Library for…
Blue Star
  • 11
  • 2
1
vote
1 answer

Setting initial values for pitch and roll for MPU6050 DMP processing

I want to handle case when my MPU6050 is disconnected and reset. Unfortunately, after reinit MPU6050 shows pitch and roll values as 0 and stabilizes after ~1-2s with right values. I would like to hint DMP by writing last read values before reset. Is…
1
vote
0 answers

How can I calculate vertical velocity with MPU9250?

What I am trying to archive with this sensor is a variometer. The main function of variometer is to tell how many meters / second it is going up or down. I have a ESP32 Dev module connected to a MPU9250. I used this library (with a little fix),…
kukrt
  • 2,117
  • 3
  • 21
  • 32
1
vote
0 answers

mpu6050 CONFIG register

To enable low pass filter in mpu6050 the the first three bits [0:2] have to be modified in CONFIG register (0x1A) according to the required cutoff frequency. How to set/reset that particular bits? Already 255 is stored in that register (1111 1111)…
1
vote
0 answers

How to do "burst reading" of mpu6050's sensor registers?

In "MPU-6050 Register Map and Descriptions Revision 3.2" it talks about burst reading data from registers mpu6050. The data within the accelerometer sensors’ internal register set is always updated at the Sample Rate. Meanwhile, the user-facing…
Natal04ka
  • 45
  • 6
1
vote
2 answers

write continuous data to csv file

I am using a code in python to get the data of a sensor, the sensor measures vibration in different axis. the code works well but i am trying to write the output data to a csv file automatically. this is the code i am using: import smbus …
1
vote
1 answer

I2Cmaster with MPU6050 in VHDL not working

For my hobby project I try to make a quadcopter which balances itself with the MPU-6050. The flight controller shall be the FPGA Altera cyclone IV, because its fun. I'm coding it in VHDL. Anyway I'm stuck on the I2C communication with the MPU-6050.…
Nelizzsan
  • 91
  • 2
1
vote
1 answer

Integrate MPU6050 with Windows 10 IoT (windows.devices.sensors)

I am currently working with Windows 10 IoT and RaspberryPi 3b + MPU6050 connected over I2C. While looking around I found windows.devices.sensors.accelerometer and windows.devices.sensors.gyrometer. I think these classes can be used on Windows Phones…
Stephan
  • 143
  • 1
  • 8
1
vote
1 answer

Data not sending data over socket in loop

I'm trying to send sensor information from instance of NodeJs to another(eventually on another server). When the while loop in the client code below is enable no connection or data is sent to the server. However when the while loop is commented out…
supertorqued
  • 109
  • 1
  • 3
  • 15
1
vote
1 answer

MPU6050 Quaternion math

Does anyone know how the MPU6050 internally calculates the quaternion values? I followed all of the steps to attempt and replicate this math by integrating the gyro degrees per second readings over time to get Euler angles and then converting those…
GNG
  • 1,341
  • 2
  • 23
  • 50
1
vote
2 answers

how use the MPU 6050 in ultra low power mode

I'm currently trying to set up a fermentation specific gravity monitor, using a tilt sensor. The process can take several weeks, and must be contained in a sterile container, so must be battery powerered. I'm using a slightly modified ESP8266-01,…
phil
  • 13
  • 1
  • 8
1
vote
1 answer

Communicating MPU6050 sensor data to Arduino IDE via NodeMCU

I am trying to receive the MPU6050 data in the Arduino IDE Serial monitor via NodeMCU 8266. This is the code that I uploaded to the NodeMCU : #include const int MPU_addr=0x68; // I2C address of the MPU-6050 int16_t…
Dravidian
  • 9,945
  • 3
  • 34
  • 74
1
vote
2 answers

Interfacing issue with esp8266 esp-01 module and mpu6050

I used the Arduino uno to upload the sketch to the esp 01 module. I attached the image how I connected the esp-01 and mpu6050, browser continuously prints the gyro values but incrementing by 0.01 I need actual gyro values [1] #include…