Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
fd3367417This file is pinned to the selected release. Download the original to open it in your design tool.
# CUSTOM FlightController-H743
The repo contains flight controller target files, PCB Gerber files, and the schematic.
## NOTE the spi lines length has a mismach that needs to be corrected
## FC notes
Nickel-H473 is inspired from MAMBAH743_V4 FC
However custom pin can be used unless their usage is not compromised , STM programmer IDE can be a great help in case assigning pins.
## FIRMWARE SETUP
ARDUPILOT : **https://github.com/ArduPilot/ardupilot**
Target Files :`libraries/AP_HAL_ChibiOS/hwdef/`
Environment setup : https://ardupilot.org/dev/docs/building-the-code.html
Build cmd :
```bash
./waf distclean
./Tools/scripts/build_bootloaders.py Nickel407 # Builds bootloader (outputs to Tools/bootloaders/)
./waf configure --board FlyingMoon407
./waf plane
```
bin/hex file are stored in build directory
It is recommended to go through ardupilot documentation First
## Target Files
There are two primary target files ` hwdef-bl.dat (responsible for building bootloader)
hwdef.dat (for main firmware)`
Checkout this HW files for reference example : https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_HAL_ChibiOS/hwdef/fmuv3
## Schematic & PCB
Check schematic folder
The pcb is 2 layer 47 * 60 mm
<p align="center">
<img src="doc/schematic_v1.0.png" alt="schematic photo flightcontroller H473" width="95%">
</p>
<p align="center">
<img src="doc/pcb_front_v1.0.png" alt="pcb_front_v1.0 H473" width="45%" style="margin-right: 30px;">
<img src="doc/pcb_back_v1.0.png" alt="pcb_back_v1.0 H473" width="45%">
</p>
## STM programmer IDE
- Pin Selection :

- For clocks use 8,16,24,32 MHz crystal (odd multiples causes issues)



## end of file