You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,23 @@ Extract: *Macbook batteries ship with a default unseal password (0x36720414). T
17
17
Download and extract the repository. In the Arduino IDE open the sketch with File -> Open... and select the src/SBMInfo folder.
18
18
19
19
## Identifying the right connection
20
-
Clock und Data connectors have often a resistance of 300 k to 1 MOhm to Ground.
20
+
The minimal connector layout is: | GROUND | THERMISTOR (103AT) | CLOCK | DATA | VCC (11 or 14 volt) | (clock and data my be switched).
21
+
- The thermistor connection has 10 kOhms to ground at 25 degree celsius.
22
+
- Clock und data connectors have the same resistance (between 300 kOhm to 1 MOhm) to ground.
23
+
- VCC may not be enabled. Sometimes it gets enabled when *Host Present* is connected to ground or clock and data are pulled high to 3.3 or 5 volt.
24
+
If you see more connectors, the may be used for:
25
+
- A second (adjacent) ground and / or VCC to reduce the connector resistance for the supply current.
26
+
- A *Battery Present* signal. This connector is internally connected to ground at the battery pack and NOT connected to ground at the PC.
27
+
- A *Host Present* signal. This connector has a pullup at the battery back and is connected to ground at the PC side.
28
+
Examples:
29
+
| GROUND | BatteryPresent | THERMISTOR ? | CLOCK | DATA | VCC | - seen at HP packs.
30
+
| GROUND | GROUND | Alert ? | HostPresent | BatteryPresent | DATA | CLOCK | VCC | VCC | - seen at Dell packs.
31
+
21
32
After startup, the program scans for a connected I2C device.
22
-
Just try different pin combinations until led stops blinking and `Found I2C device attached at address: 0x0B` is printed.
23
-
After connecting`, full data is printed.
24
-
Dynamic values are checked every 3 seconds and printed if changed.
33
+
You can try different pin combinations until led stops blinking and `Found I2C device attached at address: 0x0B` is printed.
34
+
If you connect clock or data with the thermistor connector, the scanning stops.<br/>
35
+
After connecting, full data is printed.<br/>
36
+
Dynamic values like temperature, voltage and current are checked every 3 seconds and printed if changed.
25
37
26
38
Tested with bq20z70, bq20z451, bq2084, bq80201DBT, bq40z50.
27
39
@@ -43,8 +55,8 @@ Bei der Richtigen h
43
55
44
56
Bei den Laptop Battery Packs war Plus und Masse immer außen.
45
57
Wenn mehr als 5 Kontakte vorhanden waren, waren sie wie folgt belegt:
46
-
- Masse und Plus doppelt. z.B. + | + | Thermo | Data | Clock | - | -
47
-
- 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 | - | -
58
+
- Masse und Plus doppelt. z.B. + | + | Thermistor | Data | Clock | - | -
59
+
- Ein Enable (nur im Laptop mit Masse verbunden) und eine Signal Anschluss (nur im Battery Pack mit Masse verbunden). z.B. VCC | VCC | CLOCK | DATA | Signal | Enable | THERMISTOR | GROUND | GROUND |
48
60
49
61
Der Thermo-Sensor Anschluss war uneinheitlich, mal nicht messbar beschaltet, mal 1 MOhm, mal 1,6 Volt, mal 10 kOhm nach Masse.
0 commit comments