Skip to content

Commit a956508

Browse files
committed
Documentation
1 parent adaf540 commit a956508

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# SMB - Smart Battery Module (Laptop Battery Pack) Info
1+
# [SMB](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino) - Smart Battery Module (Laptop Battery Pack) Info
2+
### Version 3.1
23
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
34
[![Hit Counter](https://hitcounter.pythonanywhere.com/count/tag.svg?url=https%3A%2F%2Fgithub.com%2FArminJo%2FSmart-Battery-Module-Info_For_Arduino)](https://github.com/brentvollebregt/hit-counter)
45

@@ -10,34 +11,36 @@ Based on https://github.com/PowerCartel/PackProbe from Power Cartel http://power
1011
Download and extract the repository. In the Arduino IDE open the sketch with File -> Open... and select the src/SBMInfo folder.
1112

1213
## Identifying the right connection
14+
Clock und Data connectors have often a resistance of 300 k to 1 MOhm to Ground.
1315
After startup, the program scans for a connected I2C device.
14-
Just try different pin combinations until led stops blinking and "Found I2C device attached at address: 0x0B" is printed.
15-
After connecting full data is printed.
16-
Dynamic values is checked every 3 seconds and printed if changed.
16+
Just try different pin combinations until led stops blinking and `Found I2C device attached at address: 0x0B` is printed.
17+
After connecting`, full data is printed.
18+
Dynamic values are checked every 3 seconds and printed if changed.
1719

1820
Tested with bq20z70, bq20z451, bq2084, bq80201DBT, bq40z50.
1921

22+
An example schematic for a SBM module can be found in the datasheet of TI bq29311 at page 9.
23+
2024
![My setup](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino/blob/master/extras/Breadboard.jpg)
2125

2226
![My setup](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino/blob/master/extras/With_LCD.jpg)
2327

2428
## German Documentation
2529
Gibt die Daten des SMB Controllers aus.
2630
Basiert auf https://github.com/PowerCartel/PackProbe von Power Cartel http://powercartel.com/projects/packprobe/. Hier gibt es auch weitere wertvolle Informationen.
27-
Benötigt SoftI2CMaster Library für I2C / SMBus / https://github.com/felias-fogg/SoftI2CMaster/archive/master.zip
2831

2932
## Finden der Anschlüsse.
33+
Die Clock und Data Eingänge waren bei meinen Packs die Anschlüsse mit einem Widerstand von ca. 300 k bis 1 MOhm nach Masse.
3034
Nach dem Booten sucht das Programm nach einem angeschlossenen I2C Device.
3135
Man kann also alle möglichen Pinkombinationen von Clock und Data am Battery Pack ausprobieren.
32-
Bei der Richtigen hört das Blinken der Led auf und es kommt sofort die Ausgabe "Found I2C device attached at address: 0x0B" und direkt danach werden die Daten ausgegeben.
36+
Bei der Richtigen hört das Blinken der Led auf und es kommt sofort die Ausgabe `Found I2C device attached at address: 0x0B` und direkt danach werden die Daten ausgegeben.
3337

3438
Bei den Laptop Battery Packs war Plus und Masse immer außen.
3539
Wenn mehr als 5 Kontakte vorhanden waren, waren sie wie folgt belegt:
3640
- Masse und Plus doppelt. z.B. + | + | Thermo | Data | Clock | - | -
3741
- Ein Enable (nur im Laptop mit Masse verbunden) und eine Signal Anschluss (nur im Battery Pack mit Masse verbunden). z.B. + | + | Clock | Data | Signal | Enable | Thermo | - | -
3842

39-
Die Clock und Data Eingänge waren bei meinen Packs die Anschlüsse mit einem Widerstand von ca. 300 k bis 1 MOhm nach Masse.
40-
Der Thermo Sensor Anschluss war uneinheitlich, mal nicht messbar beschaltet, mal 1 MOhm, mal 1,6 Volt, mal 10 kOhm nach Masse.
43+
Der Thermo-Sensor Anschluss war uneinheitlich, mal nicht messbar beschaltet, mal 1 MOhm, mal 1,6 Volt, mal 10 kOhm nach Masse.
4144

4245
Zur Verbindung mit den Kontakten habe ich normales 1,5 qmm Kupferkabel aus der Hausinstallation genommen, dessen eines Ende ich mit einem Hammer etwas plattgeklopft hab. Stecknadeln oder Breadboard Wires gehen auch.
4346

@@ -47,8 +50,6 @@ Tested with bq20z70, bq20z451, bq2084, bq80201DBT, bq40z50.
4750

4851
Einen Schaltplan zu den Batterie Modulen gibt es im Datenblatt zum TI bq29311 auf Seite 9.
4952

50-
![Breadboard](https://github.com/ArminJo/Smart-Battery-Module-Info_For_Arduino/blob/master/extras/Breadboard.jpg)
51-
5253
###Sample output:
5354
Sample outputs can be found in folder extras.
5455

@@ -131,7 +132,4 @@ Minutes remaining until empty: 2913 min
131132
Average minutes remaining until empty: 2913 min
132133
```
133134

134-
135-
<a href="https://github.com/ArminJo">
136-
<img src="https://hitcounter.pythonanywhere.com/count/tag.svg?url=https%3A%2F%2Fgithub.com%2FArminJo%2FSmart-Battery-Module-Info_For_Arduino" alt="Hits">
137-
</a>
135+
#### If you find this library useful, please give it a star.

0 commit comments

Comments
 (0)