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.
[Safety Instructions]
[For Use With]
[Operating System]
[Key Features]
Smart and powerful Uninterruptible Power Supply (UPS)
Intelligent and safe power management
Integrated Hardware DS1307 Real Time Clock (RTC) with Battery Back-Up
[Specifications]
Note:
There are two accessories X728-A1 cooling fan and X728-A2 18650 2-Cell battery holderto be released in the future for X728 board.
X728-A1
X728-A2
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
Jumper Name | Usage |
---|---|
PLD
(Power loss detection)" |
Short - AC Power loss or power adapter failure detection enabled
(Active if power adapter disconnected) Open - Power loss detection disabled |
AON
(Auto power-on) |
Short - Auto power-on when power applied
(Will delay 3 seconds before powering on) Open - Auto power-on disabled |
ASD
(Auto shutdown) |
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 |
2 | Ground |
3 | LED+ for battery low indicator |
4 | LED+ for power on, rebooting and shutdown |
Power button (Script for power mgnt installed)
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 |
Function LEDs
LED Name | Usage |
---|---|
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 |
---|---|---|---|---|
C ≥75% | ON | ON | ON | ON |
50%≤C<75% | ON | ON | ON | OFF |
25%≤C<50% | ON | ON | OFF | OFF |
3%≤C<25% | ON | OFF | OFF | OFF |
0%<C<3% | Flashing | OFF | OFF | OFF |
Operation of charging:
Capacity C (%) | D1 | D2 | D3 | D4 |
---|---|---|---|---|
Fully charged | ON | ON | ON | ON |
75%≤C | ON | ON | ON | Flashing |
50%≤C<75% | ON | ON | Flashing | OFF |
25%≤C<50% | ON | Flashing | OFF | OFF |
C<25% | Flashing | OFF | OFF | OFF |
Pins and GPIO used
Pin No. | Usage |
---|---|
2, 4 | +5V power supply |
3, 5 | I2C for RTC and battery fuel-gauge systems |
6 | Ground |
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.
X728-Software Guide
The following test is base on '2020-02-13-raspbian-buster.img'
Python version: V2.7
1. Enable I2C funcion on Raspbian:
sudo raspi-config |
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 "OK"
Select "Finish" to return to the command line and reboot your raspberry pi.
sudo reboot |
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
x728off |
8. Testing AC power off/loss or power adapter failure detection (need to shor the 'PLD' pin)
sudo python x728pld.py |
Hi,
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.
Hello,Carl
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【info@geekworm.com】
Best regards
Hello.
How can I purchase this UPS from you.
What is the range of the input voltage of the DC Jack?
My skype address is
live:.cid.15e0e1e118c6e39
Please quick communication