HELP no readings from sensors!!

Hello all, we've been trying to get data from the magnetometer using the code 

http://www.loveelectronics.co.uk/Tutorials/8/hmc5883l-tutorial-and-arduino-library

it kept giving us the same error, we originally thought that it was an issue with gain or the code.

so we tested it out with mission planner, the compass test freezes and doesn't do anything, and the gyro test fails to boot.

if we try to calibrate the compass it says no data to log, this is a relatively new ardupilot, so I don't think the hardware is bad.

any suggestions would be greatly appreciated.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Are you referring to the 3.3V regulator circuit on the APM?

    -=Doug

  • In case anyone else is having this issue, the cause was a bad voltage regulator. It was running at 1 volt which was enough to power the sensors but not enough to get readings from them. we replaced this and now are getting accurate readings.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…