X728
Overview
[NOTE]: X728 supports also Raspberry Pi 5 hardware, the installation script is updated. Refer to X728-script
The X728 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 6000mA 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, battery capacity reading, and a real- time clock(RTC), buzzer alarm.
The X728 reserves the 40-pin header that can be stacked with other Raspberry Pi accessory boards for enhanced applications. The X728 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.
Video Test Max 5.1V 6000mA Output: https://youtu.be/m_oIDrMEp0U
Note: X708, X703 UPS does not support Raspberry Pi 5.
Update History
X728 V2.5
Released on 27th July. 2023;
Adds battery charging control via GPIO16, and this function is only suitable for advanced players, please refer to How to Use GPIO16 to control battery charging for specific usage.
X728 V2.3
Released on 20th Aug. 2022;
No any functional changes; just change the SMD 18650 battery holder to a pin battery holder to improve the reliability of battery holer soldering.
WARNING!!!
- Please be sure to install the X728 and Raspberry Pi in the correct order. The copper pillars must be fixed before installing the x728. Avoid short circuit caused by the X728 board touching the USB connector of the motherboard, which may cause the chip to be burned.
- 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 "-".
Installation Video:https://youtu.be/q_TmqMNhJPM
X728 V2.2
Adds Battery Reverse Polarity Protection circuit & LED indiciators on v2.2
X728 V2.1
Released on 23th Sep. 2021;
Update:
- New add a buzzer controled by GPIO20
- DC jack is changed from DC5525 to DC5521.
- User guide refer to X728-Software
X728 V2.0
- PIN33 (GPIO13) is replaced by the PIN37 (GPIO26) to avoid the I2S interface from v1.3 to v2.0.
- Improve the power path function, the battery will only charge and not discharge when connected to the PSU(power supply unit). [The PSU power will charge the battery and also pass through to the RPi when it has power. If the PSU loses power (power failure), the X728 will switch over to battery power.]
- You can choose to charge when boot up by short "CHG EN" and stop charging at shutdown.
- Increase battery overcharge, overdischarge protection circuit, added power input surge protection circuit.
- PCB Size change: 87x63.7mm
X728 V1.3
X728 V1.3 is released at Febuary 2021.
- Remove the hardware ASD function and change it to software implementation
- The charging power indicator (LED1-LED4) is relatively brighter than V1.2.
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 X728 on the wood material or carpet and unattended.
- Must keep the X728 away from children.
- Please watch Main Video and Tutorial Video regarding 18650 batteries at: https://www.staysafebattery.com/en/
- Battery Recommend for X728 board, please refer to: File:NCR18650B.pdf
Features
FOR USE WITH
- Raspberry Pi 1 Model B+/ 2 Model B / 3 Model B / 3 Model B+ / 3 Model A+ / 4 Model B/ 5 Model B
OPERATING SYSTEM
- Raspbian Stretch
- Safe shutdown function tested for Raspbian, other operating systems to be tested and advised
KEY FEATURES
X728 18650 UPS + Power management board
- 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 6000mA Power Backup for even the most demanding RPi set ups
- Can work with X728-A2 2-cell battery holder(discontinued) / X708-A1 8-cell battery holder to increase battery capacity
- Supports 3000mA 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
- On-board 4 green LEDs indicate battery charging and discharging levels of 25%, 50% , 75% and 100%
- 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 through 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 detection)
- On-board pin header allows to select auto power-on when power supplied
- Automatic safe shutdown when battery low (voltage <3.0V)
- Ultra-low standby power consumption to maximize battery life
- Operate in both charge mode and boost mode to allow full system management and battery power management
- 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
- Integrated Hardware DS1307 Real Time Clock (RTC) with Battery Back-Up
- Keeps track of the time while the Raspberry Pi is switched off
- Allows the Raspberry Pi to retrieve the current date and time when it is switched back on
- Uses the 18650 battery to maintain the date and time - no additional battery required
- Powers the Raspberry Pi via the 40-pin header - no additional cabling required
- On-board 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
- Reserves the 40-pin header that can be stacked with other Raspberry Pi accessory boards
SPECIFICATION
- Power supply via Type-C socket : 5Vdc ±5%, ≥3A, Via DC power jack : 5Vdc ±5%, ≥4A
- UPS output : 5.1V ±5% Max 6A
- UPS charging current: 2.3~3.2A
- Terminal Battery Voltage : 4.24V
- Recharge Threshold : 4.1V
Note:
- Do not apply power to your Raspberry Pi via the Micro USB socket or Type-C socket.
- Do not use 18650 battery with built-in protection circuit
PCB Size
- X728 V2.0/V2.1/V2.2: 87x63.5mm
- X728 V1.3: 85x63.5mm
How to Power
- Power via DC5521 Jack of X728, 5.1Vdc +/-5% , ≥4A (DC5525 Jack is compatible with DC5521, also support 5V PSU with DC5525 Jack)
- Power via USB Type-C port of X728, 5.1Vdc +/-5% , ≥3A (Geekworm Type-C 5V 4A 20W power supply is recommended.)
Packing List
- X728 Expansion Board x 1
- Screw M2.5 *5mm x 8
- Spacer M/F M2.5 *20mm x 4
- Spacer F/F M2.5 *20mm x 4
- Jumper link Pitch 2.54mm x 3
User manual
- X728-script: This is script installation tutorial for X728 shield
- x728-hardware: Provides some hardware parameter information.
X728-C1
X728-C1 is a metal case for X728 V2.3/V2.2/V2.1/V2.0 or X708/X735.
Installation Video: https://youtu.be/QOG30LXb6ds
X728-A1
X728-A1 Optional Raspberry Pi cooling fan
- Completely solve the overheating problem of your Raspberry Pi
- Efficient drop temp of your Raspberry Pi by using the X728-A1
- Stackable design allows you to connect both X728 and X728-A1 on your Raspberry Pi
- On-board XH2.54 power output connectors allow to power other devices
- Reserves the 40-pin header that can be stacked with other Raspberry Pi accessory boards
Packing List:
- 1 x X728-A1 Shield
- 4 x M2.5*12 F/F Spacer
- 4 x M2.5*25 + 6 M/F Spacer
- 8 x M2.5*5 screwss
X728-A2
X728-A2 Optional 18650 2-Cell battery holder
- Stackable 18650 two cells lithium Ion holder
- Ideal solution to increase battery capacity
- Integrated battery protection circuit
X728 Extended Application
FAQ
Q:Why Raspberry Pi is randomly rebooting all the time?
A:You can follow the steps to test if the X728 issue:
a:Take the X728 off from the Raspberry Pi, remove all the batteries, power supply, and all jumper caps. Then connect the battery or power supply, press the blue power button on X728, the blue LED should be on, and then press and hold the power button for more than 8 seconds, the blue LED should be off.(These steps indicate that the X728 has no issue.)
b:Please check and confirm if other device occupy the GPIO with X728.
c:Still not find out the issue, please attach a video to contact us show more details.
Q: Why the X728 V1.3 remove the ASD function?
A: Because the ASD jumper will generate some issues, so we remove the ASD jumper, but now you can achieve ASD function by software. Read the voltage through I2C, and then decide whether to shut down.
Q1: Why X728 V1.2 automatically shuts down?
A: 1. X728 V1.2 will automatic safe shutdown when battery voltage is low than 3.0V, please charge in time;
2. Please try the following operation by step:
- Remove all jumper cap,
- Remove all 18650 battery
- Place 18650 battery again and wait a few seconds before testing
3. What battery is recommended for X728?
A:Because there are so many kind of batteries, and the quality is also various. So we suggest to use the NCR18650B from Panasonic. Also do not use 18650 battery with built-in protection circuit for X728.
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: About auto shutdown, found your board auto shutdown.
A: Please check if enable the ASD function (shorted the ASD header), if you enable the ASD function, please make sure your operation is right: first, place the battery into the battery holder, insert the jumper to ASD header after 3 seconds,this is very important!!
Q5:Is the recharge threshold and terminal battery voltage adjustable? I want to keep the batteries between 80% and 20%
A: Sorry, this is not support.
Q6: Which GPIO is used to power the X728-A1 cooling fan?
A: The X728-A1 does not occupy the GPIO, it use the PIN 2,4 to provide the power.
Q7: How can I remove all software created by the setup and start over?
A: 1) sudo /etc/rc.local , delete x728pwr.sh
2) sudo rm /etc/x728pwr.sh
3) sudo rm /usr/local/bin/x728softsd.sh
Q8: What are GPIO5 and GPIO12 used for X728 V1.3/V2.0?
A: GPIO5 control shutdown, GPIO12 BOOK OK.
Q9: Are the batteries on X728 hot-swappable? In other words, can I connect an external power supply and swap the batteries out while that is on?
A:Sorry, the batteries on X728 is not support hot-swappable. Please cut off the power to swap the batteries.
Q10: Does the rtc have a separate battery? or does it run on the 18650 batteries? what happens if you remove them? will it "lose" time?
A:No, the RTC function runs on the 18650 batteries. It will "lose" time if you remove the batteries.
Q11: What will lead to the X728 board be burnt out?
A: Please make sure the polarity of battery is "+" to "+" and "-" to "-" and match with the "+" "-" mark on battery holder. The battery protection chip IC will be over-current, heat and then burnt if one or two of the batteries are connected reversely. PS: the X728 board will not be burnt immediately if one or two of the batteries are connected reversely.
Q11: What frequency does X728 use in the I2C communication bus used to communicate with RPI?
A: It depends on the motherboard and OS, please refer to this topic as reference: https://forums.raspberrypi.com/viewtopic.php?p=312582
Q12: What the maximum current rating of X728-A1 is?
A: The maximum current rating of X728-A1 is 90MA.
Enable comment auto-refresher
Anonymous user #72
Permalink |
Anonymous user #72
Anonymous user #70
Permalink |
Lisa
Anonymous user #69
Permalink |
Lisa
Anonymous user #71
Anonymous user #68
Permalink |
Lisa
Anonymous user #67
Permalink |
Anonymous user #67
Anonymous user #67
Anonymous user #65
Permalink |
Anonymous user #66
Anonymous user #65
Permalink |
Lisa
Anonymous user #64
Permalink |
Lisa
Anonymous user #63
Permalink |
Harry
Anonymous user #62
Permalink |
Walker
Anonymous user #59
Permalink |
Walker
Anonymous user #58
Permalink |
Walker
Anonymous user #61
Walker
Anonymous user #61
Walker
Lisa
Anonymous user #57
Permalink |
Walker
Anonymous user #56
Permalink |
Walker
Anonymous user #55
Permalink |
Walker
Anonymous user #60
Anonymous user #54
Permalink |
Walker
Anonymous user #53
Permalink |
Walker
Anonymous user #52
Permalink |
Walker
Anonymous user #51
Permalink |
Cindy
Anonymous user #50
Permalink |
Cindy
Anonymous user #49
Permalink |
Anonymous user #49
Anonymous user #49
Anonymous user #48
Permalink |
Lisa
Anonymous user #47
Permalink |
Lisa
Anonymous user #45
Permalink |
Lisa
Anonymous user #46
Anonymous user #43
Permalink |
Lisa
Anonymous user #44
Lisa
Anonymous user #42
Permalink |
Lisa
Anonymous user #42
Lisa
Anonymous user #40
Permalink |
Anonymous user #40
Permalink |
Harry
Anonymous user #41
Permalink |
Lisa
Anonymous user #40
Permalink |
Lisa
Anonymous user #39
Permalink |
Lisa
Anonymous user #38
Permalink |
Anonymous user #38
Lisa
Anonymous user #37
Permalink |
Lisa
Anonymous user #36
Permalink |
Anonymous user #36
Lisa
Anonymous user #35
Permalink |
Lisa
Anonymous user #35
Anonymous user #35
Lisa
Anonymous user #35
Anonymous user #34
Permalink |
Lisa
Anonymous user #33
Permalink |
Lisa
Anonymous user #32
Permalink |
Lisa
Anonymous user #31
Permalink |
Anonymous user #30
Permalink |
Lisa
Anonymous user #29
Permalink |
Lisa
Anonymous user #16
Permalink |
Lisa
Anonymous user #28
Permalink |
Lisa
Anonymous user #27
Permalink |
Lisa
Anonymous user #27
Anonymous user #27
Permalink |
Lisa
Anonymous user #27
Anonymous user #26
Permalink |
Lisa
Anonymous user #26
Permalink |
Anonymous user #26
Anonymous user #25
Permalink |
Lisa
Anonymous user #24
Permalink |
Lisa
Anonymous user #23
Permalink |
Lisa