-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add DroneerF405 hwdef #28846
base: master
Are you sure you want to change the base?
add DroneerF405 hwdef #28846
Conversation
I recommend these changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a README.md
Suggest the changes I outlined
OSCILLATOR_HZ 8000000 | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 1054 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ID is used. Please reserve an unused id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DroneerUAV to be clear, you need to make an entry in Tools/AP_Bootloader/board_types.txt
, reserving an ID for your board. You then you use either that numeric ID in here, or the board name you've used in board_types.txt
HAL_CHIBIOS_ARCH_F405 1 | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 1054 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This id is used - need another one
@andyp1per I have addressed the requested changes,Please review the updated PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
Tools/AP_Bootloader/board_types.txt
Outdated
@@ -413,6 +413,13 @@ AP_HW_ZeroOne_GNSS 5602 | |||
AP_HW_DroneBuild_G1 5700 | |||
AP_HW_DroneBuild_G2 5701 | |||
|
|||
#IDs 5700-5710 reserved for DroneBuild | |||
AP_HW_DroneBuild_G1 5700 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a dup of the two lines above please remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh sry,now that I've changed it,please review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in addition to changes listed, commits will need to be squashed and then split into one for Tools: add DronnerF405(for Tools library files)
and hwdef: add DroneerF405(for hwdef library files)
OSCILLATOR_HZ 8000000 | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 5800 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use text name
APJ_BOARD_ID 5800 | |
APJ_BOARD_ID AP_HW_DroneerF405 |
HAL_CHIBIOS_ARCH_F405 1 | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 5800 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
APJ_BOARD_ID 5800 | |
APJ_BOARD_ID AP_HW_DroneerF405 |
# USART3 | ||
PC10 USART3_TX USART3 NODMA | ||
PC11 USART3_RX USART3 NODMA | ||
define DEFAULT_SERIAL3_PROTOCOL SerialProtocol_ESCTelemetry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not match your wiring diagram or product info sheet
define DEFAULT_SERIAL3_PROTOCOL SerialProtocol_ESCTelemetry | |
define DEFAULT_SERIAL3_PROTOCOL SerialProtocol_None |
|
||
# UART5 | ||
PC12 UART5_TX UART5 NODMA | ||
PD2 UART5_RX UART5 NODMA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not match pinout or wiring diagram
PD2 UART5_RX UART5 NODMA | |
PD2 UART5_RX UART5 NODMA | |
define DEFAULT_SERIAL5_PROTOCOL SerialProtocol_ESCTelemetry |
## Features | ||
|
||
- STM32F405 microcontroller | ||
- MPU6000 IMU |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect
- MPU6000 IMU | |
- ICM42688-P IMU |
|
||
The Droneer F405 supports OSD using OSD_TYPE 1 (MAX7456 driver). | ||
|
||
## VTX Support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this secttion...no such connector exists
## PWM Output | ||
|
||
The Droneer F405 supports up to 9 PWM outputs. The pads for motor output | ||
M1 to M4 on the motor connector, plus M9 for LED strip or another |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
M1 to M4 on the motor connector, plus M9 for LED strip or another | |
M1 to M4 on the motor connector, plus M9(marked LED) for LED strip or another |
## Battery Monitoring | ||
|
||
The board has a internal voltage sensor and connections on the ESC connector for an external current sensor input. | ||
The voltage sensor can handle up to 6S. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The voltage sensor can handle up to 6S. | |
The voltage sensor can handle up to 8S. |
## Compass | ||
|
||
The Droneer F405 does not have a builtin compass, but you can attach an external compass using I2C on the SDA and SCL pads. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add this section:
## Firmware | |
Firmware for this board can be found here in sub-folders labeled “DroneerF405i”. | |
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*.apj firmware files. | |
\*.apj firmware files. |
Add DroneerF405 board from Droneer UAV