I utilized the BMM150 driver from GitHub using below link to acquire data from the sensor.
I have successfully retrieved data for the x, y, and z axes from the BMM150 sensor. The data for the x and y axes seems to be accurate, but there is noticeable noise in the z-axis data.
I have included a screenshot displaying the plotted data for the x, y, and z axes from the sensor.
Please assist me in identifying and resolving the noise present in the z-axis data.
If you design a product with the BMM150, you need to check the hardware for interference (for example, during hardware operation, the changing current can cause interference from the magnetic field, etc.). Refer document https://www.bosch-sensortec.com/media/boschsensortec/downloads/handling_soldering_mounting_instructi... to check it.
Alternatively, you can keep the sensor stationary and record the x,y,z axis data. Calculate the standard deviation, and see if the noise is within the range specified in the data sheet.
I kept the sensor stationary, recorded the data for the x, y, and z axes.
kindly let me know my sensor z axis noise is within an acceptable range? based on the values i have provided in the attachment.