Skip to main content

Using KPPM

The FLY-KPPM shutdown module is a security module designed for development boards such as Raspberry Pi, aiming to prevent data loss due to power outages. It uses advanced technology to automatically switch to a capacitor power supply when a power outage occurs, ensuring the development board can run stably for 15 seconds during a power failure, protecting data from being lost. It is compact, convenient, and easy to install.

Notes

Important

The input power supply only supports DC12-24V. When wiring, pay attention to distinguish between positive and negative poles. The wiring process must be performed under power-off conditions. Only power on after confirming the wiring is correct; the company will not be responsible for any losses caused by incorrect wiring.

Important

The +5V at the 5V OUT socket is an emergency power output, not for regular power supply. Please use USB-OUT or SIG/IO to power the host computer.

Important

When using the safety shutdown module, it needs to be powered by 12V-24V. To ensure the module works properly, the 5V output voltage inside the safety shutdown module should not be lower than 4.9V. Otherwise, the safety shutdown module will draw power from internal boosting, causing the capacitor to remain in a charging state, leading to continuous heating of the module.

Screen Display Content Explanation

Screen Content ExplanationLeft ExplanationRight ParameterRight Explanation
IN:Input VoltageOUT:Output Voltage
CA:Capacitor Total VoltageOI:Output Load Current
C1:C1 Capacitor Voltage C2:C2 Capacitor Voltage
Temp:Safety Shutdown Module Temperature E:Status Prompt, please see below
Display ContentStatus Description
Ready!Normal Startup
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 the power is cut within 10 seconds and then restored, this message will be displayed. After the countdown ends, the host computer will restart

Pin Description

  • OUT-RST Reset

  • OUT-PDN Shutdown

  • IN-PIN

    Default high, when the module is powered on, it will automatically detect the time since the last power loss, if the power loss time is less than 10 seconds, it will wait until 10 seconds have passed and then automatically turn off and on the 5V output once (ensuring the host computer completes shutdown and can restart again) If connected to GND, it will disable the automatic detection of power loss time function

FLY Host Computer Tutorial

info

Applies only to FLY-Pi FLY-Pi-V2 FLY-C8 FAST system comes with it, no need to install

FLY host computer needs to use SSH to execute the following command

sudo curl -kfSL --progress-bar https://cnb.cool/3dmellow/public/static-files/-/git/raw/main/host/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 Computer Wiring Tutorial

  • FLY-C8 using 5V wiring, check the wiring according to the diagram

Raspberry Pi Host Computer Tutorial

The operation for Raspberry Pi is similar to the above. The SD card with the system image needs to be inserted into the computer, and add the line dtoverlay=gpio-shutdown,gpio_pin=21 to the config.txt file, then save and exit.

  • Raspberry Pi using 5V wiring
Loading...
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -