Skip to content

Commit 3faa578

Browse files
committed
AP_HAL_ChibiOS: Add hwdef files for AET-H743-Basic
1 parent 900848c commit 3faa578

File tree

7 files changed

+397
-0
lines changed

7 files changed

+397
-0
lines changed
372 KB
Loading
426 KB
Loading
154 KB
Loading
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# AET-H743-Basic Flight Controller
2+
3+
The AET-H743-Basic is a flight controller designed and produced by AeroEggTech
4+
5+
## Features
6+
7+
- STM32H743 microcontroller
8+
- Dual ICM42688P IMUs
9+
- 13 PWM / Dshot outputs
10+
- 8 UARTs, one with CTS/RTS flow control pins
11+
- 1 CAN
12+
- Dedicated USB board
13+
- DPS310 or SPL06 barometer
14+
- 5V/6V/7V 10A Servo rail BEC
15+
- 9V 2A BEC for VTX, GPIO controlled
16+
- 5V 4A BEC
17+
- MicroSD Card Slot
18+
- 2-way camera input
19+
- AT7456E OSD
20+
- 2 I2Cs
21+
22+
## Physical
23+
24+
![AET-H743-Basic overview](AET-H743-Basic_overview.jpg)
25+
26+
![AET-H743-Basic core board](AET-H743-Basic_core_board.png)
27+
28+
![AET-H743-Basic power board](AET-H743-Basic_power_board.png)
29+
30+
31+
## Mechanical
32+
33+
- Dimensions: 36 x 47 x 17 mm
34+
- Weight: 45g
35+
36+
37+
## Power supply
38+
39+
The AET-H743-Basic supports 2-6s Li battery input. It has 3 ways of BEC, which result in 6 ways of power supplys. Please see the table below.
40+
41+
| Power symbol | Power source | Max power (current) |
42+
|--------------|--------------|---------------------|
43+
| 5V | from 5V BEC | 20W (4A) |
44+
| 9V | from 9V BEC | 18W (2A) |
45+
| 9Vsw | from 9V BEC, controlled by MCU with an NPN MOS | 10W (1A) |
46+
| 4V5 | from USB or 5V BEC, with a diode | 5W (1A) |
47+
| VX | from Servo rail VX BEC, default 5V, can be changed to 6V or 7V | 50W (10A) |
48+
| BAT | directly from battery | (5A) |
49+
50+
51+
## Loading Firmware
52+
53+
Initial firmware load can be done with DFU by plugging in USB with the bootloader button pressed. Then you should load the "with_bl.hex" firmware, using your favorite DFU loading tool, such as Mission Planner.
54+
55+
Once the initial firmware is loaded you can update the firmware using any ArduPilot ground station software. Updates should be done with the "\*.apj" firmware files.
56+
57+
## UART Mapping
58+
59+
- SERIAL0 -> USB
60+
- SERIAL1 -> UART1 (MAVLink2)
61+
- SERIAL2 -> UART2 (GPS)
62+
- SERIAL3 -> UART3 (MAVLink2)
63+
- SERIAL4 -> UART4 (GPS2, RX4 is also available as ESC telem if protocol is changed for this UART)
64+
- SERIAL5 -> USB (SLCAN)
65+
- SERIAL6 -> UART6 (RCIN)
66+
- SERIAL7 -> UART7 (MAVLink2, Integrated Bluetooth module)
67+
- SERIAL8 -> UART8 (User)
68+
69+
70+
## RC Input
71+
72+
The default RC input is configured on the UART6 and supports all RC protocols except PPM. The SBUS pin is inverted and connected to RX6. RC can be attached to any UART port as long as the serial port protocol is set to `SERIALn_PROTOCOL=23` and SERIAL6_Protocol is changed to something other than '23'.
73+
74+
75+
## OSD Support
76+
77+
The AET-H743-Basic supports onboard analog SD OSD using a AT7456 chip. The analog VTX should connect to the VTX pin.
78+
79+
80+
## PWM Output
81+
82+
The AET-H743-Basic supports up to 13 PWM outputs.
83+
84+
All the channels support DShot.
85+
86+
Outputs are grouped and every output within a group must use the same output protocol:
87+
88+
1, 2 are Group 1;
89+
90+
3, 4, 5, 6 are Group 2;
91+
92+
7, 8, 9, 10 are Group 3;
93+
94+
11, 12 are Group 4;
95+
96+
13(LED) is Group 5;
97+
98+
Output 13 can be used as LED neopixel output;
99+
100+
## Battery Monitoring
101+
102+
The board has two internal voltage sensors and one integrated current sensor, and a second external current sensor input.
103+
104+
The voltage sensors can handle up to 6S LiPo batteries.
105+
106+
The first voltage/current sensor is enabled by default and the pin inputs for the second, unenabled sensor are also set by default:
107+
* BATT_MONITOR 4
108+
* BATT_VOLT_PIN 10
109+
* BATT_CURR_PIN 11
110+
* BATT_VOLT_MULT 11
111+
* BATT_CURR_SCALE 40
112+
* BATT2_VOLT_PIN 18
113+
* BATT2_CURR_PIN 7
114+
* BATT2_VOLT_MULT 11
115+
116+
## Compass
117+
118+
The AET-H743-Basic has no built-in compass, so if needed, you should use an external compass.
119+
120+
## Analog cameras
121+
122+
The AET-H743-Basic supports up to 2 cameras, connected to pin CAM1 and CAM2. You can select the video signal to VTX from camera by an RC channel. Set the parameters below:
123+
124+
- RELAY2_FUNCTION = 1
125+
- RELAY_PIN2 = 82
126+
- RC8_OPTION = 34
127+
128+
## 9V switch
129+
130+
The 9Vsw power supply can be controlled by an RC channel. Set the parameters below:
131+
132+
- RELAY1_FUNCTION = 1
133+
- RELAY_PIN = 81
134+
- RC7_OPTION = 28
135+
136+
## Bluetooth
137+
138+
The AET-H743-Basic support both legacy bluetooth SPP and BLE serial. The bluetooth uses UART7 as serial port. Search for `AET-H743-SPP` or `AET-H743-BLE` to connect.
139+
140+
Note: you should connect a battery to the board so the bluetooth module can work.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# setup for LEDs on chan13
2+
SERVO13_FUNCTION 120
3+
NTF_LED_TYPES 257
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# hw definition file for processing by chibios_pins.py
2+
# for AET H743-Basic bootloader
3+
4+
# MCU class and specific type
5+
MCU STM32H7xx STM32H743xx
6+
7+
# board ID for firmware load
8+
APJ_BOARD_ID AP_HW_AET-H743-Basic
9+
10+
# crystal frequency, setup to use external oscillator
11+
OSCILLATOR_HZ 8000000
12+
13+
FLASH_SIZE_KB 2048
14+
15+
# bootloader starts at zero offset
16+
FLASH_RESERVE_START_KB 0
17+
18+
# the location where the bootloader will put the firmware
19+
# the H743 has 128k sectors
20+
FLASH_BOOTLOADER_LOAD_KB 128
21+
22+
23+
# order of UARTs (and USB). Allow bootloading on USB and telem1
24+
SERIAL_ORDER OTG1 UART7
25+
26+
# UART7 (telem1)
27+
PE7 UART7_RX UART7 NODMA
28+
PE8 UART7_TX UART7 NODMA
29+
30+
# PA10 IO-debug-console
31+
PA11 OTG_FS_DM OTG1
32+
PA12 OTG_FS_DP OTG1
33+
34+
PA13 JTMS-SWDIO SWD
35+
PA14 JTCK-SWCLK SWD
36+
37+
# make sure Vsw is on during bootloader
38+
PD10 PINIO1 OUTPUT LOW
39+
40+
PE3 LED_BOOTLOADER OUTPUT LOW
41+
define HAL_LED_ON 0
42+
43+
# Add CS pins to ensure they are high in bootloader
44+
PC15 IMU1_CS CS
45+
PB12 MAX7456_CS CS
46+
PE11 IMU2_CS CS
47+
PD4 EXT_CS1 CS
48+
PE2 EXT_CS2 CS
49+
PC13 IMU3_CS CS

0 commit comments

Comments
 (0)