Skip to content

Commit

Permalink
4.7:AeroFoxH7
Browse files Browse the repository at this point in the history
  • Loading branch information
Hwurzburg committed Dec 16, 2024
1 parent d4c8b9c commit 80cbea7
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 0 deletions.
128 changes: 128 additions & 0 deletions common/source/docs/common-aerofox-h7.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
.. _common-aerofox-h7:

============================
AEROFOX-H7 Flight Controller
============================

The AEROFOX-H7 is a flight controller produced by `AEROFOX <http://aero-fox.com>`__

.. image:: ../../../images/AEROFOX-H7_IMG.png
:target: ../_images/AEROFOX-H7_IMG.png

Features
========

.. code-block::
Processor
STM32H743
Sensors
ADIS16470 (appears in the advanced version)
ICM45686 (appears in the advanced version)
ICM42688
QMC5883L
SPL06-001
Power
2S-12S (MAX60V) Lipo input voltage
5V BEC for system power supply( 5V peripheral current limit 1.2A)
5V/12V BEC for VTX( Current limit 2.5A, need strong heat dissipation)
Dual power automatic switching and condition monitoring
Interfaces
16x PWM output
7x UARTs for RC, TELEM, GPS and other peripherals
2x I2C ports for external compass, airspeed, baro
2x CAN port
4x Relay output
4x ADC input
FPC connector
The connector includes an SPI, an I2C, an PWM IMU heating control pin.
Pinout
======

.. image:: ../../../images/AEROFOX-H7_pinout.png
:target: ../_iamges/AEROFOX-H7_pinout.png

UART Mapping
============
All UARTs, except UART1, are DMA enabled. UART corresponding to each SERIAL port, and its default protocol, are shown below:

* SERIAL0 -> USB (MAVLink2)
* SERIAL1 -> UART7 (ESC Telemetry)
* SERIAL2 -> UART4 (User configured)
* SERIAL3 -> UART5 (User configured)
* SERIAL4 -> USART2 (User configured)
* SERIAL5 -> USART1 (GPS)
* SERIAL6 -> UART8 (RCIN)
* SERIAL7 -> USART3 (MAVLink2)

Any UART may be re-tasked by changing its protocol parameter.

RC Input
========
RC input is configured on the RX6 (UART6_RX) pin. It supports all RC protocols except PPM. See :ref:`Radio Control Systems <common-rc-systems>` for details for a specific RC system. :ref:`SERIAL6_PROTOCOL<SERIAL6_PROTOCOL>` is set to “23”, by default, to enable this.

- SBUS/DSM/SRXL connects to the RX6 pin.
- FPort requires connection to TX6 and :ref:`SERIAL6_OPTIONS<SERIAL6_OPTIONS>` be set to “7”.
- CRSF also requires a TX6 connection, in addition to R6, and automatically provides telemetry. Set :ref:`SERIAL6_OPTIONS<SERIAL6_OPTIONS>`
- SRXL2 requires a connecton to TX6 and automatically provides telemetry. Set :ref:`SERIAL6_OPTIONS<SERIAL6_OPTIONS>` to “4”.


PWM Output
==========
The AEROFOXH7 support up to 16PWM outputs. All pins also support DShot. Outputs 1-8 support Bi-Directional DShot.

The 16 PWM outputs are in 9 groups:

* PWM 1,2 in group1
* PWM 3,4 in group2
* PWM 5,6 in group3
* PWM 7,8 in group4
* PWM 9,10 in group5
* PWM 11 in group6
* PWM 12 in group7
* PWM 13,14 in group8
* PWM 15,16 in group9

Channels within the same group need to use the same output rate. If any channel in a group uses DShot, then all channels in that group need to use DShot.

Battery Monitoring
==================

The board has a built-in voltage and current sensor. The voltage sensor can handle up
to 12S LiPo batteries.An additional external power monitor can also be added.

Internal Power Monitor
----------------------
It is enabled by default and has the following parameters set by default:s


* :ref:`BATT_MONITOR<BATT_MONITOR>` = 4
* :ref:`BATT_VOLT_PIN<BATT_VOLT_PIN__AP_BattMonitor_Analog>` = 19
* :ref:`BATT_CURR_PIN<BATT_CURR_PIN__AP_BattMonitor_Analog>` = 9
* :ref:`BATT_VOLT_MULT<BATT_VOLT_MULT__AP_BattMonitor_Analog>` = 21
* :ref:`BATT_AMP_PERVLT<BATT_AMP_PERVLT__AP_BattMonitor_Analog>` = 40

PowerB
------
An additional power monitor input is provided and can be enabled by setting:

* :ref:`BATT2_MONITOR<BATT2_MONITOR>` = 4, then reboot and set the following:
* :ref:`BATT2_VOLT_PIN<BATT2_VOLT_PIN__AP_BattMonitor_Analog>` = 10
* :ref:`BATT2_CURR_PIN<BATT2_CURR_PIN__AP_BattMonitor_Analog>` = 11
* :ref:`BATT2_VOLT_MULT<BATT2_VOLT_MULT__AP_BattMonitor_Analog>` = 34
* :ref:`BATT2_AMP_PERVLT<BATT2_AMP_PERVLT__AP_BattMonitor_Analog>` should be set as required by the specific monitor used

Compass
=======
A 5883L compass is installed inside the H7 flight control. When high current devices such as ESC and BEC are installed under the flight control board, the on-board compass is often disabled and an external compass used mounted to minimize motor current effects.

Loading Firmware
================
The board comes pre-installed with an ArduPilot compatible bootloader, allowing the
loading of \*.apj firmware files with any ArduPilot compatible ground station.
1 change: 1 addition & 0 deletions common/source/docs/common-autopilots.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Closed Hardware
:maxdepth: 1

3DR Control Zero H7 OEM <common-3DR_Control_Zero_OEM_G>
AeroFox H7 <common-aerofox-h7>
Aerotenna Ocpoc-Zynq <https://aerotenna.com/shop/ocpoc-zynq-mini/>
Airvolute DroneCore <common-airvolute-DroneCore-Suite>
AnyleafH7 <common-anyleafh7>
Expand Down
Binary file added images/AEROFOX-H7_IMG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/AEROFOX-H7_pinout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80cbea7

Please sign in to comment.