Below you have a video that will show you how to correctly make the settings in the Fly Controller section of the UAV 4G Tool. After watching this video, you can read the detailed settings explained below it :
1. Connection Fly controller USB / SERIAL: -see video uplow-
The program uses two modes to establish a connection between the companion computer and the flight controller, namely SERIAL and USB mode. It’s very simple, just choose which type of connection you want to establish by clicking on one of the two buttons. If you make a USB connection, in the first column under Type FC connection, you will see /dev/ttyACM0, and if you make a SERIAL connection, you will see /dev/ttyAMA0 or /dev/ttyS0 or S1 in the mentioned field. Don’t worry, these things are done automatically, all you have to do is choose the type of connection, the rest is just informational.
2. IP Ground Station : -see video uplow-
Enter the IP address of the ground station and press the UPDATE button. In the leftmost column, called Info FC Connection, in the IP Ground Station section, the IP address you entered will appear.
HINTS & TIPS
This IP address is the address of your computer running Mission Planner. When you connect through the Access Point to the UAV_4G_Tool network during the first initialization of the program, it will be something like: 192.168.77.11 or 12 or 13, etc., with the last digit being dynamic. You can verify this by looking at the properties of your wireless connection when connected to this Access Point. You can enter this IP address into the IP Ground Station and thus establish a connection with Mission Planner in UDP mode without having the modem installed.
When using Zerotier to connect, the ground station IP will be the address of your device (i.e. your computer) registered in the “Managed IPs” section of Zerotier. It is important not to confuse the IP of the Companion Computer (Raspberry) running UAV 4G Tool, which is also connected to the same Zerotier network, with the IP of the ground station registered in the same Zerotier network to establish the connection between them. We will also add a comprehensive educational video for those who have not used Zerotier before.
3. Port (UDP) : -see video uplow-
Enter the UDP port through which the connection with Mission Planner installed on the ground station is made, press the UPDATE button, and in the leftmost column under the Port Ground Station section, the port you entered will appear. The standard port is 14550, although it can also be set to 14551. Mission Planner automatically searches for a connection on these ports, so the connection will be established on whichever one is set. However, it is recommended to leave it on the standard port 14550 as older versions of Mission Planner do not automatically search for both ports. You can also manually select the port for the connection in Mission Planner if you wish.
4. Baud Fly Controller : -see video uplow-
Please enter the communication baud rate and then click the UPDATE button. As with the previous steps, you will see this change in the Info FC Connection column under the Baud FC Controller section. The baud rate used can be 9600, 57600, or 115200, but I recommend leaving it at 57600 if you don’t have much experience, as it works for both the serial and USB connections. However, if you have advanced knowledge, you can increase the baud rate in serial mode, but make sure to do so in Mission Planner as well, so that they match. So for beginners, leave it at 57600 for both connection modes.
5. Zerotier : -see video uplow-
If you want to perform a test with the installed modem and test the program through the internet using the Zerotier connection, which represents its real mode and leads to unlimited range, you need to enter the Zerotier address of the network that connects the two components: the ground station and the companion computer (Raspberry) where UAV 4G Tool is installed. The procedure is the same, enter the Zerotier address and click the UPDATE button, and in the connection status on the left under the Actual Zerotier Status section, the address you entered will appear. In the first few seconds, the status may be PRIVATE, but within a maximum of 30 seconds, the PRIVATE status will change to OK. You can also see this status in the DASHBOARD on the last line: Zerotier Offline Status or Zerotier Online Status, with a green or red LED lit depending on the state.
If you want to perform a local test, it is not necessary to enter the ZeroTier address. You just need to be connected to the 4G_Tool Access Point explained in the FIRST STEP section, and know the IP address of your computer which represents the ground station. It will be part of the same range 192.168.77. … with the last digit ranging from 2 to 25. You can check this in your wireless connection settings to find out, and then test the program.
6. Telemetry ON / OFF : -see video uplow-
In the bottom section, you have the option to start or stop the Mavlink connection using the ON and OFF buttons. If you have entered all the correct information, set the correct IP address of the ground station, the type of connection (USB or serial), the port, and the baud rate, and if these are correctly reflected in the Info FC controller section on the left, then you can start or stop the Mavlink connection to send telemetry from the ground station. The status of this connection can be seen through the green or red LED status or by checking the DASHBOARD on the third line of the status message: Mavlink Active or Mavlink Inactive, as well as the green or red LED status.