Firmware configuration in Marlin:- Step 1: Download the latest Marlin firmware (or from version 1.1.8, where the function of resuming printing after power off has been added)
- Step 2: Find the configuration files in configuration.h and configuration_adv.h according to your printer model
- Step 3: Find the biqu.h file. If the power off detection port is connected to the y_min port of the board, connect ymin_plug as shown in the last image and set the power_failed_pin port to y_min_pin.
Ports such as x_min, x_max, y_min, y_max, z_min, and z_max can be used. When entering different ports, only
# Define USE_YMIN_PLUG
# Define POWER_FAILED_PIN Y_MIN_PIN
These two sentences can be changed accordingly.