# Unable to use relay output on pixhawk or RPi

**URL:** <https://discuss.bluerobotics.com/t/unable-to-use-relay-output-on-pixhawk-or-rpi/12540>\
**Category:** QGroundControl\
**Created:** [July 19, 2022, 1:24pm UTC](https://discuss.bluerobotics.com/t/unable-to-use-relay-output-on-pixhawk-or-rpi/12540 "2022-07-19T13:24:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [July 21, 2022, 4:37am UTC](https://discuss.bluerobotics.com/t/unable-to-use-relay-output-on-pixhawk-or-rpi/12540/4 "2022-07-21T04:37:34Z")

</div>

Did this end up getting resolved?

I’ve just tried with both ArduSub 4.1.0 (latest stable) and 4.0.3 (previous stable), and leaving the AUXOUT5 as the default `RELAY_PIN` works fine for me with the relay\_1 joystick functions.

I then tried to get AUX 1 working as a relay, which worked once I set `BRD_PWM_COUNT` to No PWMs (since they start counting from AUX 1) 🙂

---

_[View the full topic](https://discuss.bluerobotics.com/t/unable-to-use-relay-output-on-pixhawk-or-rpi/12540)._
