Hello I have an APM 2.5 and I was just wondering if anyone knew how to access/read the data given by either the onboard gyroscope/accelerometer (MPU-6000) or the Digital Compass (HMC5883L-TR) without using the Mission Planner (aka via the Serial Monitor)? 

I was trying to read the EAGLE files about the APM 2.5 and had no luck trying to figure out how both pieces were built into the APM 2.5?

A point in the general direction or a sample code would be greatly appreciated.

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

Join diydrones

Email me when people reply –

Replies

  • Do you mean while running the ArduCopter/ArduPlane firmware or do you mean just using the APM as an Arduino with sensors for a different project with different firmware? In command line mode you can test the sensors which spits out raw data from them, depending on which sensor you test.

    https://code.google.com/p/arducopter/wiki/AC2CLI

    If you want to use the sensors but not the firmware I'm sure you could tap into the ArduCopter firmware to find out how to read the sensors. I'm not familiar enough with the source to tell you exactly where that is though. You can get the source here.

    https://code.google.com/p/arducopter/downloads/list

This reply was deleted.

Activity