This guide applies to the Zero-One flight controller and Quadrant engine that have been properly adapted. Prerequisites are as follows:
The Quadrant engine uses the RS422 communication protocol and requires an additional RS422 to TTL converter module for level shifting.
Wiring sequence:
Engine ECU <--> RS422 to TTL Module <--> Any free serial port on the flight controller
Note: Please purchase and prepare the RS422 to TTL module yourself.
Place the driver Lua script into the microSD card of the flight controller at the following path:
APM/SCRIPTS/
Tip: Uploading via MAVFTP is also acceptable and has the same effect.
Connect to a ground station (such as Mission Planner or QGroundControl) and set the following parameters:
| Parameter | Value | Description |
|---|---|---|
SCR_ENABLE |
1 | Enable scripting |
EFI_TYPE |
7 | Select engine type (Quadrant) |
EP_ENABLE |
1 | Enable engine driver |
SERIALn_PROTOCOL |
28 | n is the serial port number used (e.g., SERIAL2_PROTOCOL) |
Corresponding serial baud rate |
115200 | e.g., SERIAL2_BAUD = 115200 |
RPM_TYPE1 |
3 | RPM source type |
Note: Replace
ninSERIALn_PROTOCOLwith the actual serial port number (e.g., SERIAL2, SERIAL3, etc.).
After setting the parameters, reboot the flight controller to apply the changes and reload the scripts.
After reboot, new parameters prefixed with EP_ will appear in the ground station parameter list. Configure them according to the table below:
| Parameter | Recommended Value / Option | Description |
|---|---|---|
EP_ENABLE |
1 | Must be 1, enables the engine driver |
EP_STR_FUNCTION |
Leave disabled | Reserved, no configuration needed |
EP_STR_MIN |
Leave disabled | Reserved, no configuration needed |
EP_THR_FUNCTION |
56 (example) | Throttle lock function. 56 maps to RC6 channel input |
EP_THR_MIN |
1600 | Throttle unlock threshold. Throttle control is only allowed when RC6 PWM is above 1600 |
EP_THR_PWM_MAX |
2000 | Maximum throttle PWM (default is fine) |
EP_THR_PWM_MIN |
1000 | Minimum throttle PWM (default is fine) |
Important notes on throttle lock:
EP_THR_FUNCTION (e.g., RC6) is greater than 1600: throttle control is allowed, engine runs normally.Once configured successfully, the ground station will receive EFI_STATUS MAVLink messages containing:
APM/SCRIPTS/ directory and the filename is correct.EP_ parameters do not appear after reboot, check that SCR_ENABLE=1 and that the script loaded successfully.EP_THR_MIN is greater than 1600.