From Geekworm
Jump to navigation Jump to search

X708 Battery
18650 battery size

Why did X708 come out?

Although we provide a compelete raspberry pi NAS solution with NAS shield(X825/X857/X829/X835 etc.),X735 and matching metal case, but we still have received many feedbacks that want to support UPS, so we have to respond to this request.

Our original intention of designing X708 is to match with NAS shell (such as X829-C1, X857-C1, X825-C7) to provide a raspberry pi NAS solution with UPS function. In order to save space, we must separate the battery from the UPS expansion board when designing . This is also the biggest difference between X708 and X728;

Please refer to U100 if you want a cheap version, U100 provides enough voltage&current output and AUTO Power on funtion, no extra programmable function.


The X708 is an advanced uninterruptible power supply expansion board for all current models of the Raspberry Pi using a 40 pin header. It provides 5.1V Max. 8000mA Power Backup for even the most demanding Raspberry Pi set ups, intelligent and safe power management, safe shutdown,AC power loss/ power adapter failure detection , auto power-on, full poweroff from software, and a cooling fan.

The X708 reserves the 40-pin header that can be stacked with other Raspberry Pi accessory boards for enhanced applications. The X708 can also be used with the X825/X828/X829 (2.5" HDD/SSD Shield) and X857/X862/X872(MSATA/M.2 SSD shield) for safe data backup.

There is a 8-cell 18650 battery holder X708-A1 for X708, please refer to X708-A1.

Some key features:

  1. Excellent UPS function such as Power Loss Detection(PLD), Automatic Safe Shutdown(ASD), Auto Power On(AON) etc., DC 5V Max. 8A output;
  2. With cooling fan, no extra cooling solution.
  3. HAT size. Separate the battery from the expansion board, which can save a lot of space, which will bring more flexibility.
  4. Reserved two kind battery port (XH2.54 and PH2.0), supports 3.7V 18650 lithium battery and 3.7V lithium polymer battery, No capacity limit, only request 3.7V lithium battery (No include lithium battery)

What you may care about

A: I want to a NAS storage solution, Does X708 support?

Q: We have received many feedbacks that want to support UPS, so we design the X708 base on X728, we separated the battery holder from the UPS expansion board to save space, thus X857-C1(metal case for mSata NAS solution), X829-C1 (metal case for dual 2.5" sata NAS solution), X825-C7(metal case for singel 2.5" sata NAS solution) can hold the all accessories needed for the complete NAS solution. There metal case can hold 2 cell 18650 battery holder.

A: I want to use a larger capacity or more 18650 batteries, what should I do?

Q: In this case, the inside space of metal case is definitely not enough, but you can place the battery outside the metal case. We have reserved a hole at the back of the metal casing for you to connect to the battery cable.

A: Is there a corresponding UPS NAS solution for 3.5-inch hard drives?

Q: Sorry, There is no UPS NAS solution for 3.5-inch hard drive because the 3.5-inch hdd request 12V voltage, so we have no plans to support this demand for the time being. BUT you can refer to X835//X832, and they can solve some of your needs, they need external power supply.

Safety Instructions and Warnings

You must read these safety instructions and warnings before charging your batteries.

  • Lithium Polymer and Li-ion batteries are volatile. Failure to read and follow the below instructions may result in fire, personal injury and damage to property if charged or used improperly.
  • Never make wrong polarity connection when charging and discharging battery packs. Always double check polarity of battery's connector to make sure "+" to "+" and "-" to "-".
  • Do not mix and use old batteries and new batteries, or batteries with different brand names.
  • Lithium batteries has it's cycle life, please replace old battery with new one when it reaches it's service life or when it is two year old, whichever comes first.
  • When charging Battery Pack, please put battery in a fire proof container. Please don't leave the X708 on the wood material or carpet and unattended.
  • Must keep the X708 away from children.
  • Please watch Main Video and Tutorial Video regarding 18650 batteries at: https://www.staysafebattery.com/en/



Raspberry Pi 1 Model B+/ 2 Model B / 3 Model B / 3 Model B+ / 3 Model A+ / 4 Model B

Operating System
  • Raspbian Stretch
  • Safe shutdown function tested for Raspbian, other operating systems to be tested and advised

Smart and powerful Uninterruptible Power Supply (UPS)

  • Provides continuous operations for up to 10~30hours (depending on battery type and qty used)
  • Max 5.1V 8000mA Power Backup for even the most demanding RPi set ups
  • Supports 2A/3A fast battery charging
  • Integrated over current protection and over voltage protection
  • Integrated Maxim's fuel-gauge systems (Reading battery voltage and percentage via i2c)
  • Integrated 10-A fully-integrated synchronous boost converter
  • Intelligent automatic charging and discharging
  • Operate in both charge mode and boost mode to allow full system management and battery power mgt
  • Integrated IN-to-SYS pass-through path to pass the input voltage to the system
  • Advanced system power-path management avoids batteries frequent charging and discharging
  • Advanced system power-path management allows 3A fast charging and powering Raspberry Pi at the same time
  • On-board 4 green LEDs indicate battery charging and discharging levels of 25%, 50% , 75% and 100%
  • Batteries attach via PH2.0-2P or XH2.54-2P

Intelligent and safe power management

  • Equipped with momentary button for easy power control
  • Press the button to turn on
  • Press the button and hold for 1~2seconds to reboot
  • Press the button and hold for 3~7seconds to implement safe shutdown
  • Press the button and hold for >8seconds to force shutdown
  • Supports safe shutdown and full poweroff from software
  • On-board blue LED shows the status of power on, reboot and shutdown
  • AC power loss or power adapter failure detection (LED and GPIO indication)
  • Optional to enable Auto power on when power applied or restored
  • Automatic safe shutdown when battery low (voltage <3.0V)
  • Ultra-low standby power consumption to maximize battery life

Integrated cooling fan that allows the heat from your Raspberry Pi to dissipate!

  • Completely solve the overheating problem of your Raspberry Pi
  • Efficient drop temp of Raspberry Pi CPU


  • Powers the Raspberry Pi via the 40-pin header - no additional cabling required
  • Standard Raspberry Pi extension interface, compatible with other expansion boards
  • DC power jack (5.5*2.5mm) and Type-C socket convenient for power input
  • On-board PH2.0 connector allows to connect external power switch and DIY your perfect case
  • On-board XH2.54 power output connector allows to power other devices
  • Power supply via Type-C socket: 5Vdc ±5%, ≥3A; Via DC power jack: 5Vdc ±5%, ≥4A
  • UPS output : 5.1V ±5% Max 8A
  • UPS charging current: 1.8~2.2A / 2.3~3.2A
  • Terminal Battery Voltage : 4.24V
  • Recharge Threshold : 4.1V
  • Battery: 3.7 Lithium Battery
  • Do not apply power to your Raspberry Pi via the Micro USB socket or Type-C socket.
  • Must use the battery with built-in protection circuit.

Packing List

  • 1x X708 Expansion Board
  • 8x M2.5 *5mm Screws
  • 4x M2.5 *12+6mm Spacers
  • 4x M2.5 *12mm Spacers
  • 2x Jumper link Pitch 2.54mm

User Manual


Q1:What battery is recommended for X708?

A:Please use big brand and high quality batteries, like PANPASONIC, Toshiba... Also the batteries for X708 must have built-in protection circuit.

Q2: We want automatic shutdown when the external AC power supply is disconnected, is possible?

A: Yes. you can program a script to get this function. Example (The following is a pseudo code):

while (1) {
  // invoke the API to get AC PSU status: connected or disconnected
  int disconnected_flag = getACPSUStatus(); 	// please refer to the user manual to achieve getACPSUStatus function;
  int battery_voltage = getBatteryVoltage();    // please refer to the user manual to achieve getBatteryVoltage function;
  // You can make your own actions based on disconnected_flag and battery_voltage, you can only select one condition also
  if (disconnected_flag) {
    // execute linux or software shutdown command


Q3: How to restart the pi board when AC Power supply is connected?

A: Please enable 'AUTO POWER ON' or 'AUTO ON' function if you want restart when the AC Power supply is reapplied.

Q4: Which lithium battery can be used:

A: to meet the following 2 conditions

1. Working voltage: 3.6V-3.7V

2. Maximum voltage after full: 4.2V

Q5: What type connector to request for lithium battery?

A: X708 provides two type battery connectors: PH2.0-2P and XH2.54-2P, you can connect two battery at the same time, BUT please use the same model batteries, also please pay attention that the polarity of the XH2.54 and PH2.0 connectors is different.

Q6: About auto shutdown, found your board will auto shutdown.

A: Please check if enable the ASD function (shorted the ASD header), if you enable the ASD function, please sure your oeration is right: first, place the battery into the battery holder, insert the jumper to ASD header after 3 second,this is very important!!

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

Anonymous user #4

one month ago
Score 0++

Like the other poster mentioned I do not think 18650 with protection circuit will even fit this board.

Can you please confirm/correct the information about the protection circuit?


8 days ago
Score 0++
FWIW, I'm using a married set of LG HG2s (married here just means that they've always been used together, never as individual cells; it's likely unimportant here, as the power draw is minimal). These are unprotected, high-capacity, high-drain LiON batteries that can be had at places like IMRbatteries dot com for a few bucks a pop. Highly recommended.


one month ago
Score 0++
Where do I find the code "getACPSUStatus()" to the answer to question 2 ?


one month ago
Score 0++

It is a shame that the software for the X708 does not appear to be working. I have posted questions on https://rasp...708-Software and my question is being ignored. The command 'x728off' does not do anythng. The command line reply is 'X728 Shutting down', but nothing happens.

Any ideas anyone?

Anonymous user #5

24 days ago
Score 0++

It definitely works. I just received mine last couple of days. You must have missed an enabling step, also be sure that you have power connected to x708 and not the PI directly.

1. Enable i2c 2. Reboot 3. clone x728 project from github 4. Open x728.sh and comment out first four lines 5. Install the x728 features/scripts

6. sudo x728softsd.sh #shut it down

Anonymous user #6

16 days ago
Score 0++
do we have a step by step guide to do this? what is the enabling step? i would appreciate a noobs guide please thanks!

Anonymous user #2

one month ago
Score 0++

Q:What battery is recommended for X708?

A:Please use big brand and high quality batteries, like PANPASONIC, Toshiba... Also the batteries for X708 must have built-in protection circuit.


2 days ago Score 0++ In fact, you can use the 18650 battery witout safety circuit, and it's more better.



Anonymous user #3

one month ago
Score 1++


Is it possible to turn on/off fan from software or control fan speed?

Anonymous user #2

one month ago
Score 0++

Which is it a battery WITH built-in protect circuit or WITHOUT???

Will this fit the n300 case?

Is I2C address changeable?

Anonymous user #1

2 months ago
Score 0++
I have not found any 18650 Lithium ion batteries with a safety circuit that are 65.3 mm long. All of the 18650 type batteries with a safety circuit are 68-69 mm long. Comments??


one month ago
Score 0++
In fact, you can use the 18650 battery witout safety circuit, and it's more better.