Hey guys, i have a small issue here, with my f405std wing (flashed ardupilot v4.0) i have been trying to use the s5 for relay activation but i cant get it to work, according to my multimeter im always getting 5v at s5.
I have set on mission planner the following paramters
BRD_PWM_COUNT = 4 (to have only 4 PWMS, and the rest as gpios)
RELAY_PIN2 = 54 (GPIO 54 is the digital pin)
RC9_OPTION=34 (34 is the option that corresponds to map the relay pin 2)
i have tested my tarannis channel by setting the rc9_option to arm and disarm the plane and it works fine, but for a reason unbeknownst to me i cant get it to switch …
I tried this config on a Kakute F7 with Copter and it worked. Apples and Oranges I know. Can I see your parameter file? I could flash Plane to this FC it’s just on the Bench.
OK, so the Relay messages are only available in Plane 4.1.0-dev so ignore that. But with 4.0.7 Plane loaded on the Kakute F7 and configured as you have it (well RC8 instead of 9) the output on M5 (how the Kakute is labeled) switches between 0 and 3.3V as expected. I think it’s odd you have 5V on that pin. Could you try Output 7? I’m wondering if this is a timer issue. Chan 3&5 share the same timer on that board.
Perfection!!! it worked flawlessly, although i dont have relay pin 56, only up to 55 as auxout, the others are bb blue, bbb etc. The point is that on relay pin 55 that corresponds to S6 worked flawlessly 0-3.2v
One thing though, this is really weird, when i changed relay pin from 54 to 55 and connected a multimeter to s6 it worked like i said, but i then tried to put back relay pin to 54 and when i tried to write param, i got a “relay pin2 failed to execute write” something about those lines and mission planner crashed.
i restarted mp and tried again, i set relay pin on 54 and now it works, what the hell?..jejejje
well anyways thanks again for your time and guidance