X700
⚠️ Deprecated: This page is outdated and may contain inaccurate information. It is kept for reference only.




Overview
The X700 is a multifunctional expansion board for all current models of the Raspberry Pi using a 40 pin header. It provides intelligent and safe power management, safe shutdown, full poweroff through software and an advanced uninterruptible power supply. The X700 reserves the 40-pin header that can be stacked with other Raspberry Pi accessory boards for enhanced applications. The X700 can also be used with the X820 (2.5" HDD/SSD Shield), X850 (MSATA SSD shield), X822, for safe data backup.
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 X700 on the wood material or carpet and unattended.
- Must keep the X700 away from children.
Features
| ITEM | DESCRIPTION |
|---|---|
| Compatible with |
|
| OPERATING SYSTEM |
|
| KEY FEATURES |
Smart Uninterruptible Power Supply (UPS)
Intelligent and safe power management
Other
|
| Specification |
|
| NOTE |
|
Packing List
- 1 x X700 board
- 1 x Installation screw pack (Spacer F/F M2.5*20, Screw M2.5*6)
Document
Power management chip docuemtn: File:MAX17040-MAX17041.pdf
X700 use the same script with X730.
We test this shell script base official Raspbian '2018-11-13-raspbian-stretch.img' version;
wget https://raw.githubusercontent.com/geekworm-com/x730-script/master/x730.sh sudo chmod +x x730.sh sudo bash x730.sh printf "%s\\n" "alias x730off='sudo x730shutdown.sh'" >> ~/.bashrc sudo reboot
How to Reading battery voltage and percentage
Please refer to File:X700-ups.zip
#X700 Battery voltage & precentage reading
#!/bin/bash
sudo sed -e '/shutdown/ s/^#*/#/' -i /etc/rc.local
echo '#!/usr/bin/env python
import struct
import smbus
import sys
import time
def readVoltage(bus):
address = 0x36
read = bus.read_word_data(address, 2)
swapped = struct.unpack("<H", struct.pack(">H", read))[0]
voltage = swapped * 1.25 /1000/16
return voltage
def readCapacity(bus):
address = 0x36
read = bus.read_word_data(address, 4)
swapped = struct.unpack("<H", struct.pack(">H", read))[0]
capacity = swapped/256
return capacity
bus = smbus.SMBus(1) # 0 = /dev/i2c-0 (port I2C0), 1 = /dev/i2c-1 (port I2C1)
while True:
print "******************"
print "Voltage:%5.2fV" % readVoltage(bus)
print "Battery:%5i%%" % readCapacity(bus)
if readCapacity(bus) == 100:
print "Battery FULL"
if readCapacity(bus) < 20:
print "Battery LOW"
print "******************"
time.sleep(2)
' > /home/pi/x700ups.py
sudo chmod +x /home/pi/x700ups.py
Installation Guide
FAQ
Customer question 1: I will plug into my car lighter. i want to shut down when i turn off the car, and boot automatically when i turn on the car. will the x700 do both?
Answer: Yes, X700 should be able to meet your needs.
I recommend you use wall power supply to test it firstly. you need
Let me give you an example: If we turn the wall switch of the bedroom on, when the external power supply is on, the light is on, when the external power is off, the light is off.
Go back to X700, please refer to the second picture of ASIN, press down the 'Toggle button/ Select Button' to enable the Latching swith, then press the latching switch (this latching switch is equal to the wall switch).
BUT you use the car lighter, maybe you need to check your ignition line.
Question 2: Does the X700 support Auto Power On function?
Answer: Yes, the X700 is support auto power on, but the auto power on function use latching switch, so it you use the auto power on function then X700 will not support safely shutdown by software.