UPS Scap 5V5A: Difference between revisions

Rita (talk | contribs)
 
Rita (talk | contribs)
 
(27 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==
{{UPS Safety Warning}}
① Short-circuiting the positive and negative terminals of the capacitors is strictly prohibited. Damage caused by a short circuit is not covered under warranty.
 
② Before storing, please press and hold the discharge button to discharge the capacitors.
 
③ Before disassembling or assembling modules, please turn off the main power switch.


==Overview==
==Overview==
X1200 is an innovative uninterruptible power supply (UPS) expansion board designed specifically for the Raspberry Pi 5. With its advanced features and robust power backup capabilities, the X1200 is perfect for even the most demanding Raspberry Pi setups.
'''The UPS_Scap_5V5A''' is a supercapacitor-based UPS power module designed specifically for the Raspberry Pi 5. It supports either''' a 12V PD input''' or '''a wide-range 9–24V input '''(use one or the other), and offers three output options: '''PD USB-C''', '''USB-A''', and '''pins''', with a total output of up to 5V 5A. The USB-C port supports the 5V 5A PD protocol required by the Raspberry Pi 5.


'''Please note:''' If the UPS does not detect the RPi5, it will automatically shut down within 3 seconds. So you need to install the RPi 5 on the UPS and make sure that the RPi5 has good contact with the UPS's pogo pins.
The 100F supercapacitor provides ample power for extended battery life. It features a main power switch and bleed circuitry, and can be mounted on the bottom of the Raspberry Pi for power via header pins or a USB-C to USB-C connector. A power monitoring circuitry allows for reading the supercapacitor's voltage and charging/discharging current via an I2C interface to estimate battery life. A compatible USB-C adapter allows for direct stacking on the bottom of the Raspberry Pi 5.


{{Raspberry Pi 5 UPS Sets}}
==Features==
* ''' Raspberry Pi 5 Dedicated PD Handshake Power Supply''': Natively compatible with the Raspberry Pi 5's non-standard 5V5A PD power supply protocol, avoiding the "insufficient power" pop-up alarm triggered by ordinary power supplies; the included USB-C adapter board can be directly stacked on the bottom of the Raspberry Pi 5 for plug-and-play functionality.


'''Reliable Power Backup:''' The X1200 provides a stable 5.1V 5000mA power backup, ensuring uninterrupted operation of your Raspberry Pi. Whether you are running resource-intensive applications or powering multiple peripherals, the X1200 delivers reliable and consistent power supply.
* '''100F High-Capacity Supercapacitor Power-Off Protection''': In long-run mode, it can provide up to 3 minutes and 31 seconds of continuous use under a 5V 0.5A load, allowing ample time for data writing and safe system shutdown; the supercapacitor solution eliminates the safety hazards of lithium batteries, offering long lifespan and maintenance-free operation.


* '''Dual Input Compatibility for Multiple Scenarios''': Supports DC 9-24V wide voltage input / USB-C 12V PD fast charging input (choose one; USB-C requires a ≥30W PD/QC charger); internal dual-path isolation circuitry allows for seamless switching between charging and discharging.


'''Enhanced Power Management:''' One of the standout features of the X1200 is its enhanced power management system. It intelligently monitors the power status of the Raspberry Pi and automatically cuts off power when the Pi is shut down. This helps optimize battery life by entering an ultra-low standby power consumption mode. It ensures efficient operation and maximizes the lifespan of the UPS battery.
* '''Multi-interface 5V5A output: Standard configuration includes two outputs''': USB-C (with PD handshake) and USB-A, sharing a total 5A power output; additionally, there are reserved unsoldered power supply pads for the top pins. Compatible with Raspberry Pi 3B/4B/5, Orange Pi, and other 5V development boards, and can also power other 5V devices.


* '''Hardware-level power-down detection and intelligent power on/off''': GPIO26 hardware direct connection detects power loss; onboard microcontroller manages the power-on signal, automatically powering on when power is restored from a power-off state; the accompanying official demo script supports automatically clearing the power-on pop-up window to avoid forced shutdown triggered by consecutive power losses, suitable for remote unattended operation scenarios (script needs to be deployed manually).


'''Seamless Power Switching:''' Equipped with AC power loss and power adapter failure detection, the X1200 seamlessly switches to backup power in the event of a power outage or power adapter failure. This feature guarantees that your Raspberry Pi remains operational and protected from unexpected power disruptions.
* '''I2C real-time voltage and current monitoring''': Onboard INA219 chip, reading capacitor voltage and charging/discharging current via the I2C interface for easy estimation of remaining battery life; official support scripts are provided for both Raspberry Pi OS and Ubuntu dual-system compatibility.


* ''' Comprehensive safety design''': Integrated main power switch, fast discharge button, 5-level power indicator light, automatic cut-off when capacitor charging reaches 5.2V to prevent overcharge, making operation and storage safer.
</font>


'''Convenient Features:''' The X1200 offers convenient features such as auto power-on, enabling your Raspberry Pi to automatically boot up when power is restored. It also supports full power-off from software, allowing you to safely shut down your Raspberry Pi without manual intervention.
==Technical Specification==
{| class="wikitable"
|-
|'''Power input'''|| 
*DC 9-24V wide voltage input, DC 5.5-2.1 interface;
*USB-C PD interface, PD negotiated voltage 12V, please be sure to use PD or QC power supply; input power recommended ≥30W;
<font color=red>(Choose one of the two interfaces)</font>


'''Power input is split into two paths:'''
* One path steps down to 5.2V to directly power the target board;
* The other path charges the supercapacitor. For safety, charging stops after reaching 5.2V.
These two paths are isolated by a circuit, therefore they will not output simultaneously.


'''Fast Charging:''' With fast charging capabilities of up to 3000mA, the X1200 ensures quick recharging of the UPS, making it ready to provide backup power whenever needed.
|-
|'''Output'''||
* 5V5A output, using high-efficiency boost and buck DC-DC power chips;
*Dual interfaces:''' USB-C '''and''' USB-A''', both sharing 5V5A; Specifically designed for powering Raspberry Pi 5;
* USB-C features PD handshake negotiation, enabling the 5V5APD handshake protocol for Raspberry Pi 5;
* USB-A;
* Both interfaces can also be used to connect to other development boards such as Raspberry Pi 4B/3B/Orange Pi;


|-
|'''Energy storage unit'''|| 
* 100F supercapacitor (series structure, maximum fully charged voltage 5.4V, safe charging cut-off voltage 5.2V)
|-
| '''Charging time''' || Approximately 15 minutes to fully charge (under 30W PD power supply conditions)
|-
| ''Current and Voltage Detection''' ||
Identifies charging and discharging status;


'''Versatile Design:''' The X1200 is designed to be attached on bottom and don't use the 40-pin header, enabling easy stacking with other Raspberry Pi accessory boards. This versatility allows you to expand the functionality of your Raspberry Pi and create enhanced applications tailored to your specific needs.
voltage and current of the supercapacitor can be read via I2C interface, and the direction of the current indicates whether it is charging or discharging;


I2C interface allows reading capacitor voltage and charging/discharging current.
|-
| '''Power-down detection'''||
One power-down detection pin;


'''Seamless Data Backup:''' The X1200 is compatible with our range of storage products, providing seamless integration for safe and reliable data backup. Your valuable data remains protected, even in the event of a power failure.
a logic level of 3.3V indicates the presence of external power input, and a logic level of 0V indicates that the external power is off. For Raspberry Pi, external power loss can be detected via GPIO26 (40-pin);


for other development boards, it can be connected to a GPIO pin.


Enhance the reliability and performance of your Raspberry Pi 5B with the X1200 UPS expansion board. Experience peace of mind with its advanced features and robust power backup capabilities. Trust the X1200 to ensure uninterrupted operation and safeguard your valuable data.
|-
| '''Wake-up function''' || Power-off self-start circuit (Raspberry Pi 5 exclusive).
|-
|'''Physical Switches'''||
Main power switch + quick discharge button;
* One power switch to shut off output for safe module installation and removal;
* One discharge button for quick discharge and safe storage; for example, after use, it is recommended to press this button to discharge the supercapacitor for safety.
|-
| '''Status Indicators''' || 1 power indicator + 5 battery indicator lights + 1 discharge indicator light
|-


==Features==
| '''Product dimensions''' || 85×56mm; Operating
{| class="wikitable"
|-
|-
| '''For use with''' ||  
| '''⚠️ Safety Warning''' ||<font color=red> Due to their high energy density and low internal resistance, supercapacitors must not be short-circuited when powered on; similarly,the positive and negative terminals of two supercapacitors must not be short-circuited. Damage caused by short circuits is not covered under warranty. Please exercise extreme caution during operation.</font>
Raspberry Pi 5 Model B
|}
|-
 
| '''Key Features''' ||
==Packing List==
'''UPS Output'''
* Supercapacitor UPS 5V 5A PD power module x 1
* Provides continuous operation for up to 6 hours (duration depends on battery type and applications)
* USB C-C adapter board x 4
* Supports a maximum current output of 5.1V 5000mA, suitable for most Raspberry Pi applications
 
* Integrated Advanced Power MOSFET with an equivalent of 7mΩ RDS(ON) to minimize power loss
==Battery life==
* Convenient pogo pin connection for powering the Pi, eliminating the need for cabling and soldering
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:
 
'''(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.)'''
 
100F version: Discharge begins at 5.2V:
 
==Related Explanation==
'''1.PD Handshake Protocol'''
* 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.
* 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.
* 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.


'''Battery Charging'''
'''2.Power-Off Detection and Power-On/Off Logic'''
* Supports fast battery charging with a capacity of 3000mA
* Battery charging control can be managed via GPIO
* Provides protection against battery overcurrent and overvoltage
* Built-in protection against reverse connection of battery cells
* Integrated Maxim's fuel-gauge systems for reading battery voltage and percentage over i2c
* On-board LEDs indicate battery charging and discharging levels of 25%, 50%, 75%, and 100%
* Features a 2-cell 18650 battery holder


'''Power Input'''
* '''Detection Method''': Raspberry Pi 5 detects the external power status in real time via GPIO26 pin.
* Powered through the USB-C socket, eliminating the need to change your power adapter


'''Enhanced Power Management'''
* '''Power-Off Trigger''': GPIO level goes low → Script execution saves data → Countdown → Safe shutdown
* Seamless power switching between backup power and power adapter
* On-board push button performs the same actions as the Pi's power button
* Automatically cuts off power when the Pi is shut down
* On-board LED indicates power status and Pi detection
* AC power loss and power adapter failure detection via GPIO
* Auto power-on when power is applied or restored
* Automatic safe shutdown when battery voltage is low (programmable)
* Ultra-low standby power consumption to maximize battery life
* Advanced system power-path management to minimize frequent charging and discharging of batteries


'''Miscellaneous'''
* '''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:
* Connects to the Pi via convenient pogo pins, eliminating the need for additional cabling
* Designed to be attached on the bottom, allowing the use of favorite HATs alongside it
|-
| '''Spec''' ||
<span style="color:red">'''Power&Charge input:''' 5Vdc 5A via USB Type-C of X1200</span>


'''UPS output:''' 5.1V ±5% Max 5A
# '''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.


'''Battery charging current:''' Max 2.3-3.2A
* '''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.'''


'''Terminal Battery Voltage:''' 4.23V
'''3.I2C Voltage and Current Monitoring'''


'''Battery Recharge Threshold:''' 4.1V
* 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.


'''Ports & Connectors:'''  
'''4.Power-Down Detection GPIO Script Demonstration '''
* USB Type-C socket x1
* 18650 battery socket x2
* 5V Power output connector x2 - XH2.54 2-pin


'''PCB Size:''' 85mm x 56mm
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
|-
| '''Notes''' ||
* <span style="color:red">Do not apply power to your Raspberry Pi 5 via the Type-C USB socket.</span>
* Do not use 18650 battery with built-in protection circuit.
|}


==Packing List==
* X1200 UPS shield x 1
* CM2.5 x 4 screws x 4
[[File:X1200-V1.2-IMG-7239-packing-list.jpg | 600px]]


==Script Reference==
'''5.This module can also be used on non-Raspberry Pi 5 platforms, but please note the following:'''
{{X120x Series UPS Script Reference}}


==User Manual==
# 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.
* 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
# 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.
{{#ev:youtube|https://youtu.be/sKlRIPLSck0}}


==Matching Case==
# 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.
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.  
* Case dimensions: 90.8 x 69 x 62.8 mm / 3.57 x 2.72 x 2.47 inches
* 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'''.
*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.
<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>
# 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! -->