I've got an GY-521 accelerometer/gyro/temp sensor (which has an MPU-6050 as sensor), when I read the accelerometers raw values the x-axis and y-axis give about right value (between -4,096 and 4,096 is what it should be) but the z-axis gives me a value between -3645 and 4699 (can be inaccurate). When i look at this it seems like there has been added about 500 to it. Does anyone know why this is and how to solve it?
Thank you in advanced TJ
PS: the µC I use is a Sparkfun Pro Micro
Datasheets: MPU-6050: https://store.invensense.com/datasheets/invensense/MPU-6050_DataSheet_V3%204.pdf GY-521 schematic: http://www.haoyuelectronics.com/Attachment/GY-521/GY-521-SCH.jpg