Open main menu

X1200 V1.2 Interface Schematic
X1200 V1.2 Interface Schematic
X1200 V1.2
X1200 V1.2
X1200 V1.2 with Raspberry Pi 5
X1200 V1.2 with Raspberry Pi 5
X1200 V1.2 with Raspberry Pi 5 & Active Cooler

Contents

Safety Instructions & Warnings

  • It is essential to read and understand these safety instructions and warnings before charging your batteries.
  • Lithium Polymer and Li-ion batteries are volatile. Failure to read and follow the instructions below may result in fire, personal injury, and damage to property if charged or used improperly.
  • Never make a wrong polarity connection when charging or discharging battery packs. Always double-check the polarity of the battery's connector to ensure that "+" is connected to "+" and "-" is connected to "-".
  • Do not mix and use old batteries with new batteries, or batteries with different brand names.
  • Lithium batteries have a limited cycle life. Please replace old batteries with new ones when they reach their service life or when they are two years old, whichever comes first.
  • When charging the Battery Pack, please place the battery in a fireproof container. Do not leave the UPS shield on wood material or carpet unattended.
  • Keep the UPS shield away from children to ensure their safety.
  • Please watch Main Video and Tutorial Video regarding 18650 batteries at: https://www.staysafebattery.com/en/
  • Battery Recommend for Geekworm UPS board, please refer to: File:NCR18650B.pdf

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.

Model Compatible with Position Battery Holders How to Charge Note Matching Case
X1200 Raspberry Pi 5 Bottom 2-Cell 5Vdc 5A via USB Type-C of X1200 - X1200-C1
X1201 Raspberry Pi 5 Bottom 2-Cell 5Vdc 5A via USB Type-C of X1201 Ultra-thin X1201-C1
X1202 Raspberry Pi 5 Bottom 4-Cell 5Vdc 5A via USB Type-C of X1202;
or 6-18Vdc, ≥3A via DC 5521 power jack of X1202
- X1202-C1
X1203 Raspberry Pi 5 Bottom without battery holder 5Vdc 5A via USB Type-C of X1203;
or 6-18Vdc, ≥3A via DC 5521 power jack of X1203
- -

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.


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.


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.


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.


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.


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.


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.


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.

Features

For use with

Raspberry Pi 5 Model B

Key Features

UPS Output

  • Provides continuous operation for up to 6 hours (duration depends on battery type and applications)
  • 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
  • Convenient pogo pin connection for powering the Pi, eliminating the need for cabling and soldering

Battery Charging

  • 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

  • Powered through the USB-C socket, eliminating the need to change your power adapter

Enhanced Power Management

  • 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

  • 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

Power&Charge input: 5Vdc 5A via USB Type-C of X1200

UPS output: 5.1V ±5% Max 5A

Battery charging current: Max 2.3-3.2A

Terminal Battery Voltage: 4.23V

Battery Recharge Threshold: 4.1V

Ports & Connectors:

  • USB Type-C socket x1
  • 18650 battery socket x2
  • 5V Power output connector x2 - XH2.54 2-pin

PCB Size: 85mm x 56mm

Notes
  • Do not apply power to your Raspberry Pi 5 via the Type-C USB socket.
  • Do not use 18650 battery with built-in protection circuit.

Packing List

  • X1200 UPS shield x 1
  • CM2.5 x 4 screws x 4

 

User Manual

Dimensions source file (DXF)

X1200 Hardware

X1200 Software

Installation Guide

 

Installation Video https://youtu.be/sKlRIPLSck0

Matching Case

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

FAQ

Q: Why does the message "This power supply is not capable of supplying 5A" appear??

X120X series UPS shield can provide enough 5A power supply capacity;

Please set as follows:

Open the Teminal window based on Raspberry Pi OS and execute the following command:

sudo rpi-eeprom-config -e

Add PSU_MAX_CURRENT=5000 at the end of the file that reads like this:

 

Press Ctrl-O, then enter, to write the change to the file.

Press Ctrl-X to exit nano (the editor).

Reboot your Raspberry Pi 5 to make the change take effect.

Note: If you are using other OS like Ubuntu, please flash Raspberry Pi OS first, and then re-flash other OS such as Ubuntu etc after completing the above settings.

Q: How to disable auto power on feature on X1200?

A: When you connect an external power supply, the UPS board will automatically power on the Pi 5 motherboard while it starts charging, this feature is called auto power on, considering that some customers need to disable this feature, so we have also disclosed the following solution to disable it: please use a soldering iron to remove the resistor indicated by the arrow in the illustration.

 

PS: We don't think you need to remove the resistor to disable 'AUTO ON' function. Since there is an onboard switch, if you don't want AUTO ON, just press the switch to completely cut off the power.

WARNING: Please consider the following risks before removing this resistor:

  • Do not operate if you are not a professional user
  • The removal operation may damage the MCU, so please be careful with the operation.
  • Once you remove this resistor by yourself, you will lose the warranty of this product. We no longer offer any warranty for this product.
  • Once you remove this resistor, you can only turn on the power output by pressing the on-board switch.

Q: How to disable auto power on feature on X1201?

A: When you connect an external power supply, the UPS board will automatically power on the Pi 5 motherboard while it starts charging, this feature is called auto power on, considering that some customers need to disable this feature, so we have also disclosed the following solution to disable it: please use a soldering iron to remove the resistor indicated by the arrow in the illustration.

 

PS: We don't think you need to remove the resistor to disable 'AUTO ON' function. Since there is an onboard switch, if you don't want AUTO ON, just press the switch to completely cut off the power.

WARNING: Please consider the following risks before removing this resistor:

  • Do not operate if you are not a professional user
  • The removal operation may damage the MCU, so please be careful with the operation.
  • Once you remove this resistor by yourself, you will lose the warranty of this product. We no longer offer any warranty for this product.
  • Once you remove this resistor, you can only turn on the power output by pressing the on-board switch.

Q: How to disable auto power on feature on X1202?

A: When you connect an external power supply, the UPS board will automatically power on the Pi 5 motherboard while it starts charging, this feature is called auto power on, considering that some customers need to disable this feature, so we have also disclosed the following solution to disable it: please use a soldering iron to remove the resistor indicated by the arrow in the illustration.

 

PS: We don't think you need to remove the resistor to disable 'AUTO ON' function. Since there is an onboard switch, if you don't want AUTO ON, just press the switch to completely cut off the power.

WARNING: Please consider the following risks before removing this resistor:

  • Do not operate if you are not a professional user
  • The removal operation may damage the MCU, so please be careful with the operation.
  • Once you remove this resistor by yourself, you will lose the warranty of this product. We no longer offer any warranty for this product.
  • Once you remove this resistor, you can only turn on the power output by pressing the on-board switch or external power switch.

Q: How to disable auto power on feature on X1203?

A: When you connect an external power supply, the UPS board will automatically power on the Pi 5 motherboard while it starts charging, this feature is called auto power on, considering that some customers need to disable this feature, so we have also disclosed the following solution to disable it: please use a soldering iron to remove the resistor indicated by the arrow in the illustration.

 

PS: We don't think you need to remove the resistor to disable 'AUTO ON' function. Since there is an onboard switch, if you don't want AUTO ON, just press the switch to completely cut off the power.

WARNING: Please consider the following risks before removing this resistor:

  • Do not operate if you are not a professional user
  • The removal operation may damage the MCU, so please be careful with the operation.
  • Once you remove this resistor by yourself, you will lose the warranty of this product. We no longer offer any warranty for this product.
  • Once you remove this resistor, you can only turn on the power output by pressing the on-board switch or external power switch.

Q: Why does the UPS shield continue to output power when PI 5 is turned off via press the on-board button?

A: The UPS shield provides enhanced power management features that intelligently monitor the power status of the Raspberry Pi 5 and automatically cut off power when the Pi is powered off. 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.

To get the above features, check that the following settings are complete

 

Q: What battery is recommended for this ups shield

A: Please use high quality batteries from Samsung 35E 18650 lithium battery, Panasonic NCR18650B, Toshiba, etc. Do not use the battery with built-in protection circuit because it will limit the discharge current.

For the X1203 shield:

If using a lithium battery, the required voltage is 3.7V;

if using a battery pack, please make sure it is a parallel battery pack.

There are 2 XH2.54-2P battery connectors on board, it is recommended to use the same type of battery.

 

Q: Run sudo i2cdetect -y 1, can't find I2C address 0x36?

A:

1. Make sure you enable i2c interface, refer to How to enable I2C

2. The UPS connects to the Pi GPIO via pogo pins, If the I2C address (0x36) is not detected, Please clear the leads of pin 3 and pin 5 on the GPIO header from the bottom of the Raspberry Pi PCB and install again, and also check if the pogo pin of ups shield is in close contact with the pad position of PI 5(you can adjust the [pogo pin] position).

 

There won't be any other problems, it's this poor contact that's causing it.

 

Q. How do you disable the X1202 auto-shutdown when you use it standalone (not installed on a RPi5)?

A:  

Q. X1203 UPS voltage drops / low voltage warning appears?

A:

1.Powering the X1203 via Type C connector with / without the batteries,Pls check if you still have the issue.

2.Please clear the test pad on the Pi's PCB bottom which is used for connecting the X1203 for 5V power delivery.

 

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


 

Anonymous user #14

2 months ago
Score 0  

Hello,

Could somebody explain the difference between pinctrl set 16 op dh/dl and pinctrl set 16 pu/pd?
 

Anonymous user #13

2 months ago
Score 0  

Hello all,

I edited a script for shutting down on powerloss after x seconds. For automatic shutdown, I call it with crontab. The mod of the file has to be changed to 755 before. (chmod)

I hope this helps.

Greetings

Below the Script:

  1. !/usr/bin/env python3
  2. This python script is only suitable for UPS Shield X1200, X1201 and X1202

import gpiod import time from subprocess import call

PLD_PIN = 6 chip = gpiod.Chip('gpiochip4') pld_line = chip.get_line(PLD_PIN) pld_line.request(consumer="PLD", type=gpiod.LINE_REQ_DIR_IN)

try: while True: pld_state = pld_line.get_value()

if pld_state == 0: print ("Powerloss detected")

time.sleep(10) # Change this to preferred value

pld_state = pld_line.get_value()

if pld_state == 1: print ("Power ready") pass else: print ("Shutting down") time.sleep(1) call("sudo nohup shutdown -h now", shell=True)

finally:

pld_line.release()
 

Anonymous user #12

2 months ago
Score 0  

Pouvez-vous me confirmer que je dois alimenter uniquement la carte x1200 via le port USBc (n°4). Pas le raspberry.

Merci d'avance.
 

Lisa

2 months ago
Score 0  
Hi;How to Charge:[5Vdc 5A via USB Type-C of X1200]; whenever you use a UPS, you must power the Raspberry Pi through the UPS expansion board. Do not power the Raspberry Pi directly.
 

Anonymous user #11

3 months ago
Score 0  

Do the 5V outputs provide power when the Pi is shut down?

I am hoping I can use the 5V power output to power the Pi's RTC so I can schedule turn on/off times.
 

Harry

3 months ago
Score 0  

Hello

When Pi 5 is turned off or X1200 is turned off, there is no power output at 5V OUT.
 

Anonymous user #10

4 months ago
Score 0  
I'm planning on making my own case and want to align the ports of the pi, X1200 and HAT of my choice with my design. To do this I would like to know the thickness of the X1200 PCB and the thickness of the spacers that seem to be permanently attached to the board.
 

Lisa

4 months ago
Score 0  
Hi,please contact us by email[info@geekworm.com],and please let us know your order No.;thank you.
 

Anonymous user #9

4 months ago
Score 0  
Good afternoon, where can I get the 3D model files to build the case? I need a Geekworm X1200 model file in SLDASM or STEP format.
 

Lisa

4 months ago
Score 0  
Sorry,we don't have 3D files, you can refer to :X1200#User Manual--Dimensions source file (DXF)
 

Anonymous user #8

5 months ago
Score 0  

I'm using the RTC wakeup to schedule the power on my rpi5, along with POWER_OFF_ON_HALT=1 to save energy when powered off.

According to the documentation the x1200 will cut off the power if the rpi5 is powered off. Is there a way to disable this feature and let the x1200 output power even if the rpi5 is shutdown?

Or is there an alternative way to use the RTC wakeup when the rpi5 is connected to the X1200?
 

Lisa

5 months ago
Score 0  
Hi,Sorry, X1200 UPS does not support RTC wakeup.
 

Anonymous user #7

5 months ago
Score 0  
Is it possible to change the auto shutdown behavior to turn the raspberry pi off after a certain amount of time on battery rather than when the battery is low?
 

Anonymous user #7

5 months ago
Score 0  

OK so I got pretty close by modifying the included pld.py script. I can get it to shutdown when on battery with a delay. However, it will execute the second the pi is on battery. I would rather it be on battery for say 10 seconds so random power drops don't shut it down. Any idea on how to implement this?

  1. !/usr/bin/env python3
  2. This python script is only suitable for UPS Shield X1200, X1201 and X1202

import gpiod import time from subprocess import call

PLD_PIN = 6 chip = gpiod.Chip('gpiochip4') pld_line = chip.get_line(PLD_PIN) pld_line.request(consumer="PLD", type=gpiod.LINE_REQ_DIR_IN) try: while True: pld_state = pld_line.get_value() if pld_state == 1: pass else: time.sleep(1) call("sudo nohup shutdown -h now", shell=True) #uncomment to implement shutdown when power outage

finally:

pld_line.release()
 

Harry

5 months ago
Score 0  

Yes.

You can do this via script, just implement a timer in the script.
 

Anonymous user #6

5 months ago
Score 0  
I prefer to buy a battery-hat with a flat or cubic battery than cylindrical one.
 

Lisa

5 months ago
Score 0  
Hi,X1200 does not support batteries other than 18650. For the requirements of 18650 batteries, please refer to X1200#FAQ-- [What battery is recommended for this ups shield].If you want to use lithium batteries, we recommend you use X1203
 

Anonymous user #5

7 months ago
Score 0  
where to buy?
 

Lisa

7 months ago
Score 0  
Hi, X1200 is out of stock and is still in production.
 

Harry

6 months ago
Score 0  
 

Anonymous user #3

8 months ago
Score 0  
It mentions above that "Battery charging control can be managed via GPIO". I cannot find any information on how to do this, does anyone have information about this? It would be nice if I could stop charging the cells at a configurable percentage.
 

Lisa

7 months ago
Score 0  
Hello,please refer toX1200 Hardware---Raspberry Pi GPIO used
 

Anonymous user #3

7 months ago
Score 0  

For anyone else looking for the method to control the charging: "pinctrl set 16 op dl" will ENABLE charging the 18650 cells.

"pinctrl set 16 op dh" will DISABLE charging the 18650 cells.
 

Anonymous user #4

7 months ago
Score 0  

Yes, that will work temporarily, but you should likely be using

'pinctrl set 16 pu' to stop charging and 'pinctrl set 16 pd' to start charging.
 

Harry

7 months ago
Score 0  

Simple control of charging via GPIO16:

pinctrl set 16 op dh

- stops charging

pinctrl set 16 op dl

- starts charging

default is charging mode
 

Anonymous user #2

8 months ago
Score 0  
Hi. Can this board be used for the Raspberry pi 4? I cannot use the 40 pin header as your 4 board does.
 

Lisa

8 months ago
Score 0  
Not support Pi4, because it power Pi5 via [pogo pin], you can use X-UPS1 or X703
 

Anonymous user #1

9 months ago
Score 0  
Can Raspberry Pi 5 be powered thru the XH2.54 2-pin 5V Out connector only?
 

Lisa

8 months ago
Score 0  
There is no need to do this as the Pi5 can be powered via the pogo pins.