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
> Lithium and other batteries are dangerous and must be treated with care.
5
+
> Rechargeable Lithium Ion batteries are potentially hazardous and can
6
+
> present a serious **FIRE HAZARD** if damaged, defective or improperly used.
7
+
> Do not use this circuit to a lithium ion battery without expertise and
8
+
> training in handling and use of batteries of this type.
9
+
> Use appropriate test equipment and safety protocols during development.
10
+
> There is no warranty, this may not work as expected or at all!
11
+
12
+
The script in [src/jukebox/components/battery_monitor/batt_mon_i2c_ads1015/\_\_init\_\_.py](../../../../src/jukebox/components/battery_monitor/batt_mon_i2c_ads1015/__init__.py) is intended to read out the voltage of a single Cell LiIon Battery using a [CY-ADS1015 Board](https://www.adafruit.com/product/1083):
13
+
14
+
```text
15
+
3.3V
16
+
+
17
+
|
18
+
.----o----.
19
+
___ | | SDA
20
+
.--------|___|---o----o---------o AIN0 o------
21
+
| 2MΩ | | | | SCL
22
+
| .-. | | ADS1015 o------
23
+
--- | | --- | |
24
+
Battery - 1.5MΩ| | ---100nF '----o----'
25
+
2.9V-4.2V| '-' | |
26
+
| | | |
27
+
=== === === ===
28
+
```
29
+
30
+
> [!WARNING]
31
+
>
32
+
> * the circuit is constantly draining the battery! (leak current up to: 2.1µA)
33
+
> * the time between sample needs to be a minimum 1sec with this high impedance voltage divider don't use the continuous conversion method!
0 commit comments