PX4 setup checklist: cheap hardware, QGround Control and first hover

41 minutes ago   •   6 min read

By Alex

Why this matters: PX4 runs serious drones and commercial projects. Get the setup right and you avoid soldering mistakes, dodgy compass readings and an expensive lawn ornament.

TL:DR — Install QGroundControl, wire your board to the expected UARTs, flash the latest PX4, calibrate sensors, set radio and failsafes, configure motors and motor geometry, then test hover with a kill switch armed.

QGroundControl satellite map showing terrain, 'High Ditch Road' label and telemetry compass, with presenter inset on the right.

What you need before you start

Download QGroundControl from qgroundcontrol.com for Windows, macOS, Linux or Android. It talks to PX4 and presents every setup panel you will use.

Slide 'Install QGroundControl Software' with a clear screenshot of the QGroundControl homepage and a small presenter window at the right

Buy sensible, cheap hardware if you like saving money. The Miko Air 743 V2 works with PX4, BetaFlight, iNav and ArduPilot. A 4-in-1 55A ESC bundle keeps the build compact and affordable.

Clear slide titled 'PX4 on the Cheap' showing MikoAir743 flight controller boards, a 4-in-1 ESC and approximate prices (~$700 and ~$45) with the presenter at right.

Wiring and UARTs: follow the diagram

PX4 expects devices on particular UARTs. Reassigning UARTs is possible but fiddly. Save time — wire to the expected ports and avoid pointless troubleshooting.

Wiring diagram slide for the MicoAir743 V2 showing flight controller, 4-in-1 ESC, video and telemetry wiring with a highlighted note that RX6 is shared; presenter inset on the right.

Watch for shared pins. On the Miko Air 743, the digital video plug shares RX6 with the receiver. If you fit a DJI O3 unit, remove its SBUS line or your RC receiver will never talk.

First steps in QGroundControl

Plug the board into USB and open QGroundControl. Click the Q, then Vehicle Configuration. Check firmware and flash the latest PX4 if needed. Reboot the board after a flash.

QGroundControl Vehicle Configuration summary screen with clear panels for Airframe, Sensors, Radio, Flight Modes and Power; presenter visible in an inset window

Pick the correct airframe

PX4 offers airframes from airships to quadplanes. Pick the configuration that matches your craft. Use Generic Quad for a standard X or + quad.

QGroundControl airframe selection grid with Generic Quadcopter highlighted and presenter inset

Sensors and the compass dance

Calibrate compass outdoors, away from metal. Scan magnetic field strength with any compass app. Remove metal jewellery. Set the board orientation in QGC before starting.

Close-up of a smartphone compass app showing magnetic strength readout

The compass routine makes you rotate the drone flat, inverted, nose-down, nose-up, right and left sides. Reboot the vehicle when finished.

QGroundControl sensors calibration screen with six orientation boxes, 'Rotate' highlighted and presenter inset

Gyros, horizon and accelerometers

Calibrate gyros on a level, vibration-free surface. Set the level horizon while the drone sits flat. Accelerometer calibration wants the craft level on six faces — not always possible on every frame.

Most accelerometers ship fine from factory. If you can, do the six-face routine. The AOS UL8 makes that easier due to its frame shape.

Top-down view of a quadcopter frame held on a workbench, ready for sensor calibration, with a QGroundControl sensors-calibration inset

Radio setup and calibration

Tell PX4 which RC input driver to use via Parameters → serial. Pick Crossfire, SBUS, DSM, or the protocol your receiver uses. Set the UART that the receiver is on and disable other input drivers to avoid collisions.

QGroundControl Parameters list showing Manual Control, MAVLink and other parameter groups with battery values in the main pane and a presenter inset

Power the transmitter before powering the drone. PX4 prefers seeing stick positions at boot. Then calibrate sticks and switches in QGC and write the parameters to the board.

QGroundControl Radio Config screen showing stick sliders, 'Calibrate' button, Channel Monitor and presenter inset, clear and sharp.

Flight modes and safety switches

Use a three-position switch for tuning: Position (GPS) for final tuning, Altitude for throttle tuning, Stabilized for rate/PID tuning. Keep it simple — fewer modes, fewer surprises.

QGroundControl Flight Modes Config screen showing Mode channels unassigned, Switch Settings for Arm/Emergency Kill and a channel monitor, presenter inset on the right

Set an arm switch and a kill switch. I use Channel 6 to arm and Channel 5 as the emergency kill. If tuning turns south, flick kill and let the drone drop into long grass — unpleasant, but less embarrassing than a runaway.

QGroundControl Flight Modes Config screen showing Mode Channel, Switch Settings and Channel Monitor with a clear presenter inset

Power settings and battery chemistry

Set battery cell count and voltages in the Power panel. Use 4.2V full for LiPo cells and set empty near 3.5V. Lithium-ion cells vary — check your pack spec before configuring minima and maxima.

QGroundControl Vehicle Configuration summary with Power panel showing Battery Full 4.20V, Battery Empty 3.50V and Number of Cells, presenter inset

Calibrate volts-per-amp if you have a shunt on your ESC. For example, a 25 milliohm shunt gives ~40 amps per volt. Use the calculate button if you have a reliable meter.

QGroundControl Power Config screen with Calculate buttons highlighted and a slide explaining volts-per-volt (amps per volt) calibration, presenter inset at the right

Actuators, ESC protocol and motor setup

Set ESC protocol to DShot 300 for most PX4 setups. DShot 600 gives no advantage for PX4 and raises noise risks. Configure DShot for motors 1–4 and check higher motor counts if you run hexes or octos.

QGroundControl Actuators/Actuator Outputs tab showing motor mapping, DShot300 selected and Identify & Assign Motors button; small presenter inset on the right

Run the Identify and Assign motors wizard with props removed and battery connected. Click the spinning motor on the diagram to match physical motors to PX4's map. Safety first: props off.

Motor direction and spin changes

Choose props-in (default) or props-out (better for aggressive coordinated turns). Set spin directions in QGC for DShot ESCs, or swap two motor wires to reverse a motor if you prefer hardware fixes.

Clear 'Motor Direction' presentation slide showing Props OUT and Props IN diagrams, actuator testing inset and presenter inset

Motor positions and geometry

Measure motor distances and set X/Y positions in the actuator tab. Accurate motor geometry gives PX4 the best chance of precise control and cleaner tuning later.

QGroundControl Actuators Config showing motor X and Y position fields and a presenter’s hands adjusting the quadcopter frame

Safety tab — failsafes and geofence

Set low-battery warning, critical and emergency levels. I use defaults 15% warn, 7% critical (RTL), 5% emergency (land). Set RC loss to Return and data-link loss to no action unless telemetry is mission-critical.

Set a geofence. I pick 500m radius and 120m altitude for line-of-sight compliance. Configure RTL altitude high enough to clear obstacles, then land or loiter as your operation requires.

QGroundControl Safety tab showing Geofence Failsafe Trigger (Max Radius 500 m, Max Altitude 120 m) and Return To Launch settings, presenter inset visible.

Ready for the first hover

With sensors calibrated, radio set, motors mapped and failsafes configured, your PX4 craft is ready for a tethered or short test hover. Use a kill switch. Keep props off until everything is double-checked.

Motor order and direction: 

Clear slide 'Changing Motor Direction' showing ESC and motor diagrams with directional arrows and a small presenter inset

Where to mount GPS modules

Soldering tips for thick cables and ESCs

How do I pick between PX4 and ArduPilot for hobby use?

Both work well for hobbyists. PX4 is slightly easier to use. ArduPilot has more niche features. Choose what fits your hardware and comfort level.

PX4 or Ardupilot?hobbyist slide with concise bullet points explaining the differences and a clear presenter inset visible

What protocol should I use for ESCs?

Use DShot 300 for PX4. It runs reliably and matches PX4's control loop timing. Avoid DShot 600 — it adds noise without benefit here.

Why did my receiver not show stick movement in QGC?

Power your transmitter before powering the drone. PX4 reads stick positions at boot. If the transmitter arrives late, PX4 may not detect it until reboot.

Can I change motor direction without resoldering?

Yes — DShot ESCs support spin direction changes in software. If your ESC doesn't, swap any two motor wires to reverse spin direction.

Takeaway box

Tweet-length nuggets for skimmers:

  • PX4 needs QGroundControl. Download it before you touch the soldering iron.
  • Wire devices to the expected UARTs. Reassigning UARTs is a time sink.
  • Calibrate compass outdoors; remove metal jewellery and reboot after calibration.
  • Use DShot 300 and set motor geometry for cleaner control and easier PID tuning.
  • Arm switch and kill switch — non-negotiable for safe tuning flights.

This article was based from the video PX4 Ultimate Tuning Guide - Part 1: Setup

Spread the word