then i connected the hmc5883l to the i2c port. when i start the cli, i get the message “COMPASS INIT ERROR”. in terminal at “test > compass” i get “compass initialisation failed!”
what’s wrong? could i use the apm in future or is it damaged forever?
@Reddi,
Did you change the 5 vdc solder jumper on the compass board to the 3.3 vdc position if you are using the 3DR HMC5883L compass module?
The I2C interface and compass IC run on 3.3 vdc and if you haven’t changed the voltage supply jumper to 3.3 vdc, then 3.3 vdc is being sent to the module 5 v to 3.3 v regulator which cannot supply the correct 3.3 vdc to the compass IC.
Have you verified the cable connections from the compass module to the APM?
Regard,
TCIII Admin