N5JLD dot NET

What I do in my Spare Time

User Tools

Site Tools


drone:fleet:cli

UAS-01 (Apex-5) — CLI Diff & Configuration Backup

← Back to Active Fleet Overview

This page stores the verified firmware configuration, port mappings, PID/filter tuning parameters, and recovery backups for UAS-01 (Apex-5).

Flashing & Restore Warning: Never paste a diff all backup from a different firmware version (e.g., Betaflight 4.4 into 4.5) or different flight controller target without reviewing every line. Motor resource remapping and DShot settings must be verified with propellers removed on the bench.

1. Firmware & Hardware Metadata

Parameter Current Value Notes
Aircraft Callsign UAS-01 (Apex-5) 5“ True-X Freestyle / Chase
Firmware & Version Betaflight 4.5.1 (STM32F7X2) Release Build (2026-08-14)
FC Board Target SPEEDYBEEF7V3 (Example Target) Soft-mounted on M3 silicone gummies
ESC Firmware BLHeli_32 / AM32 v2.16 Bidirectional DShot600 • 48kHz PWM
Receiver Protocol ExpressLRS 2.4GHz (CRSF) 500Hz Packet Rate • Model Match ID: 01
Last Verified Backup 2026-11-18 Flight-tested and Blackbox verified

2. UART Port & Peripheral Mapping

Documenting physical UART assignments prevents guesswork when rebuilding or updating firmware.

UART Port Connected Peripheral Configurator Setting Notes
USB VCP PC Configurator / Blackbox MSP (115200) Do not disable.
UART 1 DJI O4 / O3 Air Unit MSP + DisplayPort OSD Canvas: HD (50×18).
UART 2 ExpressLRS 2.4GHz RX Serial RX Inverted: OFF • Half-Duplex: OFF.
UART 3 Unused / Spare — Reserved for GPS rescue module.
UART 6 ESC Telemetry ESC Sensor Current meter calibrated (Scale: 185).

3. Active CLI Diff Backup (''diff all'')

How to update: Connect to Betaflight Configurator → CLI Tab → type diff all → click Save to File or copy-paste below.

uas01_bf451_diff_all.txt
# version
# Betaflight / STM32F7X2 (S7X2) 4.5.1
 
# start the command batch
batch start
 
# reset configuration to default settings
defaults nosave
 
board_name SPEEDYBEEF7V3
manufacturer_id SPBE
 
# feature
feature -AIRMODE
feature OSD
feature ESC_SENSOR
 
# serial
serial 0 131073 115200 57600 0 115200
serial 1 64 115200 57600 0 115200
serial 5 1024 115200 57600 0 115200
 
# aux
aux 0 0 0 1700 2100 0 0    # ARM (AUX1)
aux 1 1 1 1300 1700 0 0    # ANGLE MODE (AUX2 Mid)
aux 2 28 2 1700 2100 0 0   # BEEPER (AUX3 High)
aux 3 35 3 1700 2100 0 0   # FLIP OVER AFTER CRASH (AUX4 High)
 
# master
set gyro_lpf1_static_hz = 0
set gyro_lpf2_static_hz = 650
set dyn_notch_count = 1
set dyn_notch_q = 500
set dyn_notch_min_hz = 100
set dyn_notch_max_hz = 650
set dshot_bidir = ON
set motor_pwm_protocol = DSHOT600
set motor_poles = 14
set dshot_idle_value = 550
set failsafe_procedure = DROP
set vbat_min_cell_voltage = 330
set vbat_warning_cell_voltage = 350
set pid_process_denom = 2
 
profile 0
 
# profile 0 (6S 1300mAh Freestyle Tune)
set dterm_lpf1_dyn_min_hz = 95
set dterm_lpf1_dyn_max_hz = 190
set dterm_lpf2_static_hz = 190
set p_pitch = 52
set i_pitch = 92
set d_pitch = 44
set f_pitch = 135
set p_roll = 49
set i_roll = 88
set d_roll = 41
set f_roll = 130
set p_yaw = 45
set i_yaw = 90
set f_yaw = 110
set d_min_roll = 36
set d_min_pitch = 39
set feedforward_averaging = 2_POINT
set feedforward_smooth_factor = 45
set feedforward_jitter_factor = 7
 
rateprofile 0
 
# rateprofile 0 (Actual Rates - 720 deg/s Max)
set rates_type = ACTUAL
set roll_rc_rate = 14
set pitch_rc_rate = 14
set yaw_rc_rate = 14
set roll_expo = 54
set pitch_expo = 54
set yaw_expo = 50
set roll_srate = 72
set pitch_srate = 72
set yaw_srate = 68
 
# end the command batch
batch end
save

4. Bench Verification Checklist (Post-Restore)

Complete every step below before installing propellers after restoring or modifying a CLI backup:

  • [ ] Save Confirmation: Confirm the CLI output ended with save and rebooted without red ERR lines.
  • [ ] Gyro Orientation: Tilt the drone forward, backward, left, and right in the Setup Tab and verify the 3D model matches every movement.
  • [ ] Receiver Channels & Modes: Turn on transmitter and confirm Roll, Pitch, Yaw, Throttle, and AUX switches move smoothly in the Receiver and Modes tabs.
  • [ ] Failsafe Test: Turn off the transmitter while connected to USB (battery unplugged) and verify the RXLOSS flag triggers within 1 second and Stage 2 Failsafe activates properly.
  • [ ] Motor Order & Spin Direction: Plug in a LiPo with a SmokeStopper attached, open the Motors Tab, and verify Motors 1–4 spin in the exact layout and direction shown in the diagram.
  • [ ] OSD & Low-Battery Warnings: Put on goggles and verify live cell voltage (3.50V warning threshold) and home arrow/RSSI dBm readouts are visible.

5. Configuration Revision Log

Date Firmware Author / Pilot Summary of Changes
2026-11-18 Betaflight 4.5.1 Pilot-01 Increased D-term filter slider from 1.0 to 1.25 after Blackbox noise check; motors cool.
2026-10-04 Betaflight 4.5.1 Pilot-01 Switched rates from Betaflight to Actual (720 deg/s max) and enabled Model Match ID 01.
2026-08-19 Betaflight 4.5.1 Pilot-01 Initial build commissioning, Bidirectional DShot600 setup, and current sensor calibration.
drone/fleet/cli.txt · Last modified: by Jon