Hi Ben
Can you have a look if at the component BMM150 if is a problem reading Z axis?
It could be that at the Z axis MSB and LSB are swapped or not correct.
Somehow for this component, the register for z axis are not built same way as for x axis and y axis
If I read the registers directly I get reasonable values.
regards
Stefan
read register
register are not the same:
for z
BMM150 Bosch geomagnetic sensor Z axis problem
-
- Valued Contributor
- Posts: 779
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 152 times
- Been thanked: 176 times
-
- Valued Contributor
- Posts: 779
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 152 times
- Been thanked: 176 times
Re: BMM150 Bosch geomagnetic sensor Z axis problem
Hi Ben
I am not sure, the X and Y axis are also not in correct.
When I read the registers directly I get different values. I have tested these new values
I used a magnet to test the XYZ axes and the readings seem to be ok.
regards
Stefan
small magnet Magnet has two pol in this direction I put the magnet on all the six side in the same way and read the values
I am not sure, the X and Y axis are also not in correct.
When I read the registers directly I get different values. I have tested these new values
I used a magnet to test the XYZ axes and the readings seem to be ok.
regards
Stefan
small magnet Magnet has two pol in this direction I put the magnet on all the six side in the same way and read the values