MPU-9150 Sensor results

Hello Guys,

I am using the library MPU-9150 which is a 9-axis accelerometer/gyroscope/magnetometer. It's working but results are un-readable for me. So I am sure it's about maths problem but can't get any clue about where to start of...

I just would like to get a temperature in °C. Angles in degree. Acceleration in g, and compas in degree.

Link to the library: GitHub - sparkfun/MPU-9150_Breakout: Example code and PCB design files for the MPU-9105, 9DOF.

Here the results:

a/g/m: - temp	-2328	-1112	15752	179	25	-33	-511	0	0	 -2.00	 ||
a/g/m: - temp	-2292	-1048	15864	150	-6	-32	4609	0	0	 18.00	 ||
a/g/m: - temp	-2420	-1232	15908	204	3	-47	2049	0	0	 8.00	 ||
a/g/m: - temp	-2308	-1136	15740	198	-16	-26	6657	0	0	 26.00	 ||
a/g/m: - temp	-2384	-1136	15800	157	16	-26	3073	0	0	 12.00	 ||
a/g/m: - temp	-2380	-964	15824	167	21	-22	4097	0	0	 16.00	 ||
a/g/m: - temp	-2380	-1084	15880	195	-3	-34	2049	0	0	 8.00	 ||
a/g/m: - temp	-2336	-1200	15840	148	9	-25	513	0	0	 2.00	 ||
a/g/m: - temp	-2196	-1176	15864	166	25	-17	2561	0	0	 10.00	 ||
a/g/m: - temp	-2272	-1080	15880	188	14	-4	1025	0	0	 4.00	 ||
a/g/m: - temp	-2336	-1048	15756	220	35	-21	1025	0	0	 4.00	 ||
a/g/m: - temp	-2440	-1116	15720	150	-1	-29	2561	0	0	 10.00	 ||
a/g/m: - temp	-2344	-1060	15856	171	18	-56	513	0	0	 2.00	 ||

Thanks for your answer.

Try this
The MPU9150 is just a MPU6050 with a manometer attached the same way you would with a separate chip.

Lets see if this will get you going.

Also try the attached code to get calibration Numbers for the DMP

MPU-9255Cal.ino (48.2 KB)

Hello,

Thanks for your answer. I tested quickly the sketch but I have to adapt it somehow. I will have some time free this week end so I'll let you know :slight_smile:

thanks