According to the DIYdrone website, APM 2.0 should have 12 analog pins. However, when I tested it out, only A0~A8 which corresponds to 54~62 work as analog pins, but the rest 3 pins do not work. I tested this with an airspeed sensor. The following cod
I am currently working on APM 2.0 to implement Kalman filter using GPS and INS data using 9 by 9 state matrix, [P_x,V_x,Pl_x,P_y,V_y,PI_y,P_z,V_z,PI_z]', where PI_x,PI_y, and PI_z represent platform tilt about x, y, and z axis.
I am trying to read 5 light sensors data using the following code. The following code works if I use Arduino Uno board using corresponding digital pin number. However, if I try to use same code for APM2 with corresponding digital pin which is f
Currently, my Ardupilot Mega is getting data from one MaxSonar sensor and one GPS sensor, but want to integrate more sensors one it such as multiple MaxSonar sensor, temperature sensor, speed sensor, etc. Does anyone know how to solve this
I am currently trying to get GPS signal using Mediatek GPS connected to ATmega1280 as shown in the pictures. Now, Mediateck GPS shows solid blue LED, but LED C does not show red light. In addition, serial monitor shows only "."