mpu6050 icon indicating copy to clipboard operation
mpu6050 copied to clipboard

A Python module for accessing the MPU-6050 digital accelerometer and gyroscope on a Raspberry Pi.

Results 11 mpu6050 issues
Sort by recently updated
recently updated
newest added

``` File "/home/pi/.local/lib/python3.7/site-packages/mpu6050/mpu6050.py", line 60, in __init__ self.bus.write_byte_data(self.address, self.PWR_MGMT_1, 0x00) OSError: [Errno 121] Remote I/O error ``` I2C is enabled

Hello, I'm a student and I'm trying to implement a gimbal servoed on 1 axis with cheap components. To do that I bought a MPU6050 and a motoreductor. I have...

the smbus installation worked, I was able to test the i2c and that works. I also got no errors when installing through pip install. However as soon as I try...

Hey, thanks for the library! I've had to update to smbus2 so it plays nice with another library. Figure it might be useful. Not sure if this is still maintained,...

### python3 sensor.py Traceback (most recent call last): File "sensor.py", line 3, in mpu = mpu6050(0x68) TypeError: 'module' object is not callable my code: ``` from mpu6050 import mpu6050 import...

How do you enter the offsets acquired during calibration? Otherwise, the values read from the device are raw and meaningless.

enhancement

The raspberry pi is always getting zeros for the Accelerometer data. Accelerometer data. Do you know the reason ? x: 0.0 y: 0.0 z: 0.0 Gyroscope data x: -156.183206107 y:...

Performs a software calibration of the 6050 to zero it out. Could possibly be extended to write the calibrations to the 6050 registers with a bit of rework.

enhancement

Is it possible to modify the library in order to read data directly from the DMP?

enhancement

When I getting data from mpu6050, even if I hold the sensor on my hand and don't allow to move, I still see 1g acceleration on my raspberry. When I...