APM2.5 Relay output not working?

I can't seem to get the relay shutter output option to work. I believe I set it up correctly (set shutter type under gimbal to relay, set ch7 option to camera trigger). Ch7 is coming in correctly (goes from 1000 to 1900 when button is hit). A9 remains low at all times though. If I go into the terminal/test/relay then A9 stays high.

I am using APM2.5 with 2.9.1b arducopter firmware and mission planner 1.2.48.

Any tips/ideas?

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

Join diydrones

Email me when people reply –

Replies

  • I gave up on the relay output, it just seems to be broken. Despite hacking around with the code something is locking it high and I could not figure out what. I disabled the copter LED's which seem to use those pins, but no dice.

    I ended up changing the "transistor" shutter pin to AN3, which happens to be configured as a digital output by default. Flashing this works just fine.

  • Pulled 3.0.0rc2 source and the relay off commit is in there, so now I don't know why it wouldn't be working.

    Looking at AP_Relay and AP_Camera it isn't clear to me why this wouldn't be working now. 2.9.1b vs 3.0.0rc2 have identical AP_Camera.* files. AP_Relay have changed, but 3.0.0rc2 was supposed to "fix" relay support.

  • Updated to 3.0.0rc2. Relay output now turns on with CH7 input but won't turn off. I'm assuming the git patch which fixed this is not in 3.0.0rc2. Relay test mode still does not work though, the output now remains low all the time during the relay test.

  • Sounds like for APM2.5 the relay output may not work properly? There was a commit about a month or two ago which eliminated this restriction, so the latest rc software should be working?

This reply was deleted.

Activity