Skip to content

Commit

Permalink
AP_HAL_ChibiOS:added PixPilot-V6PRO
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefenghao committed Jul 17, 2024
1 parent 0f2413d commit 2238dc5
Show file tree
Hide file tree
Showing 5 changed files with 697 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
352 changes: 352 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/PixPilot-V6PRO/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,352 @@
## PixPilot-V6PRO Flight Controller

The PixPilot-V6PRO flight controller is sold by a range of resellers listed on the makeflyeasy(http://www.makeflyeasy.com)

## Features

• STM32H743VIT6 and STM32F103C8T6 microcontroller

• Three IMUs, two ICM42688-P(SPI), one ICM40605(SPI)

• internal heater for IMUs temperature control

• internal Soft Rubber Damping Ball isolation for All interna IMUs

• Two barometers, BMP388(SPI)

• builtin RAMTRON(SPI)

• microSD card slot

• 5 UARTs

• USB(Type-C)

• PPM & S.Bus input

• 16 PWM outputs

• tow I2C ports and two FDCAN ports

• one S.Bus output

• internal Buzzer

• builtin RGB LED

• two voltage & current monitoring

• servo rail BEC independent power input for servos

• external safety Switch


## Picture

![PixPilot-V6PRO](PixPilot-V6Pro-1.png "PixPilot-V6Pro-1")
![PixPilot-V6PRO](PixPilot-V6Pro-2.png "PixPilot-V6Pro-2")

## Pinout

UART Mapping
============

- SERIAL0 -> console (primary mavlink, usually USB)
- SERIAL1 -> USART2 (telem1)
- SERIAL2 -> USART3 (Telem2)
- SERIAL3 -> UART4 (GPS1)
- SERIAL4 -> UART8 (GPS2)
- SERIAL5 -> UART7 (USER)

Connector pin assignments
=========================

TELEM1, TELEM2 ports
--------------------

<table border="1" class="docutils">
<tbody>
<tr>
<th>Pin</th>
<th>Signal</th>
<th>Volt</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>TX (OUT)</td>
<td>+3.3V</td>
</tr>
<tr>
<td>3</td>
<td>RX (IN)</td>
<td>+3.3V</td>
</tr>
<tr>
<td>4</td>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>

I2C1, I2C2 ports
---------------

<table border="1" class="docutils">
<tbody>
<tr>
<th>PIN</th>
<th>SIGNAL</th>
<th>VOLT</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>SCL</td>
<td>+3.3V</td>
</tr>
<tr>
<td>3</td>
<td>SDA</td>
<td>+3.3V</td>
</tr>
<tr>
<td>4</td>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>

CAN1, CAN2 ports
---------------

<table border="1" class="docutils">
<tbody>
<tr>
<th>PIN</th>
<th>SIGNAL</th>
<th>VOLT</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>CAN_H</td>
<td>+12V</td>
</tr>
<tr>
<td>3</td>
<td>CAN_L</td>
<td>+12V</td>
</tr>
<tr>
<td>4</td>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>

Safety and buzzer port
-----------

<table border="1" class="docutils">
<tbody>
<tr>
<th>PIN</th>
<th>SIGNAL</th>
<th>VOLT</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>LED</td>
<td>+5V</td>
</tr>
<tr>
<td>3</td>
<td>SAFKEY</td>
<td>+5V</td>
</tr>
</tbody>
</table>

GPS1/I2C1, GPS2/I2C2 ports
--------------------------


<table border="1" class="docutils">
<tbody>
<tr>
<th>PIN</th>
<th>SIGNAL</th>
<th>VOLT</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>TX</td>
<td>+3.3V</td>
</tr>
<tr>
<td>3</td>
<td>RX</td>
<td>+3.3V</td>
</tr>
<tr>
<td>4</td>
<td>SCL</td>
<td>+3.3V</td>
</tr>
<tr>
<td>5</td>
<td>SDA</td>
<td>+3.3V</td>
</tr>
<tr>
<td>6</td>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>

Serial5 port
--------------------

<table border="1" class="docutils">
<tbody>
<tr>
<th>Pin</th>
<th>Signal</th>
<th>Volt</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>TX (OUT)</td>
<td>+3.3V</td>
</tr>
<tr>
<td>3</td>
<td>RX (IN)</td>
<td>+3.3V</td>
</tr>
<tr>
<td>4</td>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>
Power1, Power2 ports
--------------------

<table border="1" class="docutils">
<tbody>
<tr>
<th>PIN</th>
<th>SIGNAL</th>
<th>VOLT</th>
</tr>
<tr>
<td>1</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>2</td>
<td>VCC</td>
<td>+5V</td>
</tr>
<tr>
<td>3</td>
<td>CURRENT</td>
<td>+3.3V</td>
</tr>
<tr>
<td>4</td>
<td>VOLTAGE</td>
<td>+3.3V</td>
</tr>
<tr>
<td>5</td>
<td>GND</td>
<td>GND</td>
</tr>
<tr>
<td>6</td>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>

RC Input
--------

All compatible RC protocols can be decoded by attaching the Receiver's output to the SBUS input pin next to the Servo/Output VCC input connector. Note that some protocols such as CRSF or FPort including telemetry, require connection to, and setup of, one of the UARTs instead of this pin.

Battery Monitor Settings
========================

These should already be set by default. However, if lost or changed:

Enable Battery monitor with these parameter settings :

:ref:`BATT_MONITOR<BATT_MONITOR>` =4

Then reboot.

:ref:`BATT_VOLT_PIN<BATT_VOLT_PIN>` 14

:ref:`BATT_CURR_PIN<BATT_CURR_PIN>` 15

:ref:`BATT_VOLT_MULT<BATT_VOLT_MULT>` 18.0

:ref:`BATT_AMP_PERVLT<BATT_AMP_PERVLT>` 24.0

:ref:`BATT2_VOLT_PIN<BATT2_VOLT_PIN>` 13

:ref:`BATT2_CURR_PIN<BATT2_CURR_PIN>` 4

:ref:`BATT2_VOLT_MULT<BATT2_VOLT_MULT>` 18.0

:ref:`BATT2_AMP_PERVLT<BATT2_AMP_PERVLT>` 24.0

DroneCAN capability
===================
There are 4 CAN ports which allow connecting two independant CAN bus outputs. Each of these can have multiple CAN peripheral devices connected. There are also two separate CAN POWER ports for easy access to CAN-PMU.

Where to Buy
============

`makeflyeasy <http://www.makeflyeasy.com>`_


[copywiki destination="plane,copter,rover,blimp"]
Loading

0 comments on commit 2238dc5

Please sign in to comment.