mirror of
https://github.com/PiSugar/PiSugar.git
synced 2026-12-03 21:30:06 -05:00
Updated PiSugar Power Manager (Software) (markdown)
parent
f4bb388558
commit
6c381666dd
1 changed files with 15 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ https://github.com/PiSugar/pisugar-power-manager-rs
|
|||
|
||||
* We had upgradged PiSugar2 to new model. To identify it, please check the charging indicate led count, 4-leds is for old model, 2-leds is for new model. The new model is able to accurately detected the charging status and control the charging recycle.
|
||||
|
||||
After attaching PiSugar2 to you pi, you can use the following commands to see whether it works properly:
|
||||
After attaching PiSugar to you pi, you can use the following commands to see whether it works properly:
|
||||
|
||||
```
|
||||
# turn on i2c interface
|
||||
|
|
@ -20,14 +20,27 @@ sudo raspi-config
|
|||
|
||||
# Interfacing Options -> I2C -> Yes
|
||||
|
||||
# detect i2c bus and devices
|
||||
# detect i2c bus and devices (PiSugar2)
|
||||
i2cdetect -y 1
|
||||
i2cdump -y 1 0x32
|
||||
i2cdump -y 1 0x75
|
||||
|
||||
# detect i2c bus and devices (PiSugar3)
|
||||
i2cdetect -y 1
|
||||
i2cdump -y 1 0x57
|
||||
i2cdump -y 1 0x68
|
||||
```
|
||||
|
||||
If you cannot find any devices, or see lots of 'X.XX.X.X...' things, please try turning off PiSugar 2 and restart one minutes later.
|
||||
|
||||
## Support Models
|
||||
|
||||
| Model | Description | Photo |
|
||||
| :- | :-: | :-: |
|
||||
| PiSugar 3 | PiSugar 3/ PiSugar 3 Plus | - |
|
||||
| PiSugar 2 2-led | PiSugar 2 | - |
|
||||
| PiSugar 2 4-led | PiSugar 2 (early model) | - |
|
||||
| PiSugar 2 Pro | PiSugar 2 Plus | - |
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue