GithubHelp home page GithubHelp logo

b6mon's Introduction

Logging tool for SkyRC iMAX B6 Mini (and possibly similar) chargers

This tool can monitor and log data from Chinese 4-button battery chargers that come with a USB port.

Right now, only SkyRC’s iMAX B6 Mini charger is supported, but it’s very possible that many other, similar chargers use the same HID-based protocol.

Compilation

This needs libudev.

cc b6mon.c -o b6mon $(pkg-config --cflags --libs libudev) -lm

Usage

This tool needs write access to the USB device, so either run as root or set up access through udev rules.

b6mon -[p|s]

Option Effect
-p Monitor process status until end of process.
-s Continuously monitor system status (cell voltage only)

To do (aka patches welcome)

  • Reverse engineer the rest of the protocol (config, maybe fw update)
  • Support more chargers (e.g. those that can charge 8 cell batteries)

Tips

Live plotting with gnuplot

Start logging:

b6mon -p > process.log

Run gnuplot (sample file included):

gnuplot process.plt

Example:

License

This software is available under the terms of the ISC license.

b6mon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

b6mon's Issues

gnuplot error

line 29: all points y value undefined!

gnuplot 5.05

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.