I'm using HMC5883L compass module with arduino. There is a strange issue with the readings from this module - for some reason, the Z and Y axis are both affected from only Z axis movement or Y axis movement.
I need the readings to be correct per axis movement.
Y = tilting nose up/down
Z = turning left/right (compass)
I tried several libraries, the last two from these links:
https://github.com/sleemanj/HMC5883L_Simple
https://github.com/jarzebski/Arduino-HMC5883L
the module:
https://www.ebay.com/itm/GY-273-HMC...896943&hash=item5d37766e10:g:7PwAAOSwYvFZL5aC
I need the readings to be correct per axis movement.
Y = tilting nose up/down
Z = turning left/right (compass)
I tried several libraries, the last two from these links:
https://github.com/sleemanj/HMC5883L_Simple
https://github.com/jarzebski/Arduino-HMC5883L
the module:
https://www.ebay.com/itm/GY-273-HMC...896943&hash=item5d37766e10:g:7PwAAOSwYvFZL5aC