# Clover 4 assembly
## Frame base assembly
> **Info** To increase the strength of the frame, you can print on a 3D printer or cut on a laser cutter reinforcing pads.
1. Mount the reinforcement pads on the stiffening ribs if you have them. Proceed without them if you don't.
2. Align two carbon stiffening ribs using the center notch.
* Twist the cores.
* [Tin the wires](tinning.md). You may want to use tweezers to hold the wire.
3. Place the motor on the support arm.
4. Use hexagonal M3x5 screws to attach the motor to its arm.
Perform these actions for each motor.
## Frame assembly
1. Install the support arms on the frame base according to their rotation direction. Use notches as guides.
> **Hint** Note the motor nut colors when installing the arms. Motors with red nuts should be placed on the front right and back left arms, with black ones - on the front left and back right arms.
2. Attach the arms to the frame base using 8 M3x8 screws, 6 steel nuts, and 2 15 mm spacers.
3. Make sure the arrow on the PDB is pointing in the same direction as the arrow on the top carbon deck.
## Soldering the speed controllers and the BEC
1. Solder the motor wires to the electronic speed controllers (ESCs).
2. Solder the ESC power wires to the power distribution board (**red** to **«+»**, **black** to **«-»**).
Make sure the transmitter operates in the PWM mode:
1. Power down the receiver.
2. Hold down the "OK" button to enter the menu.
3. Select the "System setup" option, press "OK" to enter the submenu.
4. Select "RX Setup" option.
5. Select "Output mode".
6. Make sure the "PWM" option is selected.
7. Save settings by holding the "Cancel" button.
### Binding the RC transmitter and receiver
1. Turn off the RC transmitter with the **POWER** slider.
2. Connect the RC receiver to the 5 V BEC output. Connect the black wire into one of the bottom pins and the red wire to one of the central pins.
3. Place the binding jumper on the B/VCC output.
4. Connect the battery pack.
5. The LED on the RC receiver should start to blink.
8. Wait for the **RXBind ok** message on the RC transmitter
9. Disconnect the binding jumper.
10. The LED on the RC receiver should be lit continuously.
### Checking the motor rotation direction
Motors with **red** nuts should rotate **counterclockwise**, the ones with **black** nuts should rotate **clockwise**. Correct rotation direction should also be printed on the motors. You can use a servo tester or your RC transmitter and receiver to check rotation direction.
1. Disconnect the battery pack and power down the transmitter.
2. Connect the signal wires from the ESC to CH3 pins on the output. The white wire should go to the top pin, the black one should go to the bottom one.
3. Power on the transmitter. Make sure the left stick is in the bottom position.
4. Connect the battery pack.
5. Slowly move the left stick up until the motor starts to spin.
If the motor rotation direction is wrong, switch any two motor wires.
> **Info** You can also change motor direction by reprogramming the speed controllers. The process is described [in the ESC firmware flashing article](esc_firmware.md).
Do this for each motor.
### Switching the transmitter back to PPM mode
The flight controller expects PPM signal from your RC gear. Switch your transmitter back to PPM before flight.
1. Make sure the receiver is not powered.
2. Hold down the "OK" button to enter the menu.
3. Select the "System setup" option, press "OK" to enter the submenu.
4. Select "RX Setup" option.
5. Select "Output mode".
6. Make sure the "PPM" option is selected.
7. Save settings by holding the "Cancel" button.
## Mounting the flight controller plate
1. Attach four 6 mm standoffs on top of PDB.
2. Connect the flight controller power cable to the PDB.
3. Place the polycarbonate plate on the standoffs and fix them with plastic nuts.
## Mounting the flight controller
1. Insert the microSD card into your flight controller.
2. Align the flight controller so that the arrows on the controller and on the top carbon deck point in the same direction.
3. Attach the flight controller to the flight controller plate using 3M double-sided adhesive pads.
4. Connect the power cable to the **"POWER"** input of the flight controller.
2. Attach the Raspberry Pi using four standoffs.
3. Route the BEC wires through the channel in the top carbon deck.
4. Connect the BEC outputs according to the following image:
## Installing the LED strip on the LED strip ring
1. Check wires on the strip (and solder them on if they're missing)
## Connecting the LED strip to Raspberry Pi
1. Power the LED strip from a separate BEC. Connect the **«+»** and **«-»** leads to **5v** and **Ground** respectively.
## Installing the camera cable
1. Open the slot connector by lifting the T-clip.
2. Insert the ribbon cable.
3. Press the T-clip down to secure the cable.
## Mounting the lower deck periphery
1. Prepare the laser rangefinder by soldering leads to it.
2. Use four 2x5 self-tapping screws to secure the camera.
> **Warning** Make sure the screws don't touch any components on the camera PCB! Otherwise the camera may not function properly.
3. Mount the laser rangefinder on the lower deck using two M3x8 screws and steel nuts.
5. Mount the lower deck assembly using four M3x10 screws.
6. Connect the camera ribbon cable to the camera.
7. Connect the laser rangefinder to the Raspberry Pi using the following pinout:
* Connect **VCC** to pin 1 (**3v3**)
* Connect **GND** to pin 9 (**Ground**)
* Connect **SDA** to pin 3 (**GPIO2**)
* Connect **SCL** to pin 5 (**GPIO3**)
## Mounting the landing gear
1. Attach 8 landing gear pieces using M3x10 screws and steel nuts.
## Connecting the cables
1. Connect RC cable to the **RCIN** port on the flight controller.
2. Connect RC cable to RC receiver.
2. Assemble the top part using twelve M3x10 screws.
3. Attach the assembly to the drone using four M3x10 screws and steel nuts.
4. Connect the flight controller to the Raspberry Pi using retractable USB cable.
## Mounting the propellers and preparing for flight
Perform the quadrotor components setup according to [the "Configuration" section](setup.md).
> **Warning** Be sure to **not** mount the propellers **until the setup is complete**. Do it only when you are ready to fly.
Attach the propellers according to their rotation direction. The battery should be disconnected during propeller installation.
Be sure to install and setup the voltage indicator before flying, so as not to overdischarge the battery. To configure the indicator, use the button located at its base. The displayed numbers during setup indicate the minimum possible voltage in each [cell](glossary.md#battery-cell) of the battery, the recommended value is **3.5**.
> **Info** Sound indication means that your battery is low and needs to be charged.
> **Success** The drone is ready to fly!