MicoAir
Docs directory
Table of contents

MicoAir-WiFi-Link Multi-Drone Networking Guide

This guide explains how to configure one or more MicoAir-WiFi-Link modules in STA mode so a ground control station can receive MAVLink telemetry from multiple flight controllers over the same LAN.

STA Mode and Configuration Preparation

STA Mode Overview

In STA mode, the MicoAir-WiFi-Link operates as a wireless client and connects to an existing router. The flight controller connects to the module through a serial port, while the GCS computer connects to the same router over Wi-Fi or Ethernet. Once configured, one GCS can monitor and control multiple drones over the LAN.

MicoAir-WiFi-Link multi-drone STA network topology

Before configuring STA mode, determine these parameters:

ParameterAT CommandDescription
Router Wi-Fi SSIDAT+SSIDSSID of the wireless network the module will join
Router Wi-Fi passwordAT+PWDPassword for the wireless network
Module IP addressAT+MIPStatic module address on the LAN
Target IP addressAT+TIPIPv4 address of the GCS computer
Gateway addressAT+GWRouter default gateway
UDP portAT+PORTGCS listening port, typically 14550

AT+TIP is the parameter most commonly configured incorrectly in STA mode. It must be the IPv4 address assigned to the GCS computer on the target router.

Computer IPv4 Address

  1. Connect the GCS computer to the router.
  2. Open Command Prompt in Windows.
  3. Run ipconfig.
  4. Locate the IPv4 Address of the active adapter.
ipconfig

IPv4 Address. . . . . . . . . . . : 192.168.8.211
Default Gateway . . . . . . . . . : 192.168.8.1

IPv4 address and default gateway in Windows ipconfig output

Based on the example, plan the network as follows:

ParameterExample Value
GCS computer IP192.168.8.211
Wi-Fi telemetry module IP192.168.8.213
Gateway IP192.168.8.1
UDP port14550

AT+MIP must be in the same subnet as the GCS and gateway and must not duplicate another LAN address. If the computer changes networks or receives a new address, update AT+TIP.

Hardware Connections

Connection for Module Configuration

Connect the module directly to the computer with a USB Type-C cable that supports data. Verify its COM port in Windows Device Manager. If no port appears, install the CH340 driver or try another data-capable cable.

Connection for Flight Operations

Use the supplied cable to connect the module to the flight controller. This guide assumes TELEM1: connect the GH1.25-4Pin end to the module and the SH1.0-4Pin end to TELEM1.

MicoAir-WiFi-Link wiring to the flight controller TELEM1 port

Always verify the serial port mapping for the specific flight controller before changing firmware parameters.

Wi-Fi Module Configuration

Testing AT Command

  1. Open a serial terminal such as SSCOM.
  2. Select the module COM port and set 115200 baud.
  3. Enable AddCRLF or terminate every command with CRLF.
  4. Send AT and expect OK.
AT
OK

Serial terminal returning OK for the AT command

If the module does not respond, check that:

  • The correct COM port is selected.
  • The baud rate is 115200.
  • CRLF termination is enabled.
  • The Type-C cable supports data.

Reading the Configuration

Send AT+ALL? to display the mode, SSID, serial baud rate, UDP port, local IP, target IP, gateway, and other parameters.

AT+ALL?

Current MicoAir-WiFi-Link parameters returned by AT+ALL?

STA Network Parameters

Use serial AT commands throughout initial setup to avoid mixing configuration methods. Replace the following examples with your actual network parameters.

AT+SSID=MicoAir_5G
AT+PWD=12345678
AT+MIP=192.168.8.213
AT+TIP=192.168.8.211
AT+GW=192.168.8.1
AT+PORT=14550
AT+BAUD=115200
AT+MODE=1
AT+RST

Configuration Verification

The module restarts after its mode changes. Reopen the serial port, send AT+ALL?, and verify MODE, SSID, BAUD, PORT, MIP, TIP, and GW.

AT+ALL?

STA parameters verified with AT+ALL?

Flight Controller Configuration

Configure the connected flight controller serial port for MAVLink and match its baud rate to AT+BAUD.

ArduPilot Configuration

  1. Connect the flight controller over USB or another supported connection.
  2. Open MicoConfigurator and connect to the flight controller.
  3. Go to Settings > Ports.
  4. Locate the serial port connected to the module.
SERIAL1_PROTOCOL = MAVLink2
SERIAL1_BAUD = 115200

ArduPilot serial port configuration in MicoConfigurator

Each drone in a multi-drone system needs a unique SYSID_THISMAV. A single drone can normally keep 1. Restart the flight controller if required.

SYSID_THISMAV = 1

ArduPilot SYSID_THISMAV parameter

PX4 Configuration

  1. Connect the flight controller over USB or another supported connection.
  2. Open MicoConfigurator and connect to the flight controller.
  3. Go to Settings > Ports.
  4. If the module uses TELEM1, apply the parameters below.
MAV_0_CONFIG = TELEM1
MAV_0_MODE = Normal
SER_TEL1_BAUD = 115200 8N1

PX4 TELEM1 configuration in MicoConfigurator

Each drone also needs a unique MAV_SYS_ID. A single drone can normally keep 1. Restart the flight controller after changing it.

MAV_SYS_ID = 1

PX4 MAV_SYS_ID parameter

GCS Connection

After configuring the module and flight controller, establish one UDP connection in the GCS. The same connection receives every drone and separates them by unique system ID.

Mission Planner

  1. Open Mission Planner.
  2. Select UDP.
  3. Set port 14550.
  4. Click Connect and wait for detection.

Mission Planner UDP 14550 connection

QGroundControl

  1. Open QGroundControl.
  2. Go to Application Settings > Comm Links.
  3. Enable automatic UDP or add a UDP link.
  4. Set listening port 14550.
  5. Connect and wait for detection.

QGroundControl UDP communication link

If no telemetry arrives, first check whether Windows Firewall blocks UDP traffic for Mission Planner or QGroundControl.

Windows Firewall allowing the GCS application

Configuration Example for Multiple Drones

STA mode allows multiple drones to share one router. Every Wi-Fi module needs a unique local IP, and every flight controller needs a unique system ID.

Network Plan for Three Drones

DeviceIP Address / ID
Router gateway192.168.8.1
GCS computer192.168.8.211
Drone 1 module192.168.8.212
Drone 2 module192.168.8.213
Drone 3 module192.168.8.214
UDP port14550

Set AT+TIP on every module to 192.168.8.211 and give each module a different AT+MIP. A separate GCS connection is not required for each drone.

AT+TIP=192.168.8.211

Configuration Examples for Three Drones

Drone 1

AT+SSID=MicoAir_5G
AT+PWD=12345678
AT+MIP=192.168.8.212
AT+TIP=192.168.8.211
AT+GW=192.168.8.1
AT+PORT=14550
AT+BAUD=115200
AT+MODE=1

SYSID_THISMAV = 1
MAV_SYS_ID = 1

Drone 2

AT+SSID=MicoAir_5G
AT+PWD=12345678
AT+MIP=192.168.8.213
AT+TIP=192.168.8.211
AT+GW=192.168.8.1
AT+PORT=14550
AT+BAUD=115200
AT+MODE=1

SYSID_THISMAV = 2
MAV_SYS_ID = 2

Drone 3

AT+SSID=MicoAir_5G
AT+PWD=12345678
AT+MIP=192.168.8.214
AT+TIP=192.168.8.211
AT+GW=192.168.8.1
AT+PORT=14550
AT+BAUD=115200
AT+MODE=1

SYSID_THISMAV = 3
MAV_SYS_ID = 3

Four-Drone GCS Examples

Four drones using PX4 and MicoAir-WiFi-Link:

Four drones using PX4 and MicoAir-WiFi-Link

PX4 four-drone connection details

Four drones using ArduPilot and MicoAir-WiFi-Link:

Four drones using ArduPilot and MicoAir-WiFi-Link

ArduPilot four-drone connection details

Operational Notes for Multiple Drones

  • Use a unique AT+MIP on every module.
  • Point every AT+TIP to the GCS computer.
  • Use a unique flight controller system ID.
  • Update every AT+TIP if the GCS address changes.
  • Reserve a static address for the GCS on the router.
  • Check for duplicate system IDs when some drones are missing.

Troubleshooting

No Response to AT Commands

  • Confirm the Type-C cable supports data.
  • Confirm the correct serial port.
  • Confirm 115200 baud.
  • Confirm AddCRLF is enabled.

Module Cannot Connect to the Router

  • Verify AT+SSID.
  • Verify AT+PWD.
  • Verify the router permits the module.
  • Verify STA mode.

No Telemetry Data at the GCS

  • The computer IP matches AT+TIP.
  • AT+MIP, AT+TIP, and AT+GW share a subnet.
  • The GCS listens on UDP 14550.
  • Windows Firewall allows the GCS.
  • The flight controller port uses MAVLink.
  • The serial baud rate matches AT+BAUD.
  • TX and RX are crossed correctly.

Parameter Changes Do Not Take Effect

Send AT+RST, then query AT+ALL? again and confirm the new values were saved.

AT+RST
AT+ALL?

Restoring Factory Defaults

Send AT+RESET, then configure STA mode again from the beginning.

AT+RESET