0
0
Pcb-designHow-ToBeginner · 4 min read

How to Use Mission Planner with ArduPilot: Step-by-Step Guide

To use Mission Planner with ArduPilot, first connect your drone to your computer via USB or telemetry. Then open Mission Planner, select the correct COM port and baud rate, and click Connect to configure and control your drone.
📐

Syntax

Using Mission Planner with ArduPilot involves these main steps:

  • Connect Drone: Use USB or telemetry to link your drone to your PC.
  • Open Mission Planner: Launch the software on your computer.
  • Select COM Port: Choose the port your drone is connected to.
  • Set Baud Rate: Usually 57600 or 115200 for telemetry.
  • Click Connect: Establish communication with the drone.
  • Configure and Plan: Use Mission Planner to set parameters, plan missions, and monitor flight.
text
1. Connect drone via USB or telemetry
2. Open Mission Planner software
3. Select COM port from dropdown
4. Set baud rate (e.g., 57600 or 115200)
5. Click 'Connect' button
6. Use interface to configure and plan missions
💻

Example

This example shows how to connect Mission Planner to an ArduPilot drone via USB and upload a simple mission.

text
Step 1: Connect your drone to PC via USB.
Step 2: Open Mission Planner.
Step 3: In the top-right, select the COM port (e.g., COM3).
Step 4: Set baud rate to 115200.
Step 5: Click 'Connect'.
Step 6: Once connected, go to 'Flight Plan' tab.
Step 7: Add waypoints by clicking on the map.
Step 8: Click 'Write WPs' to upload mission to drone.
Step 9: Arm and start mission from 'Actions' tab or remote controller.
Output
Mission Planner connects to drone on COM3 at 115200 baud. Waypoints uploaded successfully. Drone ready for mission execution.
⚠️

Common Pitfalls

  • Wrong COM Port: Selecting the wrong port causes connection failure.
  • Incorrect Baud Rate: Using a baud rate different from the drone's telemetry setting prevents communication.
  • Driver Issues: Missing USB drivers can block connection.
  • Firmware Mismatch: Using incompatible Mission Planner or ArduPilot firmware versions may cause errors.
  • Not Arming Drone: Forgetting to arm the drone before flight will prevent mission start.
text
/* Wrong way: Using wrong COM port and baud rate */
Select COM port: COM5
Set baud rate: 9600
Click Connect
// Result: Connection fails

/* Right way: Correct COM port and baud rate */
Select COM port: COM3
Set baud rate: 115200
Click Connect
// Result: Connection successful
📊

Quick Reference

StepActionNotes
1Connect drone via USB or telemetryUse correct cable or radio link
2Open Mission PlannerLatest version recommended
3Select COM portCheck Device Manager for port number
4Set baud rateUsually 57600 or 115200
5Click ConnectWait for connection confirmation
6Configure parametersAdjust settings as needed
7Plan missionAdd waypoints on map
8Upload missionClick 'Write WPs'
9Arm and start missionUse Actions tab or RC

Key Takeaways

Always select the correct COM port and baud rate to connect Mission Planner to ArduPilot.
Use USB or telemetry radios to establish a stable connection.
Plan missions by adding waypoints in the Flight Plan tab and upload them before flight.
Check for driver and firmware compatibility to avoid connection issues.
Remember to arm your drone before starting the mission.