Problems with ESP8266 data transmission via MAVlink

Hello everyone!!

I downloaded the firmware-esp12e.bin from this site ESP8266 wifi telemetry — Copter documentation to the WiFi module for the ESP8266 microcontroller with a flash volume of 4MB. This module communicates with peripheral devices via the MAVLink protocol. I downloaded it using the esp32 flash download tool, it was successful. Then after that I changed the SSID, network password and connected to the network using a computer, at this stage everything was fine. However, I started testing the module - I connected the module to the flight controller and turned on the Mission Planner. According to my idea, the flight controller was supposed to interact with the Mission Planner via the WiFi network. However, it turned out that the Mission Planner cannot connect to the flight controller via the network, although the computer is connected to my network. The data transfer rates from the TELEM1 and UART Wi-Fi modules are consistent. The module I use is PW-Link. That is, the module creates a network, but Mission Planner cannot connect to it. What could be the problem?

I would be very grateful for an answer!

Hi Andrii,

Mission Planner is running on a computer on the network. Can you open 192.168.4.1 with a browser on that computer?

Are you shure RX is connected to TX and Tx to RX ?

Mission Planner is set to UDP with Port 14550 ?

Rolf

Hi Rolf!

Yes, I was able to open 192.168.4.1 using a browser, where I set the SSID and password. The Rx and Tx pins are turned on correctly, because when I flash the native firmware, the module works. I set the port to 14550 when I enable the connection via UDP. However, the connection timeout passes, but there is no connection.

Debug with LiveTcpUdpWatch (Windows).

1 Like

Can you still access the page after changing the SSID and password? You may have made a typo when setting it up.

Rolf

There is no connection, even if you do not change the ID and password.

Have you set the same speed (921600 baud) in 192.168.4.1/Setup and FC (SERIALx_BAUD 921 and SERIALx_PROTOCOL to Mavlink2 ) ?

Rolf

Yes, I have configured the transmission speed and the MAVLink protocol. Nothing has helped yet. Although I have tried different options and combinations. Maybe I need to make some changes to the source code and recompile it?

I was able to connect. The problem was that I was configuring the flight controller for the wrong Serial port. Thanks for the answers and help.

1 Like