AnsweredAssumed Answered

STM32 + MPU6050 / BMP 180 wrong data

Question asked by jamrozowicz.przemysl on Oct 30, 2016
Latest reply on Oct 31, 2016 by Clive One
I have STM32F103C8T6 and I've bought gyroscope + accelerator (MPU6050) as well as barometer (BMP180).

I am using HAL libraries from the website with some modifications to be able to use it on STM32F1 board.

I can connect to both these devices, they seem to work but the data is really messy.
I am not touching it and once it says there is pressure 1000hPa and in the next reading it says there is 1012 hPa.

Gyro + acc:
This one gives even worse data, again - I'm not touch it at all and the values it returns jump a lot! I read that it could be because of the wrong capacitor ( but I checked my board and it's 'the older one' from this thread so that's shouldn't be the case.

I wanted to use this devices to build simple drone but I won't manage to do it with such bad data.

Could anyone advise me what should I do? Are my devices faulty or it's a normal behavior and I should use some libraries to filter the data I receive? (I guess I can but filters won't do much if the data is that messy)