KrystianD / pyrc3563

Python library and CLI tool for RC3563 battery impedance meter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyrc3563

Python library and CLI tool for RC3563 battery impedance meter.

Library usage

from rc3563 import RC3563

rc = RC3563("/dev/ttyUSB0")
while True:
    print(rc.read())

CLI tool

python -m cli /dev/ttyUSB0
# V: 4.118, R: 0.028483 # 28.483 mΩ
# V: 4.118, R: 0.028376 # 28.376 mΩ
# V: 4.118, R: 0.028264 # 28.264 mΩ
# V: 0.000, R: inf # overflow - nothing connected

Credits

Based on the great work of Maciej Grela.

About

Python library and CLI tool for RC3563 battery impedance meter.

License:MIT License


Languages

Language:Python 100.0%