Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetaevvitaliy committed Dec 21, 2024
1 parent e8bc523 commit f2f335c
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 2 deletions.
90 changes: 90 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/StellarF4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# StellarF4 Flight Controller

https://stingbee.com.ua/flight_controllers/stellarf4


## Features
Processor
STM32F405
Sensors
ICM-42688p/BMI270 Acc/Gyro
DPS310/BMP280 barometer
AT7456E OSD
W25Q128 dataflash
Power
6S Lipo input voltage with voltage monitoring
12V, 3A BEC for powering Video Transmitter
5V, 2A BEC for internal and peripherals
Interfaces
9x PWM outputs DShot capable
6x UARTs
1x I2C
2x ADC
SPI flash for logging
USB-C port
LED
Red, 3.3V power indicator
Green, FC status
Size
41 x 41mm PCB with 30.5mm M3 mounting


## Overview

![StellarF4](StellarF4_V1.png)

## Wiring Diagram


## UART Mapping

The UARTs are marked Rx* and Tx* in the above pinouts. The Rx* pin is the
receive pin for UART*. The Tx* pin is the transmit pin for UART*.

- SERIAL0 -> USB
- SERIAL1 -> USART1 (User)
- SERIAL2 -> USART2 (Serial RC input)
- SERIAL3 -> USART3 (User)
- SERIAL4 -> UART4 (User)
- SERIAL5 -> USART3 (User)
- SERIAL6 -> USART6 (User)


## CAN and I2C

StellarF4 supports I2C bus
multiple I2C peripherals can be connected to one I2C bus in parallel.

## RC Input

RC input is configured on the UART2(SERIAL2). It supports all serial RC protocols. SERIAL2_PROTOCOL=23 by default.


## OSD Support

StellarF4 supports using its internal OSD using OSD_TYPE 1 (MAX7456 driver). External OSD support such as DJI or DisplayPort is supported using any spare UART. See :ref:`common-msp-osd-overview-4.2` for more info.

## PWM Output

StellarF4 supports up to 10 PWM outputs. All outputs support DShot.


## Battery Monitoring

The board has 1 built-in voltage dividers and 1x current ADC. support external 3.3V based current sensor


## Compass

StellarF4 does not have a built-in compass, but you can attach an external compass using I2C on the SDA and SCL pads.


## Loading Firmware
Firmware for these boards can be found at https://firmware.ardupilot.org in sub-folders labeled StellarH7V2.

Initial firmware load can be done with DFU by plugging in USB with the
boot button pressed. Then you should load the "ardu*_with_bl.hex" firmware, using your favourite DFU loading tool. eg STM32CubeProgrammer

Subsequently, you can update firmware with Mission Planner.


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/StellarF4/hwdef-bl.dat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
MCU STM32F4xx STM32F405xx

# board ID for firmware load
APJ_BOARD_ID 1500
APJ_BOARD_ID AP_HW_StellarF4

# crystal frequency
OSCILLATOR_HZ 8000000
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/StellarF4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MCU STM32F4xx STM32F405xx

# board ID for firmware load
APJ_BOARD_ID 1500
APJ_BOARD_ID AP_HW_StellarF4

# crystal frequency
OSCILLATOR_HZ 8000000
Expand Down

0 comments on commit f2f335c

Please sign in to comment.