ArduCopterNG Beta2 - Compass Offsets

Everything works fine until I get to the compass offsets. It displays scrolling data but everything is zero and never changes as I move the quad. I did run the CLI "a" command and made sure that the mag was activated.

 

Any Ideas what to check?

 

This Quad was flying fine with the RC_1 release, this happened when I upgraded to NG.I know that Rc_1 didn't use the compass.

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    For people who want to see how offset calibration is done, I posted video how to do it and how to configure your magneto orientations.

     

    Check out http://diydrones.com/forum/topics/video-arducopter-magnetometer

  • Same problem here. I have a MAG just bough from DIY drones.

    I soldered it on the shield being very carefull and everything was working even though I always had different offsets.

    So I mounted the IMU on the copter and I never had the yaw still, so I went back to the CLI and never had numbers again only 0s...

    I have no idea how to check if it is a board problem or a Mag problem, and since is my second one (the first i broke the 3.3v while cutting the borders) I wouldn't like to buy another.

    Any Ideas on how to check it is really the mag (i.e. with rs232, avr programmer etc.)?

     

    Thnaks,

    Emile

  • @ Doug & Robert,

     

    All the soldering looks ok under the microscope.

    There is a possibility that the i2c bus not functioning properly.

    Is there anyway to test the i2c?

     

    Regards, Michel 

  • Hi Doug and Robert,

     

    Make it three people.

    Like you I get also only zeros with the CLI.

    Tommorow I will take a closer look under a microscope.

     

    Keep you posted.

     

    Regard, Michel

  • Well I found the problem, sort of. I put CLI in Compass Offsets and it started displaying 0's. Then I pushed on each of the components on the board individually and found that I started getting data when I pushed on the small square chip closest to the pins. The problem seems to be a bad solder joint on the board itself. Now I'll see if I can identify the exact joint and fix it.

    Doug

  • I'm at the exact same point in the process and I'm having the exact same problem. (I'm using the DIY magnetometer with #define MAGORIENTATION  AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD)

     

     

  • Developer

    You can test your maggy too by opening example sketch from Arduino IDE. Just look under examples AP_Compass and AP_Compass_test

  • 3D Robotics
    Sounds like the magnetometer isn't connected right. How are connecting it?

    (I'm assuming you have a magnetometer--they don't come with the base ArduCopter or APM)
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
11 hours ago
DIY Robocars via Twitter
11 hours ago
DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
More…