Difference between revisions of "Xvert"

From PaparazziUAV
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 52: Line 52:


== Sensors ==
== Sensors ==
* 3-axes magnetometer (TODO)(*)
* 3-axes gyroscope (MPU 6500)
* 3-axes gyroscope (MPU 6500)
* 3-axes accelerometer (MPU 6500)
* 3-axes accelerometer (MPU 6500)
* Pressure Baro sensor (M.E.A.S 5607? TODO)
* Pressure Baro sensor (MEAS 5607)


==Processor ==
== Processor ==
STM32F373CCT6
STM32F373CCT6


==Motors ==
==Motors ==
* 2 BL280 2600Kv
* 2 BL280 2600Kv
==Servos ==
* 2 4 Gram Servo (SPMSA220)
* 2 4 Gram Servo (SPMSA220)
== Geo-location ==
* TODO (*)


== Dimensions ==
== Dimensions ==
Line 78: Line 76:
[[File:Xvertboardtop.png|thumb|Top view XVert board]]
[[File:Xvertboardtop.png|thumb|Top view XVert board]]
[[File:Xvertboardbottom.png|thumb|Top view XVert board]]
[[File:Xvertboardbottom.png|thumb|Top view XVert board]]


Extension UART port
Extension UART port
Line 86: Line 83:
vss
vss


Baro I2C
Baro / GPS / Magneto I2C port
pf6 I2C scl2
pf6 I2C scl2
pf7 I2C sda2
pf7 I2C sda2
Line 92: Line 89:
vss (corner)
vss (corner)


Servo 1
vss
vss
vdd
vdd
PA13 SWDIO
PA13 SWDIO


Servo 2
vss (corner)
vss (corner)
vdd
vdd
pa11
pa11


SWD connection to Black Magic Probe:
SWD connection to Black Magic Probe:
Line 112: Line 110:


escs
escs
ftdi orangje (TX) --> A10 (RX)  --> U10
ftdi orange (TX) --> A10 (RX)  --> U10
ftdi geel (RX) --> A9 (TX) --> TP15
ftdi yellow (RX) --> A9 (TX) --> TP15


I2CSDA1 A14 B7 B9
I2CSDA1 A14 B7 B9
I2CSCL1 A15 B6 B8
I2CSCL1 A15 B6 B8


Something analog  on pa5 and pa6?
Something analog  on pa5 and pa6?


The CYRF seems to be on spi.
The CYRF is connected to SPI.


== First time flash ==
== First time flash ==
The first time the xvert is flashed, some extra steps are required to delete the protected programming.  
The first time the xvert is flashed, some extra steps are required to delete the protected programming.  


Line 132: Line 130:
* attach 1
* attach 1
* mon option erase
* mon option erase
* load /home/houjebek/paparazzi/var/aircrafts/aaf3d/ap/ap.elf
* load /home/$USER/paparazzi/var/aircrafts/aaf3d/ap/ap.elf
 


== GPS ==


Per default no GPS but one an be added e.g. over I2C bus. A combined Magneto GPS module is a simple way to also add a magnetometer in the same modification run


== Other ==
== Other ==

Latest revision as of 14:46, 12 March 2019

XVert


Introduction

By default the XVert from Horrizon Hobby is a two-prop hybrid VTOL fixed wing, designed to be controlled with DSMX RC. It features a STM32F3 board, which can be reprogrammed with Paparazzi through SWD. A GPS, magneto en datalink can be added by using the expansion ports on this board so that autonomous flight can be achieved.

Getting started

What you need

  1. An XVert EFL1800
  2. The Hobbyking Joystick
  3. A Black Magic Probe (BMP) or similar SWD programmer
  4. A GPS + magneto
  5. An XBee datalink
  6. A laptop with Ubuntu and paparazzi installed

Steps to follow:

  1. Upgrade the XVert with the XBee and GPS
  2. Install Paparazzi via the one liner to be found here. Just Cut 'n Paste (CTRL+C from webbrowser then CTRL+SHIFT+V in your Linux terminal) and press ENTER
  3. Start Paparazzi Center with the TUDelft configuration
  4. In the Paparazzi center choose "Xvert" in the airframe dropdown menu
  5. Power up the XVert
  6. Connect the SWD pins of the BMP as shown in the image TODO
  7. Press the "Upload" button in the Paparazzi Center, wait...
  8. Plug in the XBee to the laptop
  9. Select Hobbyking in the session menu
  10. Press execute
  11. Select FlightUSB0 in the session menu
  12. Press execute again

Voila, you should get telemetry from your XVert. Now it is up to you how and where to fly.

Features

Hardware that has to be added manually is marked with an (*).

Connectivity

  • CYRF DSMX RC radio chip (not yet supported)
  • XBee datalink(*)

Structure

  • 2 Brushless Outrunner motors
  • EPO foam wing
  • Two elerons

Battery

  • Lithium Polymer 2S 800 mAh
  • Flight time: ?

Sensors

  • 3-axes gyroscope (MPU 6500)
  • 3-axes accelerometer (MPU 6500)
  • Pressure Baro sensor (MEAS 5607)

Processor

STM32F373CCT6

Motors

  • 2 BL280 2600Kv

Servos

  • 2 4 Gram Servo (SPMSA220)

Dimensions

  • TODO

Weight

  • Without TODO
  • With add-ons TODO

Pinout

Top view XVert board
Top view XVert board

Extension UART port pa3 (corner) UART2RX pa2 UART2TX vdd vss

Baro / GPS / Magneto I2C port pf6 I2C scl2 pf7 I2C sda2 vdd vss (corner)

Servo 1 vss vdd PA13 SWDIO

Servo 2 vss (corner) vdd pa11

SWD connection to Black Magic Probe:


|-----PA13 (SWDIO) -> TP17


|-----gnd


|-----pa14 (swclk) -> TP12


|-----Not connected (trace)

I2C IMU MPU6500: pb6 pb7

escs ftdi orange (TX) --> A10 (RX) --> U10 ftdi yellow (RX) --> A9 (TX) --> TP15

I2CSDA1 A14 B7 B9 I2CSCL1 A15 B6 B8

Something analog on pa5 and pa6?

The CYRF is connected to SPI.

First time flash

The first time the xvert is flashed, some extra steps are required to delete the protected programming.

Black magic probe steps:

  • target extended-remote /dev/ttyACM0
  • monitor tpwr enable
  • monitor swdp_scan
  • attach 1
  • mon option erase
  • load /home/$USER/paparazzi/var/aircrafts/aaf3d/ap/ap.elf

GPS

Per default no GPS but one an be added e.g. over I2C bus. A combined Magneto GPS module is a simple way to also add a magnetometer in the same modification run

Other

Actuators