UAV Mapper Pixhawk Configuration Guide

Overview

Do each of the steps below in sequence to configure your Pixhawk, RC transmitter and servos.


Install Mission Planner on your PC

Mission Planner is the ground control station and configuration utility for your UAV Mapper. It is compatible with Windows only.

  1. Download and install the latest version of Mission Planner.

Note: Complete Mission Planner documentation here.


Install Arduplane 3.8.X firmware on your Pixhawk

Pixhawk USB Connection
  1. Connect your Pixhawk to your PC using a Micro USB cable.
  2. Start Mission Planner and select your Pixhawk from the drop down list. Do not press the Connect button.
  3. Select INITIAL SETUP > Install Firmware.
  4. Select Arduplane and follow the onscreen instructions to complete the firmware installation.

Copy the UAV Mapper parameter file to your Pixhawk

  1. Download the UAV Mapper Pixhawk parameter file. [Requires Arduplane 3.8.x]. If it opens as a text file then Right-click > Save as > UAV_Mapper.param. (Delete the .txt extension).
  2. Connect in Mission Planner and go to CONFIG/TUNING > Full Parameter Tree.
  3. Select  Load From File and open UAV_Mapper.param.
  4. Select Write Params to copy the parameters to your Pixhawk.

Calibrate your accelerometer

Follow these steps to calibrate your accelerometer: http://plane.ardupilot.com/wiki/common-accelerometer-calibration/


Calibrate your compass

Follow these steps to calibrate your compass: http://plane.ardupilot.com/wiki/common-compass-calibration-in-mission-planner/


Configure your RC transmitter

Taranis X7 with L9R receiver

  1. Use servo cables to connect:
    • SBUS on L9R to RC IN on Pixhawk.
    • RSSI on L9R to SB on Pixhawk.
  2. Download the UAV Mapper Taranis model file. Copy the file to ../MODELS/ folder on a MicroSD card and insert it into your X7 MicroSD card slot.
  3. Power up your X7 and press the Menu button.
  4. Navigate to MODELSEL and use the right Scroll-Wheel button to select an empty model.
  5. Press the right Scroll-Wheel button and select Restore model.
  6. Then select UAV Mapper.
  7. Press the Page button until you reach the SETUP page. Select LR12 for Mode.
  8. Select Bnd to bind your X7 transmitter to your L9R receiver.
  9. Power your L9R receiver while pressing the F/S button. The LED will flash green.
  10. Then press right scroll wheel to confirm the bind.
  11. Set Receiver Failsafe
    Important: You must set RC receiver failsafe to No pulses on lost signal. Failure to do so will cause the RC receiver to hold the last position before signal was lost - which may cause a dangerous fly-away or crash. Do the following to set "no pulse on lost signal:

  12. Turn off your Taranis RC transmitter then power your L9R receiver.
  13. Quickly press the F/S button on your L9R. The LED will flash green.
  14. Use Mission Planner > Initial Setup > to verify you have properly set No Pulse failsafe on your L9R.
  15. With RC Transmitter on you will Radio 1 and 2 with values near 1500.
  16. Turn off your RC transmitter. Values must drop to 0 [No Pulses].
  17. Configure RSSI
    The L9R outputs Received Signal Strength Indicator (RSSI) that can be input into the Pixhawk and displayed on the Mission Planner HUD screen.

  18. Go to Mission Planner > Config >Tuning > Full Parameter Tree and set:
    • RSSI_ANA_PIN to 103
    • RSSI_PIN_HIGH to 3.3
    • RSSI_TYPE to 1
  19. Start Mission Planner and right-click on the HUD > User Items > check rxrssi to display your L9R receiver signal strength.

Bind and connect your Spektrum satellite receiver

Your Spektrum transmitter communicates to the Pixhawk with a Spektrum satellite receiver. You must first "pre-bind" the satellite using a Spektrum receiver before you can plug the satellite into your Pixhawk.

  1. Connect your satellite receiver, bind plug, and 5 volt power to your Spektrum receiver.
  2. Hold down the bind button on your Spektrum transmitter and turn it on.
  3. Wait for the bind process to complete and remove the satellite receiver from the Spektrum receiver.
  4. Plug your bound satellite into the SPK/DSM port on your Pixhawk.

Configure your Spektrum DX 6, 7, or 8 RC transmitter

Create a new model with NORMAL wing type in your transmitter

Elevon mixing is handled by the Pixhawk. Create a new model with NORMAL wing type (no elevon, aileron, or flapperon mixing).

  1. Press the Scroll Wheel and turn on your transmitter.
  2. Select Model Select and choose a new Acro model. New Acro models use NORMAL wing type by default.
  3. Click the Back button twice to exit system setup.

Set RC transmitter servo direction

  1. Power up your RC transmitter.
  2. Hold the Scroll wheel and select Servo Setup.
  3. Scroll to Reverse.
  4. Scroll to Aileron and Elevator and change them to Reverse.
  5. Press the Back button to exit.

Set the Flight Mode switch

  1. Hold down the Scroll wheel and turn on your transmitter.
  2. Select Channel Assign.
  3. Scroll to and select NEXT on the RX Port Assignment page.
  4. On the Channel Input Config page scroll to 7 AUX2 and change it to D.
  5. Click the Back button twice to exit system setup.
  6. You have now assigned the D Switch to channel 7. You will configure your Pixhawk to change flight modes using your D Switch.

Configure your Spektrum DXe RC Transmitter

The Spektrum DXe requires a special programming cable and software to configure.

  1. Download and install the Spektrum DXe programming software and connect to your RC transmitter.

  2. Set Wing type to Normal.
  3. Set Transmitter Channels to 9.
  4. The 3 position Flap/Gyro switch will be your Flight Mode switch.

  5. Reverse Aileron and Elevator.

  6. Set Exponential to Off.

  7. Inhibit Throttle Disarm.

Center your servos

  1. Set flight mode to Manual and ARM your UAV Mapper. [Remove propeller]
  2. Center RC transmitter trims.

  3. Important:
    You do not ever need to "Trim" your UAV Mapper. Just get the elevons close to centered and the Pixhawk will automatically keep the UAV Mapper flying level. Adding trim will make the Pixhawk think you're trying to "nudge" it and cause it to fly off course.
  4. Remove the servo arms from the servos and position them so they are at a right angle from the control rod. The servo arms are not centered on the splines. You can rotate them to achieve a near perfect right angle from the pushrod. Add blue thread lock to servo arm screw and tighten.
  5.  
  6. Widen the center hole in the servo arm with a 1/16" drill bit. Install the pushrod as shown.
  7. Raise the elevons 1/8" up from relaxed position (as cut from the foam) and tighten brass quick connect hex screw.
    Important: Use thread lock on the servo arm screw.

Calibrate your RC transmitter

Your Pixhawk uses the same servo throw distance you have programmed in your RC transmitter. You must perform a Radio Calibration so your Pixhawk will have those settings.

  1. Remove your propeller and power up your UAV Mapper.
  2. Start Mission Planner and connect.
  3. Go to INITIAL SETUP > Mandatory Hardware > Radio Calibration.
  4. Select the Calibrate Radio button.
  5. Set Pitch and Roll (right stick) trims to center.
  6. Set throttle trim to low.
  7. Move sticks in all corners then return sticks to center. Your values should be with in 50 of the following:
    • Pitch and Roll Low: 1100
    • Pitch and Roll Center: 1500
    • Pitch and Roll High: 1900
    • Throttle high: 1900
    • Throttle Low: 1000

The values above are standard RC servo 100% travel. If necessary use your RC transmitter's End Point Adjustment to reduce or increase the PWM values.

Note: Do not use your RC transmitter's trim button after performing a Radio Calibration. This changes the "center" stick position and the Pixhawk will think your trying to "nudge" the plane. This will result it flight lines offset from waypoints, roll turning during take off, and other undesirable behavior.

Errata, kudos, brian.christal@gmail.com

Continue to UAV Mapper User's Guide >>