Sam's Discussions (2)

Sort by

APM 2.5 Analog Inputs

I'm trying to add 2 analog sensors to my APM2.5 system, both are 5v potentiometers.

This is the essential code that I have added to the system:

static int read_alpha(void)
{
  int alpha;
  alpha = analogRead(7); //initially on 6, switch to 7
  return alpha

Read more…

APM2.0 Sensor Quality

Frankly, the hardware documentation for APM2.0 sucks. There isn't a single page that shows all the connections, what is active in the default configuration and how to modify the board to activate different serial and I2C I/O. Additionally, there isn'

Read more…