UPS Scap 5V5A: Difference between revisions

Rita (talk | contribs)
Rita (talk | contribs)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{GD Template Impl}}
{{GD Template Impl}}
[[File:X1200-V1.2-IMG-7240-Interface-NEW.jpg|thumb|right|X1200 V1.2 Interface Schematic]]
[[File:X1200-V1.1-Overview.jpg|thumb|right|X1200 pogo pins]]
[[File:X1200-V1.2-IMG-7235.jpg|thumb|right|X1200 V1.2]]
[[File:X1200-V1.2-IMG-7239.jpg|thumb|right|X1200 V1.2]]
[[File:X1200-V1.2-IMG-7220.jpg|thumb|right|X1200 V1.2 with Raspberry Pi 5]]
[[File:X1200-V1.2-IMG-7239-BAT.jpg|thumb|right|X1200 Raspberry Pi 5 UPS-Battery Requirement]]
[[File:X1200-V1.2-IMG-7222.jpg|thumb|right|X1200 V1.2 with Raspberry Pi 5]]
[[File:X1200-V1.2-IMG-7228.jpg|thumb|right|X1200 V1.2 with Raspberry Pi 5 & Active Cooler]]


==Safety Instructions & Warnings==
==Safety Instructions & Warnings==
Line 95: Line 87:


==Packing List==
==Packing List==
* X1200 UPS shield x 1
* Supercapacitor UPS 5V 5A PD power module x 1
* CM2.5 x 4 screws x 4
* USB C-C adapter board x 4
[[File:X1200-V1.2-IMG-7239-packing-list.jpg | 600px]]


==Script Reference==
==Battery life==
{{X120x Series UPS Script Reference}}
After an external power failure, the system automatically switches to supercapacitor power to save data and shut down the system. The measured operating time of the supercapacitor UPS at various cutoff voltages is listed below:


==User Manual==
'''(Note: The three modes—long-run mode, balanced mode, and performance mode—are adjusted by resistors on the circuit board. The factory default is long-run mode.)'''
* Dimensions source file (DXF): [[File:X1200-pcb-v1.dxf]] - You can view it with [https://viewer.autodesk.com/ Autodesk Viewer] online
* X1200 Hardware: [[X1200 Hardware]]
* How to get x1200 work: [[#Script Reference]]
* Low voltage warning solution for X120x Series UPS:
[[File:IMG-7278-Low-Voltage.jpg | 700px]]
* Installation Guide
[[File:007-X1200-C1-IMG-8206-installation.jpg | 700px]]


Installation Video https://youtu.be/sKlRIPLSck0
100F version: Discharge begins at 5.2V:
{{#ev:youtube|https://youtu.be/sKlRIPLSck0}}


==Matching Case==
==Related Explanation==
X1200-C1 is a metal case '''for Raspberry Pi 5 & X1200''' UPS Shield, it also support installing active cooler and Raspberry Pi 5 PIP PCIe to M2 NVMe Shield like  [[X1001]], [[X1004]], [[X1003]], [[X1000]] and [[M901]] on the top of Raspberry Pi 5.  
'''1.PD Handshake Protocol'''
* Case dimensions: 90.8 x 69 x 62.8 mm / 3.57 x 2.72 x 2.47 inches
* The Raspberry Pi 5 uses a non-standard PD handshake protocol. Even if a standard 5V 5A power supply is used and the voltage and current meet the requirements, the system will still issue an alarm if the corresponding handshake protocol is missing.
* Note: On 12 March 2025, we updated the X1200-C1 case to '''add a row of cooling holes''' on the TF card slot side to '''increase airflow and take more advantage of the Raspberry Pi 5 active heatsink'''.
* This module's USB-C output natively integrates a PD handshake chip, ensuring perfect compatibility with the Raspberry Pi 5 and eliminating pop-up alarms.
*Note: If you only need to use the X1200-C1 with the Raspberry Pi 5 motherboard (without the X1200 UPS board), you can separately add 4 M2.5*6+5 screws (or directly use M2.5*27 copper standoffs) to achieve the ideal installation.
* The USB-A port can be used with a USB A-C PD adapter to provide a second power source for the Raspberry Pi 5.
<gallery>
X1200-C1-IMG-8145-Packing-List.jpg | X1200-C1 Accessories
002-X1200-C1-IMG-8152-layer.jpg | X1200-C1 Application
003-X1200-C1-IMG-8135-Interface.jpg | Interface-Front
004-X1200-C1-IMG-8137-Interface.jpg |Interface-Rear
005-X1200-C1-IMG-8140-size.jpg|X1200-C1 Dimension


</gallery>
'''2.Power-Off Detection and Power-On/Off Logic'''
 
* '''Detection Method''': Raspberry Pi 5 detects the external power status in real time via GPIO26 pin.
 
* '''Power-Off Trigger''': GPIO level goes low → Script execution saves data → Countdown → Safe shutdown
 
* '''Power-On Sequence (Onboard Microcontroller Power Management)''': When external power is restored, the module sends a power-on signal to Raspberry Pi 5 via a pin, in two scenarios:
 
# '''System is completely powered off''': Automatic power-on upon receiving the signal;
# '''System is still running normally''': A power confirmation pop-up appears. The application must automatically clear the pop-up. If the pop-up is not cleared after two consecutive power outages and power-on cycles, a forced shutdown will be triggered.
 
* '''Dead Zone Special Condition (Extremely Low Probability)''': After sending the shutdown command, the screen will briefly display plymouth-poweroff.service (lasting approximately 1-2 seconds). If external power is restored during this window, the system will lock and cannot start, only recovering after the next power outage and power-on cycle. Dead zones are extremely rare, so there's no need to worry about them for local use; however,'''thorough testing and evaluation are recommended for remote, unattended scenarios.'''
 
'''3.I2C Voltage and Current Monitoring'''
 
* Real-time I2C bus reading via the INA219 chip: capacitor voltage, charging/discharging current, and power; remaining battery life can be estimated based on voltage.
* Supports Raspberry Pi OS and Ubuntu systems.
 
'''4.Power-Down Detection GPIO Script Demonstration '''
 
The board has an onboard power-down detection circuit. For a Raspberry Pi 5, it's directly connected to GPIO26 of the 40-pin GPIO for detection. See below for specific instructions (using a Raspberry Pi system as an example; the I2C interface needs to be enabled beforehand). The script code is as follows (script name: gpiot.sh): Power-Down Indication Script Demonstration
 
 
'''5.This module can also be used on non-Raspberry Pi 5 platforms, but please note the following:'''
 
# Power-down detection: Connect the detection signal through the appropriate GPIO pin and read the voltage and current via I2C to determine the charging and discharging status.
 
# Power-on/off logic: Most development boards do not have dedicated power-on/off logic for Raspberry Pi 5. After power-off, the system may enter a locked state upon power restoration.
 
# Recommended solution: After saving the data, the application continuously monitors the power-down detection pin. If power is restored, the application continues to execute the business process; if power is not restored, it will idle and wait for the system to shut down due to power failure.
 
# Compatibility prerequisites: If the target board has a logic power-on/off pin, it can be connected to implement the same automatic power-on/off function as Raspberry Pi 5.


==FAQ==
==FAQ==
{{X120x-FAQ}}


<!--Add review function! -->
<!--Add review function! -->