Only 0 values from APM_ADC_test

Have the AP Mega and IMU assembled, have done some basic tests to switch led's on/off etc.

One thing I can not get working and have trouble debugging is the ADC, all the test program returns is a row of 0's.

Any ideas how to debug ?

The code I used is the files as below for the libraries and APM_ADC_test.


Hein

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

Join diydrones

Email me when people reply –

Replies

  • Woohoo! Fixed it.  In case others see this issue, for me there was solder that shorted together pins 11 and 12 on the Atmel.  11 is ground and 12 is RX2 which is how the ADC sends data back to the Atmel.  Once I broke the solder bridge things worked fine :)
  • Hmm I am only getting zeros as well.  My board just arrived today.  I've tried both the "test" mode and the ADC test program directly.  Barometer and radio work fine.

     

    Photos: https://picasaweb.google.com/john.t.erickson/ArduPilot

     

    Thanks!

    John

  • 3D Robotics
    Make sure you're only powering the board with USB or FTDI, not external power, during the test.
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…