Git Product home page Git Product logo

ichargermon's Introduction

iChargerMon

A tool for interacting with the iCharger series of RC hobby chargers.

Why?

I wanted to be able to remotely monitor an iCharger. I sometimes use it to boost up the battery in my car and thought it would be nice to see when it is done.

Having this built in C/C++ means that the dependencies are minimal and it can run on old (Pentium III ToughBook), cheap (RaspberryPi, Beaglebone) and weird (the wifi router in my garage) hardware.

Compatiblity

This tool has been tested under the following configurations:

  • Linux
    • iCharger 1010B+
  • Mac OS
    • iCharger 1010B+

Usage

This tool will open the device and read logs as fast as it can while logging them to the console. The iCharger emits a packet once per second or so at 9600 8N1 baud.

The tool defaults to /dev/ttyUSB0 and you can optionally specify an alternate device file path on the command line.

ichargermon [device_file]

Future work

  • Add mode support to the output (ie: Charging, discharging, etc.).
  • Add an argment parser
    • Add a usage string, printed with -h|--help
  • Consider other iChargers
    • The 4010 duo uses a USB endpoint via MODBUS and supports remote control
    • It would be nice if ichargermon eventually supported all iChargers
  • Improve the Makefile
    • It works, but it doesn't do anything super helpful (ie: clean).
  • Consider supporting Windows users

Example Output

Here are some example outputs and pictures for fun.

Charging a 3S1P Lithium Ion Pack

Input voltage:    15.176V
Battery voltage:  11.867V
Battery amps:     1.000A
Internal temp:    28.200C
Cell 0 voltage:   3.954V
Cell 1 voltage:   3.949V
Cell 2 voltage:   3.954V
Cell 3 voltage:   0.000V
Cell 4 voltage:   0.000V
Cell 5 voltage:   0.000V
Cell 6 voltage:   0.000V
Cell 7 voltage:   0.000V
Cell 8 voltage:   0.000V
Cell 9 voltage:   0.000V

Picture of charging 3S1P litium ion pack

Charging a 10S6P Lithium Ion Pack

Input voltage:    15.163V
Battery voltage:  40.165V
Battery amps:     0.990A
Internal temp:    30.300C
Cell 0 voltage:   4.009V
Cell 1 voltage:   4.010V
Cell 2 voltage:   4.012V
Cell 3 voltage:   3.998V
Cell 4 voltage:   4.014V
Cell 5 voltage:   4.014V
Cell 6 voltage:   4.014V
Cell 7 voltage:   4.014V
Cell 8 voltage:   4.017V
Cell 9 voltage:   4.019V

Picture of charging 10S6P litium ion pack

Charging a BMW 435i Lead Acid (AGM) Car Battery

Input voltage:    15.102V
Battery voltage:  14.330V
Battery amps:     10.000A
Internal temp:    27.200C
Cell 0 voltage:   0.000V
Cell 1 voltage:   0.000V
Cell 2 voltage:   0.000V
Cell 3 voltage:   0.000V
Cell 4 voltage:   0.000V
Cell 5 voltage:   0.000V
Cell 6 voltage:   0.000V
Cell 7 voltage:   0.000V
Cell 8 voltage:   0.000V
Cell 9 voltage:   0.000V

Picture of charging BMW lead acid battery

ichargermon's People

Contributors

aarossig avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.