Archived:PX4 Wiring QuickStart

Warning

ARCHIVED

The PX4 is end of life and is not generally available for purchase. This article is made available for existing users.

This article provides an overview of the PX4FMU and PX4IO Board Plane Wiring/Installation.

PX4FMU plus PX4IO Wiring Diagram for Plane

../_images/ArduPlanePX4Wiring.jpg ../_images/PX4IOWiringPlane3.jpg

Assembly

  1. 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.
    1. 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.
  2. Solder the small white PAP-02-VS 2 pin connector into the 2 holes directly behind the battery pads on the PX4IO board.
  3. Install the PX4IO board on top of the PX4FMU board.
    1. Ensure all of the connector pins are straight and insertion is complete.
    2. Mount the PX4-FMU + PX4-IO board stack in a central and level location on top of your Plane.
    3. The PX4FMU board is normally on top.
    4. It can be advantageous to mount the PX4IO board on top to provide for better Connector access.
    5. 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.
    6. The arrow labeled “FRONT” should be facing to the front of the aircraft.
    7. The Micro SD memory card holder should face to the back of the Aircraft.
  4. Use the included standoffs and hardware.
    1. 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.
    2. Repeat the above for the remaining 3 holes.
    3. Connect the PX4FMU and PX4IO board insuring no pins are bent on the board interconnection connector.
    4. Thread 4 more of the black standoffs into the already installed black standoffs.
  5. You will need additional vibration damping and you should also review the Wiki section on vibration control.
    1. At a minimum you should mount the standoffs to an intermediate plate.
    2. Mount the plate to your airframe with 4 small (<1”)square pads of Kyosho “Zeal” gel or “Moon Gel” in the corners.
  6. Mount the GPS facing up with an unobstructed “view” of the sky.
    1. Connect the GPS cable to the GPS connector on the PX4FMU board.
    2. The GPS must be positioned so that it’s cable will connect without strain to the PX4FMU’s GPS connector.
    3. 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

  1. Wire the PX4-IO board.
    1. The PX4IO board has a built in Power Supply which can connect to up to 18 volts.
    2. 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.
    3. Battery Plus is the(red wire) and should be soldered to your battery red power lead / connector.
    4. Battery Ground is the(black wire) and should be soldered to your battery black battery (Ground) lead / connector.
    5. The main power inputs of your ESC’s will also need to connect to these wires and to a battery connector.
    6. A Power Distribution board can also be used.
  2. 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.
  3. Wire the PX4 boards servo out signals to your Servo / ESC control inputs.
    1. The ESCs BEC or a separate UBEC can supply servo power to the Servos via the PX4’s Servo connector BUSS
      1. 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.
      2. 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.
    2. The PX4IO board connector for Servo 1 is at the edge of the connector next to the Battery power in wires.
    3. Insert the Servo and Motor ESC signal wires arranged progressively from that edge, (1,2,3,4,etc).
    4. You can put the ESC / Servo Signal wires into a single inline connector with the correct number of pins for your Plane.
    5. 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.
  4. 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.
    1. 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.
    2. Plug the correct GPS cable’s white 6 pin connector into the 6 pin socket on the GPS.
    3. 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.
  5. 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.
  6. 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.

  1. You will need a SiK Radio.
  2. Plug the telemetry adapter cable’s large black connector into the SiK Radio as shown above.
  3. The telemetry radio is shown above incorrectly connected to the FMU USART2 socket at the corner of the PX4IO board.
    1. Correctly plug the telemetry adapter cable’s beige connector into the PX4IO boards FMU UART5 socket.
    2. FMU UART5 is the middle socket on the end of the PX4IO board as indicated by the red arrow above.
    3. (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

../_images/PX4io-bottom1.jpg
  1. Using a separate power supply to provide power to the center servo power pins of the PX4IO board.
    1. If you are driving high power servos with your PX4IO board you will want to provide servo power separately.
    2. In order to do this, remove the L1 Ferrite device circled in red on the image above.
    3. Then run power from your separate power supply to one of the center pins of the Servo Connector.
    4. 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).

Note

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.

../_images/FRSkyTaranis.jpg

FRSky Taranis Transmitter