diff --git a/PiSugarS.md b/PiSugarS.md index 43d48c6..bcc7a80 100644 --- a/PiSugarS.md +++ b/PiSugarS.md @@ -1,47 +1,58 @@ ![1626444088_1_.jpg](https://i.loli.net/2021/07/17/J9rpKcwdjoPXugZ.png) -PiSugar S is designed for pi-zeros like PiSugar 2, but with relatively few features. +PiSugar S is designed for pi-zeros like PiSugar 2, but with less functions and convenient UPS settings. ![.2.JPG](https://i.loli.net/2021/06/18/X9Ir1a5gjimQ8lh.jpg) # Hardware SPECS -* PowerIC: Injoince IP5209 * MicroUSB: charging port * Power Switch -* Programable Tap Button +* Start up button ![.main.JPG](https://i.loli.net/2021/06/18/RDC39SuntYbJq1r.jpg) # Hardware Installation 1. Turn the power switch to off -1. Attach pi-zero's back to the pin side of PiSugar2 +1. Attach pi-zero's back to the pin side of PiSugarS 1. Tighten the four screws (M2.5) from the pi-side 1. Turn on the power switch and enjoy! -# Jumper -### Connect the jumper -> * Turn on the external power supply: SCL pin is low level.If the Raspberry Pi is turned off, the system will wake up. If the Raspberry Pi is turned on, the external power supply can be obtained by detecting the level. Since SCL is low during the existence of external power supply, I2C communication cannot be used. -> * External power supply is not connected: SCL pin is high. If you press the button, the SCL pin can be triggered to low level. If the Raspberry Pi is in the shutdown state, the system will wake up. +# Auto start up fuction +### Turn on the fuction swith +> * If the external power is restored during the Raspberry Pi system shutdown, the system will be waked up. +> * If external power supply is available, the SCL pin is low level.Otherwise, it will remain high. +> * Since SCL is low during the existence of external power supply, I2C communication cannot be used. +> * Because they use the same wake-up pin as the start button, they interact with each other. -### Do not connect the jumper +### Turn off the fuction swith -> * Whether the external power supply is connected or not does not affect the SCL pin. -> * Pressing the button will trigger SCL to low level, and if the Raspberry Pi is off, it will wake up the system. If the Raspberry Pi is turned on, it can be used as a custom button. Because SCL is not continuously pulled down, I2C functions normally. +> * Whether the external power supply is connected or not does not affect the SCL pin, and will not wake up the system. +> * Pressing the button will trigger SCL to low level, and if the Raspberry Pi is off, it will wake up the system. If the Raspberry Pi is turned on, it can be used as a custom button. +> * Because SCL is not continuously pulled down, I2C functions normally. + + +# Battery protection +When the battery voltage is lower than 3V, PiSugar S will shut down immediately. It will not turn on again until the battery voltage up to 3.6V. + +Both threshold voltages can be adjusted by rewinding the resistor on the circuit board, but we highly recommand do not modify them, If you really have such demand, please contact us. # Function comparison -|   | PiSugar 1 | PiSugar S | PiSugar S Plus | PiSugar 2 | PiSugar 2 Pro | +| |PiSugar 1| PiSugar S| PiSugar S Plus | PiSugar 2| PiSugar 2 Pro| |----------------------------------------------------------------------------------------|------------------------------|------------------------------|------------------------------|------------------------------|------------------------------| -| zero | Completely compatible | Completely compatible | Compatible | Completely compatible | Compatible | -| 3A/3B/3B+/4B | Not Support | Compatible | Completely compatible | Compatible | Completely compatible | -| Use while charging | Support | Support | Support | Support | Support | -| Shut down while charging | Not Support | Support | Support | Support | Support | -| External power-off | Cause restart | Keep working | Keep working | Keep working | Keep working | -| External power off detection | Not Support | Support* | Support* | Support | Support | -| Automatic power on when external power is restored (battery is not exhausted) | Not Support | Support | Support | Support** | Support** | -| Automatic power on when external power is restored (battery is exhausted) | Support | Support | Support | Support | Support | -| RTC | Not Support | Not Support | Not Support | Support | Support | -| Timing boot | Not Support | Not Support | Not Support | Support | Support | -| Custom button | Not Support | Support*** | Support*** | Support | Support | -| Button to turn on | Support | Support | Support | Not Support | Not Support | -| Button to shut down | Support | Support*** | Support*** | Support | Support | +| zero | Completely compatible| Completely compatible| Compatible | Completely compatible| Compatible | +| 3A/3B/3B+/4B | Not Support| Compatible | Completely compatible| Compatible | Completely compatible| +|Power indicator|LED|Not Support|Not Support|I2C|I2C| +| Use while charging | Support| Support| Support| Support| Support| +| Shut down while charging | Not Support| Support| Support| Support| Support| +| External power-off | Cause restart| Keep working | Keep working | Keep working | Keep working | +| External power off detection | Not Support| Support* | Support* | Support| Support| +| Automatic power on when external power is restored (battery is not exhausted)| Not Support| Support| Support| Support**| Support**| +| Automatic power on when external power is restored (battery is exhausted)| Support| Support| Support| Support| Support| +| RTC| Not Support| Not Support| Not Support| Support| Support| +| Timing boot| Not Support| Not Support| Not Support| Support| Support| +| Custom button| Not Support| Support*** | Support*** | Support| Support| +| Button to turn on| Support| Support| Support| Not Support| Not Support| +| Button to shut down| Support| Support*** | Support*** | Support| Support| +|Web UI|Not Support|Not Support|Not Support|Support|Support| + *: Only supported when the automatic power-on function is turned on