# Camera & ON/OFF Pit Switch

## For INAV&#x20;

Default no USER1 & USER2 definition, CAM1 & 9V/12V are ON by default.

To switch between **CAM1** & **CAM 2**, assign a channel to USER1. In this scenario below, **CAM 2** is **ON** & **CAM1** is **OFF** only when Channel 8 is HIGH position

To set 9V/12V to turn **OFF** via switch, assign a channel to USER2 to turn off the 9V/12V. In this scenario, VTX is **OFF** only when Channel 7 is in LOW position.

<figure><img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2Fhxx8Z01aq4SrfVdLQizy%2Fimage.png?alt=media&#x26;token=04082d8e-ad30-4d2f-ba9e-6abb8bdb86f9" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="185.76549865229111">Mode</th><th></th><th></th></tr></thead><tbody><tr><td>PC13</td><td>USER1</td><td>CAM Switch</td></tr><tr><td>PE3</td><td>USER2</td><td>VTX Power Control</td></tr><tr><td>PD4</td><td>USER3</td><td>IO1 General GPIO1</td></tr><tr><td>PE4</td><td>USER4</td><td>IO2 General GPIO2</td></tr></tbody></table>

## For Ardupilot Relay (PINIO)

<table data-header-hidden><thead><tr><th width="186"></th><th></th><th></th></tr></thead><tbody><tr><td>PC13</td><td>PINIO1 OUTPUT GPIO (81)</td><td>CAM Switch</td></tr><tr><td>PE3</td><td>PINIO2 OUTPUT GPIO (82)</td><td>VTX Power Control</td></tr><tr><td>PD4</td><td>PINIO3 OUTPUT GPIO (83)</td><td>IO1 General GPIO1</td></tr><tr><td>PE4</td><td>PINIO4 OUTPUT GPIO (84)</td><td>IO2 General GPIO2</td></tr></tbody></table>

### [RCx\_OPTION: RC input option](https://ardupilot.org/copter/docs/common-auxiliary-functions.html)

* 28   -> Relay1 On/Off
* 34   -> Relay2 On/Off
* 35   -> Relay3 On/Off
* 36   -> Relay4 On/Off

### Setup Example

<table data-header-hidden><thead><tr><th width="167"></th><th width="81.33333333333331"></th><th></th></tr></thead><tbody><tr><td>RELAY_PIN </td><td>81</td><td>Camera Switch GPIO</td></tr><tr><td>RC7_OPTION</td><td>28</td><td>Relay On/Off, Use CH7 of Transmitter to switch 9V/12V</td></tr><tr><td>RELAY_PIN2 </td><td>82</td><td>9V/12V Switch GPIO</td></tr><tr><td>RC8_OPTION</td><td>34</td><td>Relay2 On/Off, Use CH8 of Transmitter to switch camera</td></tr></tbody></table>

or

<table data-header-hidden><thead><tr><th width="167"></th><th width="81.33333333333331"></th><th></th></tr></thead><tbody><tr><td>RELAY_PIN </td><td>81</td><td>Camera Switch GPIO</td></tr><tr><td>RC9_OPTION</td><td>35</td><td>Relay3 On/Off, Use CH9 of Transmitter to switch Vsw</td></tr><tr><td>RELAY_PIN2 </td><td>82</td><td>9V/12V Switch GPIO</td></tr><tr><td>RC10_OPTION</td><td>36</td><td>Relay4 On/Off, Use CH10 of Transmitter to switch camera</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.holybro.com/autopilot/kakute-h743-wing/camera-and-on-off-pit-switch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
