Selecting and installing equipment
UAT 321 Unmanned Aircraft Systems Installation, Integration, Inspection and Maintenance Laboratory
Lesson
By the end of this module you will be able to
- Read a multirotor connection diagram and state the voltage, protocol and data direction of every line
- Build a mass budget, find the centre of gravity and calculate the thrust-to-weight ratio from propulsion test data
- Estimate energy and hover time with stated assumptions, and check the ESC current margin
- Assemble the airframe in a set order, choosing fastener lengths and torques from the manuals
- Install equipment for mechanical, electrical and data compatibility, and record the evidence
- Install the autopilot, GNSS and compass, radios and payload to their installation rules, and check compass interference and payload power
Why this matters
A drone built from good parts may still not fly if the parts do not fit together: connectors that look identical but have different pinouts, a propeller that draws more current than the ESC can handle, or an added camera that shifts the centre of gravity so one motor works hard all the time. A builder’s job therefore starts before the first bolt is tightened: calculate and plan so every part works with the others, then record it so others can check.
This module uses one hypothetical case throughout the course: a quadcopter for survey photography belonging to an agency, running a 6-cell battery with a camera mounted at the front.
The connection diagram
A connection diagram maps every wire in the aircraft: which lines carry power, which carry data, and which way the data flows. It is like the wiring plan an electrician needs before running cables in a house.
- Power flows from the battery through the power module to the ESCs and motors. These lines carry tens of amperes and need wires and connectors rated for that current
- Voltage and current data from the power module go to the flight controller, which uses them to estimate remaining energy and trigger failsafes
- Motor commands go from the flight controller to the ESCs. Modern ESCs commonly use the digital DShot protocol; the ArduPilot documentation recommends DShot600 for most vehicles (DShot150 for larger aircraft with long signal cables). ESCs using DShot or the CAN bus (DroneCAN) do not need the throttle-range calibration that PWM ESCs need
- Peripherals such as the GNSS and compass, RC receiver, telemetry radio and camera each use different ports and protocols, such as UART, I2C or CAN
The connection register
Each line in the diagram should have one row in a register: source, destination, voltage, pinout, protocol, data rate and checker. Connectors that look the same do not guarantee matching voltages or pinouts. Compare against the manuals of both sides before every first connection.
Mass budget and centre of gravity
A mass budget lists the mass of every part, including those that are often forgotten: wires, connectors, mounts and straps. The centre of gravity (CG) is the point where the drone would balance on a fingertip. It is the average of each part’s position weighted by its mass, with every position measured from the same reference point (origin).
If the CG is not beneath the centre of the four motors, the motors nearer the CG must work harder to keep the aircraft level, leaving less reserve thrust and draining the battery faster. The FAA’s aviation maintenance technician handbook uses the same principle for aircraft weight and balance.
Example 1 Mass budget and CG
Positions are measured along the fore–aft axis from the frame centre, positive towards the nose. The 0.35 kg camera sits 120 mm forward.
parts = { # name: (mass kg, position x m; positive = towards the nose)
"frame": (0.62, 0.0), "motors": (0.34, 0.0), "ESCs": (0.10, 0.0), "FC + GNSS": (0.09, 0.02),
"battery": (0.72, -0.03), "camera": (0.35, 0.12), "wiring and mounts": (0.12, 0.0),
}
mass = sum(m for m, _ in parts.values())
cg_x = sum(m * x for m, x in parts.values()) / mass
print(f"total mass {mass:.2f} kg, CG {cg_x * 1000:+.1f} mm from the frame centre")
others = sum(m * x for name, (m, x) in parts.items() if name != "battery")
battery_x = -others / parts["battery"][0]
print(f"move the battery to x = {battery_x * 1000:+.1f} mm to centre the CG")
total mass 2.34 kg, CG +9.5 mm from the frame centre
move the battery to x = -60.8 mm to centre the CG
The CG is 9.5 mm forward of centre because the heavy camera is at the front. A fix that adds no mass is to slide the battery aft from −30 to about −61 mm, but check that the battery tray allows it, the wires are not strained, and the frame manual’s CG limits accept it.
Thrust, current and energy
The thrust-to-weight ratio (TWR) is the total maximum thrust divided by the weight, both as forces in the same unit (newtons). Weight is not the same as mass . Thrust must come from the manufacturer’s test table for the motor, propeller and voltage actually used. A motor’s KV rating does not tell you its thrust: the same motor with different propellers gives different thrust and draws different current.
Example 2 TWR and ESC current margin
A hypothetical test table for the motor and propeller at 6S gives 14.0 N maximum thrust per motor at a maximum current of 22 A, and the ESCs are rated 30 A continuous.
g = 9.81
weight = mass * g
max_thrust_per_motor = 14.0 # N, from the test table for this motor, propeller and voltage
twr = 4 * max_thrust_per_motor / weight
hover_share = weight / 4 / max_thrust_per_motor
print(f"weight {weight:.2f} N, TWR {twr:.2f}, hover needs {hover_share:.0%} of max thrust per motor")
esc_rating, max_motor_current = 30, 22 # A
print(f"ESC current margin {(esc_rating - max_motor_current) / esc_rating:.0%}")
weight 22.96 N, TWR 2.44, hover needs 41% of max thrust per motor
ESC current margin 27%
Hovering uses about 41% of each motor’s thrust, leaving reserve for climbing, wind and attitude corrections. The ESCs have a 27% current margin, but you must also check ESC cooling in its actual mounting position.
Battery energy is approximately the nominal voltage times the capacity; divide by average power to get time. This is a starting model, because voltage and power change with load, temperature and battery age.
v_nominal, capacity_ah = 22.2, 5.0 # 6S 5000 mAh
usable_wh = v_nominal * capacity_ah * 0.80 # assume 80% of nominal energy is usable
hover_power = 4 * 62 # W, from the test table at hover thrust
print(f"nominal {v_nominal * capacity_ah:.0f} Wh, usable {usable_wh:.1f} Wh, "
f"hover about {usable_wh / hover_power * 60:.1f} min")
nominal 111 Wh, usable 88.8 Wh, hover about 21.5 min
The 80% and 62 W per motor are assumptions of this example; do not apply them to another aircraft without checking. The time must be confirmed by a test flight whose voltage and current log you read, which you will do in module 2.
Assembling the airframe
Assembly turns a box of parts into a structure that must survive thousands of vibration cycles, hard landings and transport. Most in-flight structural failures start on the bench: a screw that is too long, a clamp that was never tightened, or an arm that flexes. Work in a fixed order and record each step, so another person can check it.
A typical order for a multirotor, based on the ArduPilot and PX4 assembly guides:
- Frame: arms, plates and standoffs, checking that every arm locks without play. Arms must be as rigid as possible, because arm flex is a major cause of vibration (ArduPilot, vibration damping)
- Motors on the arms, with the direction of rotation marked on each arm according to the frame layout
- Power distribution and ESCs, then the power module, keeping high-current leads short and paired
- Flight controller near the centre of gravity on its vibration mount, arrow forward (next section)
- GNSS and compass on a mast, receiver and telemetry antennas, then the payload mount
- Wire dressing: tie wires down, protect them where they cross sharp carbon edges, and leave slack at moving parts
- Propellers last, only at the flight test, never during configuration on the bench
Fasteners. Every screw has two limits. It must engage enough thread to hold, but not so much that it bottoms out or reaches parts behind the thread. On a brushless motor, a screw that is too long can touch the stator windings and short them. Use the tightening torque in the manufacturer’s manual and a torque driver rather than feel. The FAA’s guidance on acceptable maintenance practices (AC 43.13-1B, paragraph 7-40) explains why: under-torque lets joints work loose and wear, over-torque overstresses the threads; it also asks for clean, dry threads unless the manufacturer says otherwise, and for the torque tool to be calibrated at least once a year. Use thread-locking compound only where the component maker specifies it.
Example 3 Choosing the motor screw length
A motor is fixed to a 4.0 mm carbon arm with a 0.5 mm washer under each screw head. The motor drawing (values assumed for practice) shows 4.0 mm of usable thread in the motor base before the windings, and the manual asks for at least 3.0 mm of thread engagement for its M3 screws.
- Shortest acceptable screw: arm + washer + minimum engagement mm
- Longest acceptable screw: arm + washer + usable thread mm
- From standard lengths, M3 × 8 gives mm of engagement and 0.5 mm of clearance to the windings, so it fits
- M3 × 10 would reach mm past the thread into the windings; M3 × 6 would engage only 1.5 mm and could strip
Record the screw part number and torque value on the build sheet. If the arm is replaced with a thicker one, the calculation must be repeated.
Installing for compatibility
Compatibility has three dimensions, and all three should be checked before first power-up.
| Dimension | What to check | Example mistake |
|---|---|---|
| Mechanical | Secure mounts, propeller clearance, flight-controller vibration isolation, board arrow direction | Flight controller mounted backwards without setting the board orientation |
| Electrical | Operating voltage, peak current, polarity, fuses or protection | A 12 V camera connected to a 5 V rail, or reversed polarity |
| Data | Port, protocol, baud rate, pinout, signal voltage level | TX wired to TX instead of crossing to RX |
The compass should be kept away from high-current wires and motors, because current creates interfering magnetic fields; this is why GNSS and compass units are often mounted on a mast. The flight controller should sit on a vibration-isolating mount that is not so loose it moves freely.
Bench safety
Remove all propellers before connecting a battery to configure or test motors. The ArduPilot documentation requires propellers to be removed before using motor test. Use a current-limited supply or a “smoke stopper” for the first power-up after soldering, and keep a sand bucket or fire-resistant container ready for lithium batteries.
Installing the autopilot, sensors, radios and payload
Each device around the flight controller has installation rules that decide whether its data can be trusted.
| Device | Installation rule | Source |
|---|---|---|
| Flight controller | Close to the centre of gravity, level with the motors, white arrow forward, on vibration-damping foam or gel; foam over the barometer. If it must be rotated, set AHRS_ORIENTATION (ArduPilot) or the board rotation (PX4) before the accelerometer calibration | ArduPilot, mounting the autopilot; PX4, mounting the flight controller |
| GNSS and compass | Outside the airframe with a clear view of the sky, arrow forward, at least 10 cm from DC power wiring and batteries, preferably on a mast; nylon or non-magnetic hardware; twist power and ground wires | ArduPilot, installing a GPS and compass |
| Radios | Antennas clear of carbon plates and power wiring; never power a radio without its antenna, which can damage it; run the “one metre test” (two radios 1 m apart should show an RSSI above 190 on SiK radios) before the first flight | ArduPilot, SiK telemetry radio |
| Payload | Secure mount with its own vibration isolation; power from a rail with enough current; control by PWM, relay or MAVLink over a serial port; a retractable mount if it could touch the ground | ArduPilot, cameras and gimbals |
Why distance matters for the compass. Current in a wire makes a magnetic field that falls off only with the distance . The compass measures the Earth’s field, which in Bangkok has a horizontal component of about 41.2 µT (World Magnetic Model 2025, for 1 January 2026). A supply wire and its return wire carry equal and opposite currents, so when they run side by side their fields largely cancel. ArduPilot’s CompassMot calibration measures interference against the Earth’s field: under 30% is acceptable, 31–60% is a grey zone, and above 60% the compass should be moved further away.
Example 4 Compass interference and a payload power budget
(a) Compass. The battery leads carry 40 A in a climb (assumed). With N/A² and the horizontal Earth field of 41.2 µT:
- One lead alone, 10 cm from the compass: µT, about 194% of the Earth’s field. The heading would be useless
- Supply and return leads side by side, 4 mm apart, worst-case alignment at 10 cm: µT, about 7.5%
- The same pair only 5 cm away: µT, about 29%, close to the limit
Pairing (and twisting) the leads matters more than any single rule, and distance helps the rest.
(b) Payload power. A 12 V regulator (BEC) rated 3.0 A feeds a gimbal (1.5 A peak), a camera (1.0 A) and a video transmitter (0.6 A); the values are assumed.
- Total peak current A, above the 3.0 A rating: the regulator would overload when the gimbal works hardest, and the camera could reset in flight
- Fix: move the video transmitter to another rail or fit a larger regulator, then check again with margin
- The payload draws about W, which must also be added to the hover power in the energy estimate under ‘Thrust, current and energy’
Module lab
Lab: assemble and document the training drone
- Draw the connection diagram of the lab’s training drone and build a register row for every line (source, destination, voltage, pinout, protocol, checker).
- Weigh every part on a digital scale, measure positions from one origin, and calculate the CG with the code in Example 1. Compare with the real balance point found by hanging or fingertip balancing.
- Find the test table for the actual motor and propeller, and calculate TWR, current margin and approximate hover time, citing the source of every number.
- Assemble the frame and motors in the order of ‘Assembling the airframe’, checking screw lengths and torques against the manuals, then install the flight controller, GNSS and receiver to their installation rules, checking all three compatibility dimensions. Photograph mounts and connectors as evidence.
- Power up for the first time through a current limiter with no propellers fitted, and record the results in the lab notebook for the instructor to sign.
Common mistakes
Watch out
- Leaving wires, connectors and mounts out of the mass budget, so the real mass exceeds the calculation
- Measuring positions from different origins, giving a wrong CG
- Using KV instead of thrust data, or a test table for a different voltage or propeller
- Converting mAh straight to time without going through energy and power
- Assuming a connector that fits is wired correctly without comparing pinouts
- Testing motors with propellers fitted
- Screws chosen by what is in the drawer, too long for the motor or too short to hold
- Running battery leads apart near the compass instead of pairing and twisting them
Summary
- The connection diagram and register show power, data and protocol for every line
- The mass budget must include every part; CG is the sum of divided by total mass, from one origin
- TWR uses thrust from a test table matching the real set-up, and the ESC current margin must be checked
- Flight time from energy divided by power is a starting model to be confirmed from logs
- Assemble in a fixed order; each screw must engage enough thread without reaching the windings, tightened to the manual’s torque
- Check mechanical, electrical and data compatibility, and always remove propellers for bench tests
- Mount the flight controller at the CG with its arrow forward, keep the compass away from unpaired high-current wires, and budget payload power
Check your understanding
- A 2 kg part is at and a 0.5 kg part at m. Where is the CG?
- A 2.0 kg drone has 49.05 N of total maximum thrust. What is its TWR (use )?
- A lone wire carrying 30 A passes 10 cm from the compass. What field does it make, and is that small compared with Bangkok’s 41.2 µT?
- With 88.8 Wh usable and 400 W average power, about how many minutes can it fly?
- Why must propellers be removed before bench-testing motors?
Answers
- m, or 40 mm towards the 0.5 kg part
- µT, larger than the Earth’s field, so the wire must be paired with its return or moved away
- minutes
- Motors may spin unexpectedly or in the wrong direction; a spinning propeller on a bench can cause serious injury, and the firmware documentation requires removing them before testing
Key formulas
| Magnetic field of a long wire | |
| Centre of gravity along one axis | |
| Thrust-to-weight ratio | |
| Approximate energy and flight time |
Key references
- ArduPilot Dev Team. ArduPilot documentation. link
- ArduPilot Dev Team. Connect ESCs and motors (motor test). ArduPilot Copter documentation. link
- ArduPilot Dev Team. DShot and bi-directional DShot. ArduPilot Copter documentation. link
- DroneCAN Development Team. DroneCAN: A lightweight protocol for UAV CAN networks. link
- Federal Aviation Administration. (2023). Aviation maintenance technician handbook – General (FAA-H-8083-30B). link
- ASTM International. (2019). Standard specification for continued airworthiness of lightweight unmanned aircraft systems (ASTM F2909-19). link
- Federal Aviation Administration. (1998). Acceptable methods, techniques, and practices: Aircraft inspection and repair (AC 43.13-1B, with Change 1). link
- ArduPilot Dev Team. Vibration damping. ArduPilot Copter documentation. link
- ArduPilot Dev Team. Mounting the autopilot. ArduPilot Copter documentation. link
- PX4 Autopilot. Mounting the flight controller. PX4 user guide (main). link
- ArduPilot Dev Team. Installing a GPS and compass module. ArduPilot Copter documentation. link
- ArduPilot Dev Team. Advanced compass setup (CompassMot). ArduPilot Copter documentation. link
- ArduPilot Dev Team. SiK telemetry radio. ArduPilot Copter documentation. link
- ArduPilot Dev Team. Cameras and gimbals. ArduPilot Copter documentation. link
- British Geological Survey. Geomagnetism web service: World Magnetic Model WMM2025 and IGRF-14. link
- National Institute of Standards and Technology. CODATA value: vacuum magnetic permeability (CODATA 2022). link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
In class / field
Intensive lab and field practice recorded in a lab notebook
Learning evidence: Lab notebook signed by the instructor