Chargers that can log extensive data about the battery as it charges or discharges

30 posts / 0 new
Last post
Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
Chargers that can log extensive data about the battery as it charges or discharges

Looking now for a charger that will log comprehensive data points such as voltage,capacity against time etc. so I can save the data for later comparison or make graphs of my batteries performance as I run discharge tests.

For example, a charger that would create a csv or text file of the capacity (mAh) and battery voltage every 60 seconds etc.

Any charger than can do all that?

Speed4goal
Offline
Last seen: 26 min 29 sec ago
Joined: 06/11/2016 - 13:03
Posts: 692
Location: Gulf Coast USA

You might wanna look into a system that can run through a computer or something. Or see what kind of set up HKJ uses which isn’t cheap. You already have a hobby charger. Whatever it can’t do might have to step up to professional equipment if you want all that.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
Speed4goal wrote:
You might wanna look into a system that can run through a computer or something. Or see what kind of set up HKJ uses which isn’t cheap. You already have a hobby charger. Whatever it can’t do might have to step up to professional equipment if you want all that.

You know, a charger as simple as an iMax B6 actually does all that already EXCEPT, theres no way I know of to get the data extracted from the charger.
I use ChargeMaster software but it doesn’t have that kind of output capability AFAIK.

If I could tap into the output going from the USB port to the laptop and intercept that data I’d be in business.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

Looky what I found !!

Datalogging with a hobby charger

caramba
caramba's picture
Offline
Last seen: 1 month 1 day ago
Joined: 11/09/2016 - 14:43
Posts: 331

I have seen this one:

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

This looks like an awesome project.
I’m doing this.

bella-headlight
Offline
Last seen: 17 min 38 sec ago
Joined: 01/10/2016 - 16:17
Posts: 992
Location: United Kingdom

SkyRC MC3000 will do all that for you for about $100.
Massive thread about the charger over on CPF, HKJ“S review of it here http://budgetlightforum.com/node/43699
Another review here http://budgetlightforum.com/node/47028

Ian

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
bella-headlight wrote:
SkyRC MC3000 will do all that for you for about $100. Massive thread about the charger over on CPF, HKJ“S review of it here http://budgetlightforum.com/node/43699 Another review here http://budgetlightforum.com/node/47028

That might do it. Thanks.
But one problem with the MC3000 is that it only handles cells.
I have other batteries that are not in a cylindrical cell format such as LiIo batteries for SJCameras and other block style batteries.

For those I need to be able to use alligator clips.

bella-headlight
Offline
Last seen: 17 min 38 sec ago
Joined: 01/10/2016 - 16:17
Posts: 992
Location: United Kingdom

I have used cylindrical cell chargers on non cylindrical cells by running wires from either end of a piece of round wooden dowel placed into the charger slot then to the non cylindrical cells + & – Wink
As long as the correct voltage & amperage is selected on the charge it works fine Thumbs Up
None of my chargers display cell temp so I guess you would lose that feature on the MC3000 as the cell isn“t actually in the charger.
This is exactly how I connected up my SJ4000 block shaped cells to a Lii-500 so I could measure capacity & voltage of them when I first got them.

Ian

gauss163
Offline
Last seen: 28 min 11 sec ago
Joined: 10/09/2013 - 18:04
Posts: 666
Location: USA

There is support for many common logging hobby chargers in the widely used free LogView software. It should be easy to export the data from LogView into whatever format you desire. You can see a list of supported chargers in its “Device/Choose device and port” dialog.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
gauss163 wrote:
There is support for many common logging hobby chargers in the widely used free LogView software. It should be easy to export the data from LogView into whatever format you desire. You can see a list of supported chargers in its “Device/Choose device and port” dialog.

At least with the Turnigy Accucell 6 and the iNax B6 mini (pretty much the same), you can not simply connect the charger directly to a computer and get that data as far as I have researched. It requires a TTL to Serial adapter.

I did try connecting my Turnigy and IMax chargers using a direct USB cable but it didn’t work using the iMas profile in LogView.
It if does work and I just failed, I would LOVE to know that and try again.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
bella-headlight wrote:
SkyRC MC3000 will do all that for you for about $100. Massive thread about the charger over on CPF, HKJ“S review of it here http://budgetlightforum.com/node/43699 Another review here http://budgetlightforum.com/node/47028

Having read the massive information on the problems with the MC3000, I’d rather wait and use what I have.

There is a thread here somewhere by members who have the MC3000 and listed all the issues that SkyRC needs to address.

I’m waiting until they’ve addressed those issues. Then I might get one. Don’t really need it per se if what I have can log data.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

MiBoxer,

This thread was about chargers that can log charging and discharging data to an external CSV or text file.
Can you confirm you posted here because this charger CAN do that?

If it can not, then this is some pretty bold spamming.

Thanks

pro22000
Offline
Last seen: 1 week 5 days ago
Joined: 10/06/2014 - 09:56
Posts: 69
Location: Ukraine

Usually you could really log data from ImaxB6 and similar chargers.

You just need to buy something like usb to ttl (serial) adapter like this: http://www.ebay.com/itm/USB-To-TTL-Serial-Port-Brush-Board-PL2303HX-Modu... or this: http://www.ebay.com/itm/USB-To-TTL-Serial-Port-Brush-Board-PL2303HX-Modu...

You have to search internet for particular charger pinout something like this:

https://www.google.com.ua/imgres?imgurl=https%3A%2F%2Fhabrastorage.org%2...

or this:
https://www.google.com.ua/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad...

When devices are properly connected and correct drivers (for usb ttl adapter) are installed, you can log data from pc serial port using terminal software (like “putty” (http://www.putty.org/)) or using software like logview (http://www.logview.info/forum/index.php?pages/home/).

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

pro22000 wrote:
Usually you could really log data from ImaxB6 and similar chargers.

You just need to buy something like usb to ttl (serial) adapter like this: http://www.ebay.com/itm/USB-To-TTL-Serial-Port-Brush-Board-PL2303HX-Modu... or this: http://www.ebay.com/itm/USB-To-TTL-Serial-Port-Brush-Board-PL2303HX-Modu...

You have to search internet for particular charger pinout something like this:

https://www.google.com.ua/imgres?imgurl=https%3A%2F%2Fhabrastorage.org%2...

or this:
https://www.google.com.ua/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad...

When devices are properly connected and correct drivers (for usb ttl adapter) are installed, you can log data from pc serial port using terminal software (like “putty” (http://www.putty.org/)) or using software like logview (http://www.logview.info/forum/index.php?pages/home/).

I have Logview installed on two of my PC’s and bought several TTL to USB converter boards. I can confirm that Logview does have a driver for the iMax B6 mini but so far, I have not been successful in getting the data into the PC. Maybe I have a bad TTL converter board. I’ll keep working on it until I get it to work.

pro22000
Offline
Last seen: 1 week 5 days ago
Joined: 10/06/2014 - 09:56
Posts: 69
Location: Ukraine

first check device manager (if you are on win32) for COM ports installed. If all drivers correctly installed you should see new COM port when you plug in usb-to-ttl adapter. You should use this port number for connection.
Then you might check output of IMAX using terminal (I use putty for this), make new SERIAL connection in putty using COM port number of usb-to-ttl adapter, then set speed (baudrate) to 9600 and open connection. Now you should see terminal window with some updated data, it should be readable, if not – try to change speed settings (115200 or 38400 or other values of standard baudrates, but I guess correct setting is 9600).
You can use also Tera-Term same as putty. Then if you get readable data in terminal – make same settings in logview (I used logview long time ago, so I am not sure how to work with it now). Please note that only one client can be connected to COM port, so putty and logview would not work with same port simultaneously.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
pro22000 wrote:
first check device manager (if you are on win32) for COM ports installed. If all drivers correctly installed you should see new COM port when you plug in usb-to-ttl adapter. You should use this port number for connection. Then you might check output of IMAX using terminal (I use putty for this), make new SERIAL connection in putty using COM port number of usb-to-ttl adapter, then set speed (baudrate) to 9600 and open connection. Now you should see terminal window with some updated data, it should be readable, if not – try to change speed settings (115200 or 38400 or other values of standard baudrates, but I guess correct setting is 9600). You can use also Tera-Term same as putty. Then if you get readable data in terminal – make same settings in logview (I used logview long time ago, so I am not sure how to work with it now). Please note that only one client can be connected to COM port, so putty and logview would not work with same port simultaneously.

Thank you for this information.
I will try everything you posted and see if I can get it connected.
Best Regards

pro22000
Offline
Last seen: 1 week 5 days ago
Joined: 10/06/2014 - 09:56
Posts: 69
Location: Ukraine

I just checked connection from my bc6 (chinese clone). So first thing i noticed – there is setting in charger menu regarding usb connection (still it is not real usb – but ttl serial out). Connection to PC is shared with temperature sensor. So either temp sensor or PC might be connected to the device. And I was wrong about readability of serial data (it is in binary format, so all you could see in console – periodically updating simbols/signs) baudrate 9600 in my case. And I had to find out how to adjust LogView properly. So in my case it worked with setting from Bantam BC6 (which have serial connection), many other devices in LogView settings do not have serial connection but USB HID (in this case I think there is no need in usb-serial adapter, may be only some special driver for usb hid device).

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
pro22000 wrote:
I just checked connection from my bc6 (chinese clone). So first thing i noticed – there is setting in charger menu regarding usb connection (still it is not real usb – but ttl serial out). Connection to PC is shared with temperature sensor. So either temp sensor or PC might be connected to the device. And I was wrong about readability of serial data (it is in binary format, so all you could see in console – periodically updating simbols/signs) baudrate 9600 in my case. And I had to find out how to adjust LogView properly. So in my case it worked with setting from Bantam BC6 (which have serial connection), many other devices in LogView settings do not have serial connection but USB HID (in this case I think there is no need in usb-serial adapter, may be only some special driver for usb hid device).

Thanks again for this information.
I happen to have an Authentic iMax B6 mini and it has a built in USB port.
It also has the 3 pin temperature port.

So far I haven’t been able to get it connected but I will try other devices. Maybe the iMax B6 configuration is intended for connection to those iMax B6’s that have the USB menu (because they don’t have a real USB port built in?)

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

I haven’t been able to get diddly out of the iMax B6, but I was able to get a hex data stream from my Turnighy Accucell 6.
Now I just have to figure how to get that hex stream into a readable text data

gauss163
Offline
Last seen: 28 min 11 sec ago
Joined: 10/09/2013 - 18:04
Posts: 666
Location: USA

I never had any problems using LogView with the B6 (and various clones), as well as many other chargers. Probably you are suffering from a configuration or hardware issue.

You could try instead DEX = DataExplorer.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

gauss163 wrote:
I never had any problems using LogView with the B6 (and various clones), as well as many other chargers. Probably you are suffering from a configuration or hardware issue.

You could try instead “DEX = DataExplorer”:http://www.nongnu.org/dataexplorer/#screenshots.

Could be. Chargemaster works on both now, but I did have to remove and reattach the USB port on the IMax B6 because the connections separated.
All I can get from either (in Logview) is the Hex data stream.

Since I’m using the USB port on both, that could also be the issue. The HID USB driver doesn’t seem to work in Logview. You probably used a SERIAL connection (ie COM port) for all your connections.

There is no configuration in LogView for the Turnigy Accucell 6 so that could explain the Turnigy not working.

Will try DataExplorer
Thanks

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

gauss163 wrote:
I never had any problems using LogView with the B6 (and various clones), as well as many other chargers. Probably you are suffering from a configuration or hardware issue.

You could try instead “DEX = DataExplorer”:http://www.nongnu.org/dataexplorer/#screenshots.

Gauss,
I did install DataExplorer and it’s a really nice program. Still can’t get any data Sad

I’m curious, you said you had no problem with B6’s and many other chargers…….did all of those connect with a Serial connection because my Authentic B6 mini has a USB port and to connect to DataExplorer I need to configure a HID USB port, but DataExplorer doesn’t seem equipped to do that.

Did you have to use a Serial TTL to USB converter board?

How exactly did you connect all those chargers? If they all simply plugged in and were recognized as serial ports then that would make this exponentially easier. Neither of my chargers are so kind or simple to connect unfortunately because both need to connect via USB

gauss163
Offline
Last seen: 28 min 11 sec ago
Joined: 10/09/2013 - 18:04
Posts: 666
Location: USA

Most of the chargers I used with LogView had usb ports, but on a couple I used TTL to USB adapters (e.g B6 clone) and they worked fine with LogView.

Are you using the latest LogView “Studio” , or the earlier (non-Studio) version? I haven’t tried the Studio version, so it is possible that it may behave differently.

It might be worth trying the earlier version (at least to help narrow down the source of the problem).

According to my old notes, I used this usb driver with tenergy bridge: CP210x USB to UART Bridge VCP Drivers
http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

gauss163
Offline
Last seen: 28 min 11 sec ago
Joined: 10/09/2013 - 18:04
Posts: 666
Location: USA

PS If you are using a PL2303 vs CP210 chipset then you might be suffering from from driver issues. At some point Prolific “improved” their drivers so that they will no longer work with cloned versions of the chipsets, e.g. see here

Barkuti
Barkuti's picture
Offline
Last seen: 1 hour 58 min ago
Joined: 02/19/2014 - 14:46
Posts: 1326
Location: Alhama de Murcia, Spain

 

Geekcreit® LHT00SU1 Virtual Oscilloscope Logic Analyzer I2C SPI CAN Uart

Just found this in Banggood, seems a cheap and good data logging device. Thought it could be of help.

 

Cheers Party

Copper is mine, copper divine!

«You may be taught and think for shame to be good but, in fact, a wise master said to me you wouldn't enter the heavens alive before going through your last bit of it.»

         

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

gauss163 wrote:
Most of the chargers I used with LogView had usb ports, but on a couple I used TTL to USB adapters (e.g B6 clone) and they worked fine with LogView.

Are you using the latest LogView “Studio” , or the earlier (non-Studio) version? I haven’t tried the Studio version, so it is possible that it may behave differently.

It might be worth trying the earlier version (at least to help narrow down the source of the problem).

According to my old notes, I used this usb driver with tenergy bridge: CP210x USB to UART Bridge VCP Drivers
http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

You know what’s interesting? All the YouTube videos and all the posts I could find during all this effort all pointed to this working with older versions of these chargers. I can’t find anything where anyone has had success in the last 4 years or so so maybe all th chips in the chargers have changed and none of the old programs that used to work with the old chargers version work anymore. Just a guess.

Both my chargers come up with C8051F3xx Development Kit – Silicon Labs – MCU as the chipset. I have never seen CP210x. These are both relatively new chargers so maybe all the chipsets have been updated?

I have only tried the latest LogView Studio release. But now that you’ve mentioned it I will download the V2 (the only older version still available) and give it a try. I’m beginning to think I also received a bad USB to TTL adapter board so I ordered several from different sources but some may not arrive until the end of May.

Anyway, it’s been great hearing from you as I’m basically feeling like on somewhere floating in the north Pacific on an iceberg trying to get this to work…very little help around Party

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA
Barkuti wrote:
Geekcreit® LHT00SU1 Virtual Oscilloscope Logic Analyzer I2C SPI CAN Uart Just found this in Banggood, seems a cheap and good data logging device. Thought it could be of help. Cheers Party

That looks very interesting and it might be better than what I have.
Thanks for the link. Might get one.

I have this dinosaur in the garage. I haven’t used it in a few years and I’m not sure I still know how.
But it might be able to reveal the information I need.

gauss163
Offline
Last seen: 28 min 11 sec ago
Joined: 10/09/2013 - 18:04
Posts: 666
Location: USA

Yes, the newer chargers are using an HID interface, unlike the older ones, and this is probably the source of the problem. According to this page LogView was working on it a few years ago. I didn’t read the entire thread. Maybe your solution is there.

See also here and here.

Zebretta
Offline
Last seen: 1 week 4 days ago
Joined: 12/08/2016 - 18:57
Posts: 453
Location: USA

gauss163 wrote:
Yes, the newer chargers are using an HID interface, unlike the older ones, and this is probably the source of the problem. According to this page LogView was working on it a few years ago. I didn’t read the entire thread. Maybe your solution is there.

See also here and “here”:https://github.com/Milek7/imax-b6mini-datalogger.

Not sure how you find all those links but good job! I don’t find those when I do Google search for some reason?

Yes, HID is problem, however, I can get “some” data to go from charger to LogView. But only Hexidecimal.
But the fact that it gets there and I can see it means that the charger is in fact communicating with LogView.
Logview can’t seem to identify and translate the Hexidecimal stream is the problem. Or so it seems.

example…..

00 0F 22 55 00 01 02 55 14 1A 2C DB E4 00 2A 00 00 0E F7 0E F8 01 6E 01 43 01 40 00 00 00 00 01 00 D5 FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Translate to ASCII……..

null SI “ U null SOH DC4 SUB , 219 228 null * null null SO 247 SO 248 SOH C SOH @ null null null null SOH null 213 255 255