Why is MPU6050 giving weird values?

Hi everybody,

I am setting up a bot using a raspberry, an AlphaBot2 and a bunch of sensors and scripts. It’s my first bot and I’m not very used to sensors and things like that.

Yesterday I connected a mpu6050 to the i2c pins of the raspberry, and everything is OK… But the value returned are really weird. I am expecting to see values near to 0 on the accelerometer when the bot is not moving, but I see things in the range of 0.1 – 0.3 on all the three axis.

How can I solve this? Is there any calibration to do? Thanks

pic of the sensor

submitted by /u/drotosclerosi
[link] [comments]