> For the complete documentation index, see [llms.txt](https://teravolt.gitbook.io/teravolt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teravolt.gitbook.io/teravolt/peripherals/aerobuddy/installation.md).

# Installation

{% hint style="success" %}
Note: This setup requires the Master (Instructor) receiver to have physical PWM output pins or a breakout board that exposes specific channel outputs (like generic PWM pins).

**E.g. radio Skydroid T-12**
{% endhint %}

#### Step 1: Wiring the Master (Instructor) Receiver

The Master receiver does two jobs: it sends control commands *and* it tells the AeroBuddy who is flying.

1. SBUS: Connect the Master Receiver's SBUS/TX pin to AeroBuddy's top SBus IN.
2. Switching Signal: Connect a spare channel pin (e.g., Channel 5 or AUX 1) from the Master Receiver to AeroBuddy's PWM IN.
   * *Tip: Ensure this channel is mapped to a physical 2-position switch on the Instructor's Radio.*

#### Step 2: Wiring the Slave (Student) Receiver

The Student receiver just needs to send stick commands.

1. SBUS: Connect the Slave Receiver's SBUS/TX pin to AeroBuddy's middle SBus IN.

#### Step 3: Wiring the Flight Controller

1. Connect the SBus OUT from AeroBuddy to the Receiver (UART RX) Connector/Pad on your Flight Controller.
2. The Flight Controller powers the AeroBuddy, which in turn powers both receivers <sub><mark style="color:orange;">(check current draw if using high-power telemetry receivers).<mark style="color:orange;"></sub>

#### 4. Radio Configuration

#### Instructor's Radio Setup

1. Assign a Switch: Go to the `Mixer` or `Outputs` page on your OpenTX/EdgeTX radio.
2. Map a Channel: Assign a physical 2-position switch (e.g., Switch SD) to the channel you connected to the PWM IN port (e.g., Channel 5).
3. Verify Direction:
   * Switch UP (Safety): Should output \~1000us (Low). Result: Red LED (Instructor has control).
   * Switch DOWN (Train): Should output \~2000us (High). Result: Blue LED (Student has control).

#### Student's Radio Setup

No special setup is required. The student simply binds their radio to the Slave Receiver.

{% hint style="warning" %}
Safety Tip: Always configure your radio "Failsafe" settings on the Master Receiver so that if the radio disconnects, the PWM channel goes LOW (1000us). This ensures that if the Instructor's link drops, the system defaults to the Master port (or triggers the FC's failsafe), rather than getting stuck in Student mode.
{% endhint %}
