From 8dc0bbd1eb3e2afa2ee14815e382c6b1d4fadb41 Mon Sep 17 00:00:00 2001
From: Jdaie <490844515@qq.com>
Date: Sun, 10 May 2020 15:48:17 +0800
Subject: [PATCH] Updated PiSugar2 Pro (markdown)
---
PiSugar2-Pro.md | 91 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 90 insertions(+), 1 deletion(-)
diff --git a/PiSugar2-Pro.md b/PiSugar2-Pro.md
index e642733..2abed01 100644
--- a/PiSugar2-Pro.md
+++ b/PiSugar2-Pro.md
@@ -1,3 +1,92 @@
-
\ No newline at end of file
+
+
+Since we can power pi0, why not use the same technique to power a bigger Pi?
+
+So here comes PiSugar2 Pro, a special PiSugar version for Raspberry Pi 2/3A/3B/3B+/4B. It's designed with the same architecture as PiSugar2, with a bigger size and some additional features.
+
+
+
+
+
+## Hardware SPECS
+
+* PowerIC: Injoince IP5310 (Charging) and IP5312 (Output)
+* RTC: SD3078
+* Type-c: charging port, with E-mark support
+* MicroUSB: charging port
+
+
+
+
+
+## Features
+
+* Simple Installation: PiSugar style, power from the back!
+* Battery Plug: You can switch lithium battery by your own
+* I2C Data Abilities: get battery data by api or webUI
+* Programable Button: customize a button function base on your project need
+* 3A Battery Output (Max 6A in Turbo Mode): meet the requirement of rpi 4B and more power consuming scenarios.
+
+
+## Hardware Installation
+
+1. Turn the power switch to off
+2. Attach pi-zero's back to the pin side of PiSugar2 Pro
+3. Tighten the four screws (M2.5) from the pi-side
+4. Plug in the lithium battery and click the tap button to see the battery level
+5. If the battery level is low or not indicated, please charge it first
+6. click the [activation button](https://github.com/PiSugar/PiSugar/wiki/PiSugar2-Pro/_edit#activation)
+7. Turn on the power switch and enjoy!
+
+## Software Installation (Same as PiSugar2)
+
+Run the following script on your pi:
+
+```
+curl http://cdn.pisugar.com/release/Pisugar-power-manager.sh | sudo sh
+```
+After finished, you can manage the battery by visiting http://\:8421 in your browser.
+
+
+
+
+
+PiSugar Power Manager is develop in Rust and Vue2.0, with high performace (less than 2% pi0 cpu) and exquisite designed webUI. https://github.com/PiSugar/pisugar-power-manager-rs
+
+## API (Same as PiSugar2)
+
+With the software installed, you can also get battery data via udp/uds/websocket in your own way, for example:
+
+```
+echo "get battery" | nc -q 0 /tmp/pisugar-server.sock
+echo "get battery" | nc -U -q 0 127.0.0.1 8423
+```
+
+For more details, please refer to: https://github.com/PiSugar/pisugar-power-manager-rs#unix-domain-socket--webscoket--tcp
+
+## Charging (Same as PiSugar2)
+
+Please use PiSugar's type-c or micro USB port for charging. If you use pi0's USB port it won't charge PiSugar, and PiSugar will turn off automatically since the external power is enough for pi0 to run.
+
+You can get the charging status from webUI or api. Please note that it's calculated by software, based on whether the battery level is increasing. So when it's 100% then you can't tell if it's connecting to external USB power.
+
+## Schedule Wake Up (Same as PiSugar2)
+
+If you use schedule wake up function, please keep the power switch ON. The battery will turn off as the pi shutdown. The RTC will wake up the battery and the pi at the time you set.
+
+## Activation
+
+Activation process is required by IP5312. once the battery level drop to very low or the battery is unplugged, you need to activate it in the next time when you plugin the battery or start charging. Click the circle button (near the tap button) to activate.
+
+## 3D Printed Case
+
+Case for PiSugar2 pro is under developing.
+
+## Turbo Mode
+
+
+
+
+