On this page
Wiring Diagram: Raspberry Pi and Pixhawk 6C
Every connection of a full Aircast build on one sheet: battery power, the flight controller, Starlink, the gimbal camera, the LTE backup, the packet radio and the gripper servos. The numbers on the diagram point to the notes below it.
- Battery (VBAT)
- +5 V
- GND
- USB
- Ethernet
- PWM
Notes
1Flight controller over USB, no UART
aircastd finds ArduPilot and PX4 autopilots by their USB name (Holybro, CUAV, CubePilot and others), so one USB cable is the whole telemetry link. The Aircast image leaves the GPIO UART off, and TELEM1 and TELEM2 stay free. Secure the plug: if it works loose, telemetry stops until it is back, then aircastd picks the autopilot up again by itself. The Telemetry Setup guide covers the ground side.
2Starlink on Ethernet, the camera on its own port
The Mini runs its own DHCP server, so the Pi's Ethernet port gets an address and becomes the uplink. The camera wizard gives the camera's port a fixed 192.168.144.2/24 with no DHCP (192.168.2.2/24 for Viewpro), so a camera on the same port, or on a switch with the Mini, would cut the internet. Put the camera on a USB-Ethernet adapter. Starlink Mini Uplink covers activation and the cable.
3Power
The Mini needs 12-48 V and 25-40 W, and a 3S pack spends most of a flight under 12 V, so fly 4S-6S. The ZR30 takes 11-25.2 V, which still covers 6S. A Pi 5 without a USB-PD supply caps all its USB ports at 600 mA combined, and this build hangs four devices off USB: add usb_max_current_enable=1 to config.txt on the card's boot partition. A Pi 4 runs fine from 5 V 3 A. Hardware Reliability covers brownouts.
4Servos on their own BEC
A stalled servo on the flight controller's rail drags it down and can reboot the Pixhawk. The grippers are set up with parameters only; before flying, check that outputs 9-12 (SERVO9-12_FUNCTION) are not taken by the gimbal.
Photos: Raspberry Pi 4 by Laserlicht (CC BY-SA 4.0), LiPo by RC Lipo battery (CC BY-SA 3.0), SG90 servo by Suyash Dwivedi (CC BY-SA 4.0), XL4015 module by Retired electrician (CC0) and TP-Link UE300 by Hayden Schiff (CC BY 4.0), all from Wikimedia Commons, backgrounds removed; Pixhawk 6C and PM02 from the PX4 User Guide (CC BY 4.0); SIYI, ALFA Network and Starlink product photos by their makers.
Flash your Pi in about 5 minutes
The Aircast Flasher downloads the image, sets Wi-Fi and hostname, and verifies the card.
On This Page