No Products in the Cart
The X728 are finally here!!! We collect many customer feedback and gather customer request and then design this X728 UPS and power management board.
The X728 is an advanced uninterruptible power supply expansion board for all current models of the Raspberry Pi (Raspberry Pi 4B/3B+/3B/2B/B+) using a 40 pin header.
It provides 5.1V 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 real- time clock.
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.
[For Use With]
Smart and powerful Uninterruptible Power Supply (UPS)
Intelligent and safe power management
Integrated Hardware DS1307 Real Time Clock (RTC) with Battery Back-Up
There are two accessories X728-A1 cooling fan and X728-A2 18650 2-Cell battery holderto be released in the future for X728 board.
How to solve the heat dissaption problem for Raspberry Pi 4?
You can use Geekworm Rasperry Pi 4 embedded heatsink with cooling fan to get better heat dissaption for Raspberry Pi 4.
Power Jack and Connectors
|Power input||5Vdc +/- 5% ,≥3A|
|DC Power Plug Size||5.5*2.5mm|
|USB power in socket||Type-C|
|UPS power output||5.1Vdc 8A|
|Power output connector||XH2.54mm 2pin|
6-Pin Function Header
(Power loss detection)"
|Short - AC Power loss or power adapter failure detection enabled
(Active if power adapter disconnected) Open - Power loss detection disabled
|Short - Auto power-on when power applied
(Will delay 3 seconds before powering on) Open - Auto power-on disabled
|Short - Automatic shutdown enabled when battery low (≤3Vdc )
(Battery must be >3V and installed before enabling this function) Open - Short - Automatic shutdown disabled
Connector for External Power Switch
|Pin No.||Pin Description|
|1||Power on/off control connecting to switch|
|3||LED+ for battery low indicator|
|4||LED+ for power on, rebooting and shutdown|
|Press and Release||Raspberry Pi and X728 turn on|
|Press and hold for 1~2 seconds||System rebooting|
|Press and hold for 3~7 seconds||System shutting down|
|Press and hold for >8 seconds||Force shutdown|
|BAT LOW||LED red on indicates battery low (≤3.0Vdc) or blue power button pressed (Jumper for ASD inserted)|
|5V OUT||LED green on flashing indicates 5V power out and UPS powered by battery|
|AC FAIL||LED red on indicates AC power loss or PSU failure or PSU disconnected|
|PWR||LED blue indicates
Stays on - Power on Blinks rapidly - system rebooting Blinks slowly - Shutting down
Fuel gauge - LED Indicator
Operation of Discharging:
|Capacity C (%)||D1||D2||D3||D4|
Operation of charging:
|Capacity C (%)||D1||D2||D3||D4|
Pins and GPIO used
|2, 4||+5V power supply|
|3, 5||I2C for RTC and battery fuel-gauge systems|
|29||GPIO5 for power management|
|32||GPIO12 for power management|
|33||GPIO13 for power management|
|31||GPIO6 for AC power loss detection (Jumper for PLD inserted, High=power loss,Low=Power supply normal)|
18650 battery dimension
Do not use 18650 battery with built-in protection circuit.
The following test is base on '2020-02-13-raspbian-buster.img'
Python version: V2.7
1. Enable I2C funcion on Raspbian:
Select 5 Interfacing Options and then P5 I2C - Enable/Disable automatic loading. A prompt will appear asking Would you like the ARM I2C interface to be enabled?, select "Yes"
Select "Finish" to return to the command line and reboot your raspberry pi.
2. Install necessary software (python and i2c tool library)
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
3. Download x728 setup scripts:
git clone https://github.com/geekworm-com/x728.git cd x728
4. Install script&reboot:
sudo bash x728.sh printf "%s\n" "alias x728off='sudo x728softsd.sh'" >> ~/.bashrc sudo reboot
5. Set and Read the RTC time
#If you need to set the system time for any reason you can use the following command : date -s "5 MAR 2019 13:00:00"
#Write the system date and time to the RTC module after your correct the system date and time : sudo hwclock -w
#Read the date and time back from the RTC module: sudo hwclock -r
6. How to reading battery voltage and percentage, this is the sample code, you can modify it by your request.
|sudo python x728bat.py|
7. Power off command on Raspbian from software
8. Testing AC power off/loss or power adapter failure detection (need to shor the 'PLD' pin)
|sudo python x728pld.py|
I am writing some code in Golang (not Python) to interact with the Maxim fuel gauge chip you use on the DC UPS board (x728) I have the board up and running, and the Python code you provided works perfectly, but i need to integrate more control into my Golang program. Can you please tell me what Maxim chip you use? I have looked at your Wiki on the x728 boardm and it only talks about “Maxim’s fuel-gauge systems” but does not provide the part number. Please can you do so as this is going to make development for me a lot easier, thank you.
Power supply Via DC power jack : 5Vdc ±5%, ≥4A；
You can enter the store to search for x728, or buy directly here：https://geekworm.com/products/raspberry-pi-x728-max-5-1v-8a-18650-ups-power-management-board?variant=32690495488088
If any questions, please email to us【email@example.com】
How can I purchase this UPS from you.
What is the range of the input voltage of the DC Jack?
My skype address is
Please quick communication