WiFi configuration for multiple drones using esp8266?

Hi all,

I have successfully connected to QGC with one drone using a esp8266 and a pix-racer. As soon as I try to connect another drone over the same wifi, QGC does not register the second drone, but receives 2 sets of telemetry for one drone.

I think the problem is with my wifi esp config but i can’t seem to figure it out. The esp8266’s are configured like so:

Drone#0
WiFi Mode: Station
AP SSID: ArduPilot
AP Password (min len 8): ardupilot
WiFi Channel: 11
Station SSID: aRouterName
Station Password: aPassword
Station IP: 10.1.1.1
Station Gateway: 0.0.0.0
Station Subnet: 255.255.255.0
Host Port: 14550
Client Port: 14555
Baudrate: 921600

Drone#1
WiFi Mode: Station
AP SSID: ArduPilot
AP Password (min len 8): ardupilot
WiFi Channel: 11
Station SSID: aRouterName
Station Password: aPassword
Station IP: 10.1.1.2
Station Gateway: 0.0.0.0
Station Subnet: 255.255.255.0
Host Port: 14550
Client Port: 14556
Baudrate: 921600

The same version of QGC was used to successfully connect to Gazebo with 2 drones…

Any help would be appropriated :smiley:

2 Likes

@terrymao886 your amazing!
Thankyou for your help this solved my problem.

All of my drones where set to have the default sys ID of 1. Changing each drone to have different IDs in QGC fixed my problem.

1 Like

You are welcome, I just using this function before.

@kory.smith would you mind marking @terrymao886 response and the solution to your question, please?

This will allow other community members with your same issues find the answer and get going much faster, all thanks to your efforts!