Hardware¶
TL;DR¶
Architecture
Version 5 and beyond will not support armv6 architecure (pi0w, rpi1, Compute Module 1). For these board use the 4.x version of uavcast. Goto installation.
You will need a single board computer (arm32v7 or arm64) and a mavlink flight controller to get started. You dont need a modem for testing locally in your home network, a local wifi or ethernet connection will work just fine. As soon as you have configured everything and are ready to go flying, you need a modem, we recommend a HiLink (Plug and Play) type.
If you want to control your drone manually during flight, we also recommend using a USB gamepad connected to Mission Planner joystick integration.
See more info bellow.
Flight Controllers¶
All Mavlink based boards are supported (PX4, Ardupilot).
The Ardupilot project is often adding support for other flight controllers. The full list of supported flight controllers can be viewed here http://ardupilot.org/plane/docs/common-autopilots.html.
To mention some supported board:
- Pixhawk
- APMx
- Cube
- Matek
Connection Methods¶
There is two ways to connect the FC to Raspberry PI, either using USB (preferred) or GPIO There is no diffrence in performance but the USB connection is easier and more elegant.
USB¶
- Connect a micro USB cable between the FC and RPI as shown in the picture bellow.
USB cross-sectional
Use a USB cable with large cross-sectional area to minimize the voltage drop supplied to Fligth Controller.
GPIO¶
- Its very imporant to connect tx, rx and ground if you want to use GPIO, and not only tx & rx.
Warning
RPI cannot be powered by FC telem port. Make sure you use proper power source for rpi.
Power supply¶
It's important that Raspberry Pi gets voltage between 4.8 and 5.3v. If you use LTE modem, make sure you are not overloading the USB port per. design.
Read the modem specification / datasheet and make sure the modem is not consuming more than MAX output defined in the table below.
USB Camera
If you use USB camera, make sure you include the camera consumption as well.
https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md
- Limited by PSU referes the value from the (Recommended PSU current capacity). Make sure you use a proper power supply that are able to deliver above this value.
If you need to add external power, please see instructions bellow. This is one solution, where we attach the power directly to the USB +/- pins, and one wire to the RPI fuse. The latter will make sure RPI is booting automatically when powered.
Note
Make sure you connect the modem to correct USB port where external power supply is connected.
Modem¶
UAVcast uses modem manager and network manager to control the LTE connection. Check out this page to find supported modems, Supported modem
Recommended Huawei HiLink modems by Countries¶
Note
Please send a mail to support@uavmatrix.com or open a new PR on github if you know of other working Huawei modems in your country!
Country | Carrier | Recommended Modem | Recommended APN |
---|---|---|---|
Australia | Telstra | E3372h-153 E3372h-607 |
telstra.wap telstra.internet |
Austria | bob A1 Telekom Austria | E3372h-153 E3372h-607 |
bob.at |
Bulgaria | Vivacom | E3372h-153 E3372h-607 |
internet.vivacom.bg |
Czech Republic | O2 | E3372h-153 E3372h-607 |
internet |
Czech Republic | Vodafone | E3372h-153 E3372h-607 |
internet |
France | Bouygues | E3372h-153 E3372h-607 |
mmsbouygtel.com |
France | Orange | E3372h-153 E3372h-607 |
orange.fr / orange |
France | SFR | E3372h-153 E3372h-607 |
websfr |
Germany | T-Mobile | E3372h-153 E3372h-607 |
internet.t-d1.de |
Germany | O2 | E3372h-153 E3372h-607 |
internet |
Germany | Vodafone | E3372h-153 E3372h-607 |
web.vodafone.de |
Greece | Cosmote | E3372h-153 E3372h-607 |
internet |
Greece | WIND Hellas | E3372h-153 E3372h-607 |
gint.b-online.gr |
Hungary | Magyar Telekom | E3372h-153 E3372h-607 |
internet.telekom |
Italy | Iliad | E3372h-153 E3372h-607 |
iliad |
Italy | TIM | E3372h-153 E3372h-607 |
ibox.tim.it |
Italy | Vodafone | E3372h-153 E3372h-607 |
web.omnitel.it |
Latvia | Tele2 | E3372h-153 E3372h-607 |
mobileinternet.tele2.lv |
Malaysia | DiGi | E3372h-153 E3372h-607 |
diginet |
Netherlands | T-Mobile | E3372h-153 E3372h-607 |
internet |
Norway | Telenor | E3372h-153 E3372h-607 |
internet.public / internet |
Poland | Orange | E3372h-153 E3372h-607 |
internet |
Portugal | Vodafone | E3372h-153 E3372h-607 |
internet.vodafone.pt |
Singapore | Singtel | E3372h-153 E3372h-607 |
e-ideas |
Singapore | StarHub | E3372h-153 E3372h-607 |
shwap |
Spain | Movistar | E3372h-153 E3372h-607 |
movistar.es |
Spain | Yoigo | E3372h-153 E3372h-607 |
internet |
Sweden | Halebop | E3372h-153 E3372h-607 |
halebop.telia.se |
Sweden | Tele2 | E3372h-153 E3372h-607 |
4G.tele2.se |
Sweden | Telenor | E3372h-153 E3372h-607 |
internet.telenor.se |
Sweden | Telia | E3372h-153 E3372h-607 |
online.telia.se |
Switzerland | Salt | E3372h-153 E3372h-607 |
internet |
Switzerland | Sunrise | E3372h-153 E3372h-607 |
internet |
Switzerland | Swisscom | E3372h-153 E3372h-607 |
gprs.swisscom.ch |
Switzerland | Swisscom | E3372h-153 E3372h-607 |
corporate.swisscom.ch APN User: testprofil and APN Password: temporary |
Turkey | Turkcell | E3372h-153 E3372h-607 |
mgb / internet |
UK | EE | E3372h-153 E3372h-607 |
everywhere |
USA | AT&T | E3372h-510 | various |
USA | Sprint | No info | No Info |
USA | T-Mobile | E3372h-510 E3276s-505 MS2372h-517 |
fast.t-mobile.com, epc.tmobile.com |
USA | Verizon | E3372h-510 | vzwinternet |
Modem LED Status
- Green, flashing twice every 2s: The USB-Modem is powered on.
- Green, flashing once every 0.2s: The software of the USB-Modem is being upgraded.
- Green, flashing once every 2s: The USB-Modem is registering with a 2G network.
- Blue, flashing once every 2s: The USB-Modem is registering with a 3G network.
- Cyan, flashing once every 2s: The USB-Modem is registering with a 4G network.
- Green, solid: The USB-Modem is connected to a 2G network.
- Blue, solid: The USB-Modem is connected to a 3G network.
- Cyan, solid: The USB-Modem is connected to a 4G network.
HiLink or Stick modems
Some Huawei USB modems have a mode called "HiLink" which provides for "driverless" installation on Windows, Macintosh and Linux computers. These modems usually have the HiLink logo marked on the outside, or have letter H in the model name. Example E3372H. All modems in the table above is HiLink!
Stick modems is a regular modem where you need to send AT commands to establish a cell connection. UAVcast has all the connection stuff you need integrate a stick modem.
HiLink Advantages
The big advantages being that the connection time is very fast and hassle free. A HiLink modem uses a web browser to access the modem settings.
It acts more or less like a plug and play modem, you don't need to configure any parameters in uavcast or Raspberry Pi.
HiLink Disadvantages
Hilink modems does not support Port Forwarding out of the box. You certainly almost every-time need to flash new firmware to access the Port Forwarding menu in the modem web interface.
However, if you use VPN connection then HiLink is a perfect choice as VPN does't not require any port forwarding.
Camera¶
There are several cameras that works with uavcast,
- PiCam
- Logitech C920
- Logitech C615
Other USB cameras may also work.
Mission Planner and QGroundControl supports video stream by default on port 5600.