This page describe steps absolutly required to proceed before first flight.
Once you download and install Betaflight configurator you need to change few options first. Open configurator and go to Options tab, and then
- Disable
Advanced CLI AutoComplete
- Enable
Show all serial devices
- Disable
Auto-Connect
Then select your device from list and click connect.
Note
Not all functions displayed in configurator are avalable in firmware. The rule of thumb is if you cannot change specific option in Betaflight Configurator, that means it is not supported. It usually rolls back to previous value after save.
Note
Leaving some tabs, especially CLI requires you to click "Disconnect" button twice, and then click "Connect" again.
Go to the CLI
tab and type get pin
. This command will show what pins are associated to specified functions. If you wiring is diferrent, you can make some adjustments here. For more details, see Pin Functions CLI Reference
Go to Setup tab
, make sure that your model is in horizontal steady state position. Then click "Calibrate Accelerometer" button and wait two seconds.
Note
Important! Ensure that model in preview moves exactly in the same way as yours. If it is not the case, go to the Configuration
tab, and configure Sensor Alignment
In Configuration
tab set Pid loop frequency
. Recomended values are 1kHz to 2kHz. Keep eye on CPU Load displayed in bottom, it shoudn't exceed 50%.
If you want to use Serial based receiver (SBUS,CRSF), you need to allocate UART port for it. You can do it in Ports
tab, by ticking switch in Serial Rx
column.
Then go to the Receiver
tab, and select Receiver mode
and Serial Receiver Provider
.
To use Serial RX on ESP8266, you need to connect reciver to primary UART. In this case you lose ability to configure through UART.
To deal with it activate "SOFTSERIAL" feature. In this case if board stay in failsafe mode for 30 seconds (transmitter is turned off), then automatically WiFi access point will be started.
Default name is "ESP-FC". After connecting to this AP open configurator, select "manual" port and type port: tcp://192.168.4.1:1111
.
You can also configure board to automatically connect existing wifi network. In this case set wifi_ssid
and wifi_pass
parameters in CLI.
To use ESP-NOW receiver, choose "SPI Rx (e.g. built-in Rx)" receiver mode in Receiver tab. You need compatible transmitter module. Read more about ESP-FC Wireless Functions
In Motors
tab you must configure
You can select mixer type here, this configuration depends on type of aircraft you are configuring.
Important! If you build multirotor, you must ensure that
- Specified motor number is connected to specified output and placed in specified position in your aircraft according to gyro orientation, presented on a picture.
- Specified motor is rotating in correct direction according to image.
Warning
If these conditions aren't met, your quad will go crazy on the first start and may cause damage or even injury.
To verify it you can enable test mode and spin each motor selectively. To do that,
- remove all propellers,
- connect batery,
- click "I understand the risk...",
- move specified slider to spin motor.
If you are using any analog protocol (PWM, OneShot, Multishot), you need to calibrate your ESCs here. To do that
- click "I understand the risk...",
- move master sliders to highest value
- connect battery
- when escs plays calibration beeps, move master slider down to lowest value
- escs should play confirmation beeps
Note
Only Quad X supported at the moment. Motor direction wizard is not supported, you must configure your ESC separately. The easiest way to change direction is swapping motor wires.
This option informs FC that your motors rotating in reverse order. This option desn't reverse motor direction. It has to be configured with ESC configurator or by swapping motor wires.
You can select here protocol according to that you ESC can handle. For multirotor it is recommended to use DSHOT150
or DSHOT300
. Older ESCs may not support digital protocols, in this case it is recommended to use OneShot125
at least. Brushed
protocol is for driving brushed motors through FET drivers.
It is not recomended to use PWM
for multirotors.
This option allows to separate PWM frequency. If your pid loop is set to 1k, but ESC can accept maximum 333Hz. PWM is limitted to 480Hz.
Flight modes can be configured in Modes
tab
It is required to enable this mode to be able to fly. Armed quad cause that motors are spinning (unless Motor stop option is enabled).
By default ACRO mode is engaged if none of flying mode is active. This mode enables self-leveling. In this case you control titlt angle of multirotor instead of rotationg rate. It affects only Roll and Pitch axes. Yaw axis behave the same way as in Acro mode.
Increases the range of control at extreme throttle positions. Recommended to enable, can be controlled by the same RC channel as Arm to get permanent behaviour. Activates, when throttle achive about 40% remains active until disarmed.
Acitvates buzzer, for example to find lost model in high grass.
Triggers Failsafe procedure.
Logging using serial device is possible, like D-ronin OpenLager or OpenLog. To configure it
- In
Ports
select uart to generate stream and in Peripherals column selectBlackbox logging
on free port - Then in
Blackbox
tab selectSerial Port
aslogging device
Note
Port speed from column Configuration/MSP
is used, and the same speed must be used in logging device, (this might be subject of change in a future versions).
Recommended settings
- To log with 1k rate, you need device that is capable to receive data with 500kbps.
- To log with 2k rate, you need 1Mbps
OpenLager can handle it easily. If you plan to use OpenLog, you might need to flash blackbox-firmware to be able to handle more than 115.2kbps. Either 250kbps and 500kbps works well with modern SD cards up to 32GB size.
Only "Drop" Stage 2 procedule is possible
Presets aren't supported, do not try to apply any of them.
- There is only one pid profile and one rate profile
- Feed-forward transition has no effect
- Iterm-rotation has no effect
- Dynamic damping has no effect
- Throttle boost has no effect
- Miscellaneous settings has no effect
- Dynamic Notch works from 1k pid loop, but is not displayed in configurator if this speed is configured, to reconfigure switch pid loop to 2k.
Besides that most of Betaflight principles can be applied here according to PID and Filter tuning. But keep in mind, very aggresive tunnig tips aren't recommended to apply and might lead to diferrent results.
- Not all protocols are implemented, currently only PPM, CRSF, SBUS
- No telemetry and rssi_adc
- RC deadband applies to RPY, no separate Yaw deadband
Add range works only, no add link
Not implemented, for replacement you can use pid scaler CLI
Not Implemented, for replacemnt you can use output cli to change output protocol and rate.
No 3D features
Not implemented, no replacemnt
Not implemented, but MW_OSD should works via serial port and MSP protocol.