Skip to main content

Using KPPM

The FLY-KPPM power-off module is specially designed for development boards like Raspberry Pi to ensure data integrity in case of a power failure. Utilizing advanced technology, it automatically switches to capacitor power when a power outage occurs, ensuring the development board can still operate stably for 15 seconds and effectively save data. Compact and easy to install.

Precautions

Note

The input power only supports DC12-24V. Ensure correct positive and negative polarity during wiring, and perform wiring under power-off conditions. Only proceed with power-on after confirming the wiring is correct. We will not be liable for any losses caused by incorrect wiring.

Note

The +5V at the 5V OUT socket is an emergency power output and should not be used as a regular power supply. Please use USB-OUT or SIG/IO to power the host machine.

Note

When using the safety shutdown module, a 12V-24V power supply must be used. To ensure normal operation of the module, the internal 5V output voltage of the safety shutdown module must not be lower than 4.9V; otherwise, the safety shutdown module will draw power from the internal boost circuit, keeping the capacitor continuously charged, which may cause the module to overheat.

Screen Display Content Explanation

Screen Content ExplanationLeft Side ExplanationRight Side ParametersRight Side Explanation
IN:Input VoltageOUT:Output Voltage
CA:Total Capacitor VoltageOI:Output Load Current
C1:C1 Capacitor VoltageC2:C2 Capacitor Voltage
Temp:Safety Shutdown Module TemperatureE:Status Prompt, see Below
Display ContentStatus Explanation
Ready!Normal Bootup
IN LOW!Low Input Voltage
IN OVR!High Output Current
OV LOE!Low Output Voltage
OV OVRHigh Output Current
TP OVR!High Temperature
NONEUnknown Error
R: XX SecIf power is cut off within 10 seconds and then powered on again, this prompt will appear, showing a countdown before restarting the host machine.

Download Shell and Installation Model

https://cdn.mellow.klipper.cn/STEP/KPPM.zip

Pin Description

  • OUT-RST Reset

  • OUT-PDN Power Down

  • IN-PIN

    Pull-up by default. When powered on, the module automatically detects the last power-off time. If the power-off time is less than 10 seconds, it will wait for 10 seconds and then automatically switch the 5V output once (to ensure the host machine completes shutdown and can restart). If connected to GND, the automatic detection of power-off time function will be disabled.

FLY Host Machine Usage Tutorial

info

Applicable only to FLY-Pi, FLY-Pi-V2, FLY-C8

FLY host machine requires SSH execution of the following command

sudo curl -kfSL --progress-bar https://cdn.mellow.klipper.cn/firmware/sun50i-h5-power-key.dtbo -o /boot/dtb/allwinner/overlay/sun50i-h5-power-key.dtbo
sudo grep -q "^overlays=.*power-key" /boot/FlyOS-Env.txt || sudo sed -i '/^overlays=/ s/$/ power-key/' /boot/FlyOS-Env.txt

Restart the system

sudo reboot

FLY Host Machine Wiring Tutorial

  • Connect FLY-C8 using 5V wiring as shown in the diagram.

Raspberry Pi Host Machine Usage Tutorial

Similar to the above operations, insert the SD card with the system image into the computer, and add the following line of code to the config.txt file: dtoverlay=gpio-shutdown,gpio_pin=21. Then save and exit.

  • Connect Raspberry Pi using 5V wiring.