Hi Zheng, I could see some hope fixing my issue after reading your post. I am using ardupilot 2.5 for plane. I have a camera and wanted to control its power via relay using ardupilot (A9) from mission planner. The relay circuit is ready and has two pins out +5V power and GND.
Can you tell me in steps how to connect relay and which button control it from mission planner?
I want to control this relay any time I want (even while in ground) not specifically during waypoint navigation.
Im asking for the same!!! Check A9 pins. between S and - u will have 0 or 5 volts when relay test is performed from terminal screen but doesnt work on a normal Do Set Relay command in a mission.!! I dont know why!
Replies
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
#define RELAY_PIN 47
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#define RELAY_PIN 13
Hi Zheng, I could see some hope fixing my issue after reading your post. I am using ardupilot 2.5 for plane. I have a camera and wanted to control its power via relay using ardupilot (A9) from mission planner. The relay circuit is ready and has two pins out +5V power and GND.
Can you tell me in steps how to connect relay and which button control it from mission planner?
I want to control this relay any time I want (even while in ground) not specifically during waypoint navigation.
Im asking for the same!!! Check A9 pins. between S and - u will have 0 or 5 volts when relay test is performed from terminal screen but doesnt work on a normal Do Set Relay command in a mission.!! I dont know why!
Can Someone help us please?
Thanks!