Changes

Jump to navigation Jump to search

X728

15,243 bytes added, 22 March
[[File:IMG-0449-interface-EN.jpg|thumb|right|X728 V2.5 Interface]]
[[File:X728-V2.3-Interface-EN.jpg|thumb|right|X728 V2.3 Interface]]
[[File:X728-V2.0-IMG-0449-接口示意EN.jpg|thumb|right|X728 V2.2 Interface]]
[[File:X728-V2.1-interface-EN.jpg|thumb|right|X728 V2.1 Interface]]
[[File:X728-V2.1-Jumper cap function.jpg|thumb|right|X728 V2.1 Jumper Cap Function]]
[[File:X728-V2.1-packing-list.jpg|thumb|right|X728 V2.1 packing list]]
[[File:X728-V2.0-IMG-0445-Jumper.jpg|thumb|right|X728 V2.0 Jumper cap function]]
[[File:IMG 9490-Interface.jpg|thumb|right|X728 ups board-Interface]]
[[File:X728-IMG-7976-跳线说明.jpg|thumb|right|X728 V1.3 ups board-Jumper cap function]]
[[File:X728-IMG-7975.jpg|thumb|right|X728 ups board]]
[[File:X728-IMG-7957.jpg|thumb|right|X728 v1.2 ups board-Back]]
[[File:X728-A1-IMG-8199-Packing-List.jpg|thumb|right|X728-A1 Packing List]]
[[File:X728-A2-IMG-8211-Packing-List.jpg|thumb|right|X728-A2 Packing List]]
[[File:01-IMG-3946-main.jpg|thumb|right|X728-C1 metal case for X728 V2.x/x735/x708]]
[[File:IMG-3916-acce.jpg|thumb|right|x728-c1 Accessories]]
[[File:X728-PCB.png|thumb|right|X728 V1.3 PCB Layout]]
[[File:X728_V2.0_PCB_Layout.jpg|thumb|right|X728 V2.0 PCB Layout]]
[[File:X728-V2.1-PCB.png|thumb|right|X728 V2.1 PCB Layout]]
 
{{GD Template Impl}}
 
==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
 
<span style="color:red;"> 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 [[X728-script#How to Use GPIO16 to control battery charging|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.
 
<span style="color:red;">'''WARNING!!!'''
* <span style="color:red;">'''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.
* <span style="color:red;">'''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==
* <span style="color:red;">You must read these safety instructions and warnings before charging your batteries.
* <span style="color:red;">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.
* <span style="color:red;">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 "-".
* <span style="color:red;">Do not mix and use old batteries and new batteries, or batteries with different brand names.
* <span style="color:red;">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.
* <span style="color:red;">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.
* <span style="color:red;">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|X728 battery recommend]]
==Features==
===FOR USE WITH===
* 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
 
===KEY FEATURES===
<span style="color:red;font-weight:bold">X728 18650 UPS + Power management board</span>
* 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#X728-A2|X728-A2]] stackable 2-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
<span style="color:red;font-weight:bold">Note:
* <span style="color:red;font-weight:bold">Do not apply power to your Raspberry Pi via the Micro USB socket or Type-C socket.
* <span style="color:red;font-weight:bold">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-Software]]: This script is required to install to enable safe shutdown function.
* [[x728-hardware]]: Provides some hardware parameter information.
==DocumentX728-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 <gallery>01-IMG-3946-main.jpg|for X728 V2.x/x735/x70802-IMG-3892-开关卖点.jpg|with metal switch03-IMG-3894-散热.jpg|active cool04-IMG-3907-场景图.jpg|application06-IMG-3941-size.jpg|dimensionIMG-3916-acce.jpg|x728-c1 AccessoriesIMG-3945-GPIO排线.jpg|with GPIO hole</gallery> ==X728-A1==<span style="color:red;font-weight:bold">X728-A1 Optional Raspberry Pi cooling fan</span>* 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 ==X728-A2==<span style="color:red;font-weight:bold">X728-A2 Optional 18650 2-Cell battery holder</span>* Stackable 18650 two cells lithium Ion holder* Ideal solution to increase battery capacity* Integrated battery protection circuit ==X728 Extended Application== [[File:How-to-Connect-Raspi-and-X728-IMG-8330-970X600.jpg|970px|How to Connect Raspi and X728]] [[File:X728+X708-A1.jpg|970px|X728 with X708-A1]] [[File:IMG-5934-1.jpg|970px|X825 + X728 + X708-A1 + X728 A2]] [[File:X825-x728-IMG-5941-1.jpg|970px]]
==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.
 
 
</pre>
 
 
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 <span style="color:red;">after 3 seconds</span>,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.
 
 
<span style="color:red;font-weight:bold">Q11: What will lead to the X728 board be burnt out?</span>
 
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.
<!--增加评论功能! -->

Navigation menu