Archived:PX4 Wiring QuickStart¶
The PX4 is end of life and is not generally available for purchase. This article is made available for existing users.
PX4FMU plus PX4IO Wiring Diagram for Plane¶
- Solder the right angle 9x3 pin connector that was included with
your PX4 kit to the side of the PX4IO board that has “PX4 autopilot”
printed on it.
- When you insert the 9 x 3 connector into the PX4IO board put it in with the plastic spacer on the connector facing to the back of the board, NOT down against the board.
- Solder the small white PAP-02-VS 2 pin connector into the 2 holes directly behind the battery pads on the PX4IO board.
- Install the PX4IO board on top of the PX4FMU board.
- Ensure all of the connector pins are straight and insertion is complete.
- Mount the PX4-FMU + PX4-IO board stack in a central and level location on top of your Plane.
- The PX4FMU board is normally on top.
- It can be advantageous to mount the PX4IO board on top to provide for better Connector access.
- If you do mount the PX4IO board on top it will be necessary to set the “Board Orientation (AHRS_ORIENTATION)” parameter to “Roll 180” in the Advanced Parameter List in Mission Planner.
- The arrow labeled “FRONT” should be facing to the front of the aircraft.
- The Micro SD memory card holder should face to the back of the Aircraft.
- Use the included standoffs and hardware.
- Which ever side of which ever board is going to be on top but a black standoff through one of the mounting holes from the bottom and thread a black plastic nut onto it from the top.
- Repeat the above for the remaining 3 holes.
- Connect the PX4FMU and PX4IO board insuring no pins are bent on the board interconnection connector.
- Thread 4 more of the black standoffs into the already installed black standoffs.
- You will need additional vibration damping and you should also
review the Wiki section on vibration control.
- At a minimum you should mount the standoffs to an intermediate plate.
- Mount the plate to your airframe with 4 small (<1”)square pads of Kyosho “Zeal” gel or “Moon Gel” in the corners.
- Mount the GPS facing up with an unobstructed “view” of the sky.
- Connect the GPS cable to the GPS connector on the PX4FMU board.
- The GPS must be positioned so that it’s cable will connect without strain to the PX4FMU’s GPS connector.
- The GPS can be mounted on a short riser to give it the widest satellite access.
Wire the PX4FMU and PX4IO boards to Your Plane¶
- Wire the PX4-IO board.
- The PX4IO board has a built in Power Supply which can connect to up to 18 volts.
- Insert the white PAP-02-VS 2 pin connector with the black and red wires coming out of it into the mating power connector you soldered in previously on the PX4IO board.
- Battery Plus is the(red wire) and should be soldered to your battery red power lead / connector.
- Battery Ground is the(black wire) and should be soldered to your battery black battery (Ground) lead / connector.
- The main power inputs of your ESC’s will also need to connect to these wires and to a battery connector.
- A Power Distribution board can also be used.
- Connect your PPM-Sum RC receiver’s 3 wire cable to the end of the 9 x 3 angle connector that is nearest the edge of the PX4IO board with the signal wire furthest from the board and the ground closest to the board.
- Wire the PX4 boards servo out signals to your Servo / ESC control
- The ESCs BEC or a separate UBEC can supply servo power to the
Servos via the PX4’s Servo connector BUSS
- Run the 3 wire servo cables from the ESC (and its built in BEC) and Servos to the 3 x 9 Servo Connector on the PX4IO board.
- Or, clip the power lead on the ESC and run power and ground from a separate UBEC to the bottom pins of the Servo connector.
- The PX4IO board connector for Servo 1 is at the edge of the connector next to the Battery power in wires.
- Insert the Servo and Motor ESC signal wires arranged progressively from that edge, (1,2,3,4,etc).
- You can put the ESC / Servo Signal wires into a single inline connector with the correct number of pins for your Plane.
- The ESC / Servo Signal Wires / connector should be plugged into the top row (furthest from the board) of the PX4IO boards 3 x 9 Servo Connector.
- The ESCs BEC or a separate UBEC can supply servo power to the Servos via the PX4’s Servo connector BUSS
- Note, the cable that is supplied in the plastic envelope with the
UBLOX GPS which has white 6 pin connectors on both ends is not the
correct cable for the PX4FMU board.
- The correct longer cable is provided in a separate envelope and has a 5 pin “beige” connector on one end and a 6 pin white connector on the other end.
- Plug the correct GPS cable’s white 6 pin connector into the 6 pin socket on the GPS.
- Plug the beige 5 pin connector into the PX4FMU board’s 5 pin GPS socket which is next to the 15 pin DF13 Mini connector.
- Plug the 2 pin connector attached to the lead supplied with the buzzer into the buzzer socket on the side of the PX4FMU board that has the SD card holder on it.
- Connect the “Safety Button” to the Safety button connector on the PX4IO board on the opposite side of the board from the Battery pads.
The PX4 must have its “Safety” mechanism disengaged before it can be armed.
- PX4 Safety Button LED Indications:
- Fast Blinking indicates: Error Condition, Safety cannot be disengaged. Possibly not calibrated or sensor error.
- Slow Blinking indicates: Safe condition. Safety can be disengaged by depressing Safety Button for 5 seconds.
- LED Continuously on indicates: Safety has been disengaged. Depending on your parameter settings, throttle may be armed with Throttle down and to the right. For details on throttle arming see: Arming Throttle.
- When the LED is continuously on indicating Safety Disengaged it may be toggled back to a Safety engaged condition by depressing the Safety button for 5 seconds.
Both the Safety engaged and Safety disengaged conditions require the button to be held down for 5 seconds to toggle them.. This is a safety mechanism to prevent accidental disarming during flight and accidental arming during transportation.
Using a SiK telemetry radio with your PX4FMU plus PX4IO system.¶
- You will need a SiK Radio.
- Plug the telemetry adapter cable’s large black connector into the SiK Radio as shown above.
- The telemetry radio is shown above incorrectly connected to the
FMU USART2 socket at the corner of the PX4IO board.
- Correctly plug the telemetry adapter cable’s beige connector into the PX4IO boards FMU UART5 socket.
- FMU UART5 is the middle socket on the end of the PX4IO board as indicated by the red arrow above.
- (FMU UARTx) means a port that is pass through connected directly from the PX4IO board to the PX4FMU.
Separate Servo power for high power applications¶
- Using a separate power supply to provide power to the center servo
power pins of the PX4IO board.
- If you are driving high power servos with your PX4IO board you will want to provide servo power separately.
- In order to do this, remove the L1 Ferrite device circled in red on the image above.
- Then run power from your separate power supply to one of the center pins of the Servo Connector.
- And run the ground from your separate power supply to one of the servo connector pins nearest the edge of the board.
Using a Standard RC Radio Receiver with an 8 channel PPM Encoder¶
- You can use a standard radio receiver with an 8 channel PPM Encoder
in place of the PPM-SUM receiver.
- An 8 Channel PPM Encoder is available from jDrones here.
- Solder a 3x8 Right angle connector from the top into one end of the 8 Channel PPM Encoder board.
- With the 3x8 connector up and facing away from you, solder a 3x1 Right angle connector on the right edge of the 8 Channel PPM Encoder board.
- Connect 5-8 output channels of your receiver to the inputs of the 8
Channel Encoder (signal wire furthest from board) with 5-8 female to
female servo jumpers.
- Connect the PPM-SUM output of the Encoder with a 3 wire cable to the PX4IO boards PPM sum input (1x3 connector).
If you are using a 3DR PPM Encoder it is important to know that when you are calibrating your transmitter you will quite likely need to hook up your flight battery to the PX4IO because the USB port alone can’t supply enough power.
Compatible remote control (RC) receivers¶
PX4 is compatible with PPM remote control (RC) receivers, Futaba S.Bus receivers, and Spektrum DSM,DSM2, and DSM-X Satellite receivers. For traditional single-wire-per-channel (PWM) receivers a PPM encoder can be used to convert the receiver outputs to PPM-SUM. Information about compatible receivers and how they are connected can be found in this wiki page.