4G/LTE Plane/Drone Telemetry (Ardupilot and RaspberryPi)
ฝัง
- เผยแพร่เมื่อ 1 ก.ค. 2024
- In this Tutorial I will show you how to connect to your Drone/Airplane/UAV using an LTE/4G connection and a RaspberryPi using mavlink-router. I will go through what you need and the Install Process of the needed Programs.
0:00 Overview
0:40 What do you need?
1:27 Connecting RPI to the Internet
2:31 Installing mavlink-router
5:11 Config mavlink-router
7:06 Testing mavlink-router/Server
10:06 Auto-Connect on Startup
13:36 Testing
Mavlink-router: github.com/mavlink-router/mav...
Mavlink-router Tutorial: bellergy.com/6-install-and-se...
Ardupilot connect to Raspberry: ardupilot.org/dev/docs/raspbe...
Main.conf:
------
[UartEndpoint serial0]
Device=/dev/ttyS0
[UdpEndpoint local]
Mode=normal
Address=52.59.194.186
Port=14555
------
mavlink_routing.service:
------
[Unit]
Description=MAVLink Script Service
After=network.target
[Service]
ExecStartPre=/bin/bash -c 'until ping -c1 google.com (left bigger than)/dev/null 2(left bigger than)&1; do sleep 1; done'
ExecStart=/home/pi/router_config.sh
WorkingDirectory=/home/pi
StandardOutput=inherit
StandardError=inherit
Restart=always
RestartSec=10
User=pi
[Install]
WantedBy=multi-user.target
------- - วิทยาศาสตร์และเทคโนโลยี
great video... but keep in mind in this scenario you are relaying info using the server. that make it slow and long delay (depends on internet). if you use sth like zerotier for headscale or tailscale you can have peer to peer connection without relaying data.
Thank you! I have measured the RTT(delay) to be about 1/4 to 1/3 of for example the RFD900X or a Holybro SiK Radio. This was surprising to me. I am working towards a GCS controlling multiple Aircraft, in which case it does make sense. But for only one UAV it is definitely a good option to use a peer to peer connection!
I would love to do this! You make it seem so easy!
I also am building a T1 Ranger VTOL just like you and was wishing I could do the 4glte but I'm not sure I can. I think I might just set it up with mateksys internals. IDK tho you got me thinking I should do 4glte.
I actually think 4gLTE might be a better option than a generic holybro sik telemetry radio. Both in price(Holybro ~100€ vs. 4gLTE ~35€ + cellular) and in usefulness, since you do not need anything plugged in your computer and also can access the telemetry data from multiple devices(phone, laptop, etc.). If you do want to follow my tutorial, I would be glad to help you when problems arise! Good Luck on your T1 Ranger VTOL Build🙋♂️
Can you try 5G? Can we get a test flight video?
I could do that but what for? Personally I don’t see a big reason to use 5G over 4G. I do have some flight videos which I could upload, but no videos detailing the Datalink. Would you be interested in both or one thing in particular?
Hi bro
I have applied everything in the video, but there is a problem with the Amazon server. When I write a command, it does not send a message to the server. Is it possible to help? Telegram or email to communicate. Please help.😢
Hey, you can contact me: t.me/TheBattery_airlum