mirror of
https://github.com/PiSugar/PiSugar.git
synced 2026-11-27 02:16:25 -05:00
Updated PiSugar 3 Series (markdown)
parent
06b5f793a3
commit
ee7e9b8a0e
1 changed files with 12 additions and 9 deletions
|
|
@ -39,11 +39,14 @@ PiSugar 3 is the third generation of PiSugar Raspberry Pi battery power supply s
|
|||
|
||||
|
||||
|
||||
Electrical Specifications
|
||||
* Input: 5V-3Amax
|
||||
* Output: 5V-3Amax
|
||||
* Battery capacity: 5000mah
|
||||
* Communication interface: I2C interface 0x57/0x68 address (can be set)
|
||||
# Electrical Specifications
|
||||
|
||||
| Electrical Specifications | PiSugar 3 Plus | PiSugar 3 |
|
||||
| :------ | :-----: | :----: |
|
||||
| Input| 5V-3Amax |5V-3Amax |
|
||||
| Output | 5V-3Amax | 5V-2.5Amax |
|
||||
| Battery capacity | 5000mah | 1200mah |
|
||||
| Communication interface | 0x57/0x68 address | 0x57/0x68 address |
|
||||
|
||||
|
||||
|
||||
|
|
@ -108,14 +111,14 @@ Function specifications
|
|||
PiSugar 3 has many advanced power functions that can be set up, which are described below.
|
||||
|
||||
Some functions can be operated on WebUI, indicating that this function does not need to be manually set up by I2C, only in WebUI. At the same time, the WebUI interface can be set up directly through the command line. The function set through the WebUI will retain the settings in the Raspberry Pi system and will not be set to the default value after restart or battery reset.
|
||||
1.External power supply detection
|
||||
1. External power supply detection
|
||||
Register address: the 6th bit of the 0X02 address
|
||||
Register operation: can be read or written
|
||||
Data description: 1 means external power supply access, 0 means no external power supply
|
||||
Function description: It can be judged whether the external power supply is connected by querying the 7th bit of the 0X02 address. The detection is to detect whether the power input interface has voltage. If the plug is inserted but there is no power supply, it will be detected that the external power supply is not connected.
|
||||
WebUI supports reading the status.
|
||||
|
||||
2.Charging switch
|
||||
2. Charging switch
|
||||
Register address: the 6th bit of the 0X02 address
|
||||
Register operation: can be read or written
|
||||
Data description: 1 is on, 0 is off
|
||||
|
|
@ -123,7 +126,7 @@ Function description: When charging switch is turned on, once the external power
|
|||
Default value: This function will be reset to on each time the device is turned off
|
||||
WebUI Does not support this function.
|
||||
|
||||
3.Output switch
|
||||
3. Output switch
|
||||
Register address: the 5th bit of the 0X02 address
|
||||
Register operation: can be read or written
|
||||
Data description: 1 is on, 0 is off
|
||||
|
|
@ -217,7 +220,7 @@ For example, if the data read are 0x10 and 0x1F, the combined result will be 0x1
|
|||
The 0X2A address is the calculated battery power percentage.
|
||||
Function description: WebUI can read the battery power percentage
|
||||
|
||||
13.RTC function
|
||||
13. RTC function
|
||||
Register address: write protection: 0x30, data address: 0x31-0x37
|
||||
Register operation: can be read or written
|
||||
Operating instructions: RTC has a write protection function in order to prevent data fluctuations caused by misoperation or system instability.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue