Hello, i am hoping someone can help me with this.
I know the earth has a magnetic field and it can vary from 25ut to 65ut.
With no magnet around my magnetometer i get a reading of 17ut (earth's magnetic field). I then put a magnetic exactly 100mm away along the z-axis. I then get a reading of 100ut, this seems perfectly fine to me.
I then put my magnetometer in a new location with no magnet near it and get a reading of 22ut (earth's magnetic field). I then put the same magnetic exactly 100mm away along the the z-axis. I then get a reading of 125ut.
Now i see something is not right. As the earth's magnetic field increase, the strength of the field around the magnetometer increase even with a much stronger magnet in place. so it looks like the magnetic field of the magnet and the magnetic field of the earth are combining together. It does not seems to be linear either.
Is there away of subtracting the earth magnetic field from the output of the magnetometer, to just leave me with the data of my magnet?
If anyone has had this problem, or knows how they can help, please contact me.