Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saeugetier authored Jun 6, 2024
1 parent 49de38a commit 19b6bb7
Showing 1 changed file with 1 addition and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,7 @@
class battmon_ina219(BatteryMonitorBase.BattmonBase):
'''Battery Monitor based on a INA219
CAUTION - WARNING
========================================================================
Lithium and other batteries are dangerous and must be treated with care.
Rechargeable Lithium Ion batteries are potentially hazardous and can
present a serious FIRE HAZARD if damaged, defective or improperly used.
Do not use this circuit to a lithium ion battery without expertise and
training in handling and use of batteries of this type.
Use appropriate test equipment and safety protocols during development.
There is no warranty, this may not work as expected or at all!
=========================================================================
This script is intended to read out the Voltage of a single Cell LiIon Battery using a board with a INA219:
3.3V
+
|
.----o----.
| | SDA
.-------------------------------o AIN o------
| | INA219 | SCL
| .----------o AOUT o------
--- | | |
Battery - Regulator + Raspi '----o----'
2.9V-4.2V| | |
| | |
=== === ===
See [Battery Monitor documentation](../../builders/components/power/batterymonitor.md)
'''

def __init__(self, cfg):
Expand Down

0 comments on commit 19b6bb7

Please sign in to comment.