turnigy 200w voltage calibration problem

717 views
Skip to first unread message

zivizivi

unread,
Feb 14, 2015, 1:50:07 AM2/14/15
to cheali-...@googlegroups.com
hello
when i try to calibrate the charger at different voltages it goes off calibration for different voltages and causes issues.
example: if i go into calibration settings remove battery and calibrate with 2.5v source it doesnt see a 4v correctly and if i do it with 4v wont see 2.5 good later on :/ it is accurate only at that range

i tried with different multimeters, batteries and even with accurate voltage references for dmm calibration. cleaned the board from any flux residue still same results. tried stable and unstable latest cheali firmware all the same. btw it was like this in stock firmware also..

its my chargers fault i belive but can i fix this? maybe lm324 opamp or hcf4051 multiplexer replacements would fix it?
or maybe its the units limitations then i could just calibrate with 4.2v and get over with it :)

any advice is welcome
thanks in advance

Paweł Si

unread,
Feb 14, 2015, 11:38:22 AM2/14/15
to cheali-...@googlegroups.com


2015-02-14 7:50 GMT+01:00 zivizivi <zivi...@gmail.com>:
hello

Hi
 
when i try to calibrate the charger at different voltages it goes off calibration for different voltages and causes issues.
example: if i go into calibration settings remove battery and calibrate with 2.5v source it doesnt see a 4v correctly and if i do it with 4v wont see 2.5 good later on :/ it is accurate only at that range

i tried with different multimeters, batteries and even with accurate voltage references for dmm calibration. cleaned the board from any flux residue still same results. tried stable and unstable latest cheali firmware all the same. btw it was like this in stock firmware also..

its my chargers fault i belive but can i fix this? maybe lm324 opamp or hcf4051 multiplexer replacements would fix it?
or maybe
 
its the units limitations

maybe, 
 
then i could just calibrate with 4.2v and get over with it :)

but I need more info:
1. which balance ports
2. how big is the error
3. are you connecting the batteries also to the main terminals (you should - at least the "BAT-" wire)

if you can, make video demonstrating your issue.

Best Regards,
Paweł

zivizivi

unread,
Feb 15, 2015, 12:48:02 AM2/15/15
to cheali-...@googlegroups.com
1. all of them :) i tried 0-1 1-2 2-3 etc... pins individually and all at the same time with voltage divider resistor network and a separate custom 18650 pack
2. it varies with current but in cheali charger calibration menu i can see the voltage error without load i believe. if i calibrate to 2.5v it sees 4v as 4.8v or so
3 i did connect bat terminals and tried without them didnt matter

i will try to measure these again today if i can find time

i moved to cheali firmware just to calibrate. stock unit was inaccurate and did not let me calibrate now i can see the the problem without load

zivizivi

unread,
Feb 15, 2015, 1:01:24 AM2/15/15
to cheali-...@googlegroups.com
years ago when i was playing around with custom batt packs i probably made a mistake and connected wrong voltages to wrong balance pins and something inside is now faulty i think. which parts are responsible for voltage sensing any ideas? maybe i can test them or replace them

its also reading wrong without balance port. when current goes higher the voltages are way off tried with a car battery 1 week ago :)

zivizivi

unread,
Feb 15, 2015, 3:19:11 AM2/15/15
to cheali-...@googlegroups.com
yes you were right grounding the batt makes a difference in readings and my results are better then i thought

i just did  a new voltage calibration and test read. 1 voltage reference battery moving inside balance port pins

calibrated at 2,497v reading at 4,090 battery results;

vb1: 4,086
vb2: 4,077
vb3: 4,071
vb4: 4,087
vb5: 4,067
vb6: 4,081

still has errors tho and i did not test under charge/discharge.
shall i calibrate at 4.2v to be safe would it work? i dont wanna over/undercharge

zivizivi

unread,
Feb 15, 2015, 6:01:38 AM2/15/15
to cheali-...@googlegroups.com
hmm when i calibrate with 4.2v each port 1 by 1 it rejects to charge/discharge with some error and doesnt allow me to enter calibration menu again. it says connect battery which is connected 2 cell 3.8v 3.9v batt pack with balance port and main leads.

only fix is reset and start again whic leads same results :(

Paweł Si

unread,
Feb 15, 2015, 8:12:40 AM2/15/15
to cheali-...@googlegroups.com

2015-02-15 12:01 GMT+01:00 zivizivi <zivi...@gmail.com>:
hmm when i calibrate with 4.2v each port 1 by 1 it rejects to charge/discharge with some error and doesnt allow me to enter calibration menu again. it says connect battery which is connected 2 cell 3.8v 3.9v batt pack with balance port and main leads.

only fix is reset and start again whic leads same results :(

You have to connect BAT- and BAT+ to your setup

zivizivi

unread,
Feb 15, 2015, 12:23:10 PM2/15/15
to cheali-...@googlegroups.com
made a new 6 cell li-ion18650 pack near 4v cells, reset eprom, calibrated voltage with everything connected and now testing it.
if it keeps accuracy current calibration next

zivizivi

unread,
Feb 17, 2015, 10:41:36 PM2/17/15
to cheali-...@googlegroups.com

yea it is problematic... end voltage  is not 4.2 it cant fully charge and reads wrong voltages while charging and discharging. i also calibrated current reading. hardware problem i guess. what might be the problem? im thinking about multiplexer ic but that doesnt explain wrong reading without balance port hmm. any suggestions?

zivizivi

unread,
Feb 17, 2015, 11:52:12 PM2/17/15
to cheali-...@googlegroups.com
starting over..

reflashed .hex, plugged in my old 18650 batteries in 6s pack with balance port and main leads, calibrated voltages and currents. testing again with lipo option charge and discharge at 500-750-1000mA. i was using li-ion mode before maybe li-ion set doesnt charge to 4.2v but that doesnt explain crappy balancing :) will see

Paweł Si

unread,
Feb 18, 2015, 3:39:22 PM2/18/15
to cheali-...@googlegroups.com
2015-02-18 5:52 GMT+01:00 zivizivi <zivi...@gmail.com>:
starting over..

reflashed .hex, plugged in my old 18650 batteries in 6s pack with balance port and main leads, calibrated voltages and currents. testing again with lipo option charge and discharge at 500-750-1000mA. i was using li-ion mode before maybe li-ion set doesnt charge to 4.2v but that doesnt explain crappy balancing :) will see 

"Lilo" (LILO) end voltage is: 4.1V
for 4.2V please use "Lipo"

zivizivi

unread,
Feb 18, 2015, 10:44:17 PM2/18/15
to cheali-...@googlegroups.com
i do
still not 4.2 end voltages tho..

after 2 runs with lipo set single cell battery end with 4.177
and after several trials with 6 cell pack cell voltages of disconnected batt 4.160 4.145 4.145 4.153 4.153 4.162

none of them 4.2 :(

zivizivi

unread,
Feb 18, 2015, 10:48:42 PM2/18/15
to cheali-...@googlegroups.com
what is LiLo anyway lol aint it supposed to be LiI(i)o

Paweł Si

unread,
Feb 19, 2015, 5:38:12 AM2/19/15
to cheali-...@googlegroups.com
2015-02-19 4:44 GMT+01:00 zivizivi <zivi...@gmail.com>:
i do
still not 4.2 end voltages tho..

after 2 runs with lipo set single cell battery end with 4.177
and after several trials with 6 cell pack cell voltages of disconnected batt 4.160 4.145 4.145 4.153 4.153 4.162

The truth is that we don't charge a battery to 4.2V
we charge a battery with a 4.2V voltage (and that's a difference)
We could do the first, but this would mean we have to charge it with a higher 
voltage than 4.2V - so I'm not a big fan of it
(although some chargers do that)

If you have a healthy battery it should be charged to 4.19V-4.195V

you could also try to change the  "options"->"settings"->"min Iout: I/10"  value
for example to I/50.



zivizivi

unread,
Feb 19, 2015, 9:35:04 AM2/19/15
to cheali-...@googlegroups.com
ok thank you i will play with it more

i am using old 18650 batts from laptop packs and such they are not the greatest or healthiest :)

zivizivi

unread,
Feb 19, 2015, 9:43:36 AM2/19/15
to cheali-...@googlegroups.com
another problem is the fan. it doesnt work even if i change its settings to 1c degree
if i reset eprom and try to change fan settings it sometimes works but its annoying to realize fan needs eprom reset after all fine calibrations
i tested the fan its physically fine very strange

zivizivi

unread,
Feb 19, 2015, 12:04:02 PM2/19/15
to cheali-...@googlegroups.com
ok reset eprom made sure fan works and then calibrated again programmed my batt packs now playing with min Iout and o.charge settings
i also set bal. err to minimum allowed

is there anything i can make the balancer more precise?

thank you for your time and support btw

zivizivi

unread,
Feb 19, 2015, 5:07:42 PM2/19/15
to cheali-...@googlegroups.com
hmm overcharge and min iout settings seems to trip charge protection and causes error cuts the charging with battery disconnect error or something. is there another setting i miss? i couldnt reach 4.2 or near 4.2v in my cells yet still ~4.1 ish voltages... i will use some custom batt packs 5-10 cell paralleled and such. 4.1 to 4.2 will  make big capacity differences for them i believe.

balancer seems ok after fine calibration and tests

zivizivi

unread,
Feb 19, 2015, 9:13:56 PM2/19/15
to cheali-...@googlegroups.com
after a bit more playing around managed to reach 4.2v all good :)
now testing artificial noise setting thank you

Paweł Si

unread,
Feb 20, 2015, 1:24:48 PM2/20/15
to cheali-...@googlegroups.com
2015-02-19 23:07 GMT+01:00 zivizivi <zivi...@gmail.com>:
hmm overcharge and min iout settings seems to trip charge protection and causes error cuts the charging with battery disconnect error or something.

 bug fixed

zivizivi

unread,
Feb 20, 2015, 1:30:22 PM2/20/15
to cheali-...@googlegroups.com
nice
i believe  it means i shall download a new version and reflash :)

also can i use unknown battery option for dummy load as power supply testing and such purposes?

zivizivi

unread,
Feb 20, 2015, 1:33:56 PM2/20/15
to cheali-...@googlegroups.com
testing new version now and will try load testing with 5v 12v power supplys soon

Paweł Si

unread,
Feb 20, 2015, 1:46:01 PM2/20/15
to cheali-...@googlegroups.com
2015-02-19 15:43 GMT+01:00 zivizivi <zivi...@gmail.com>:
another problem is the fan. it doesnt work even if i change its settings to 1c degree

do You still have problems with the fan?
if Yes, check if the "internal temperature" is correctly measured 
(if displayed value is near the actual chargers temperature)
it's displayed is on of the "charge screens".

zivizivi

unread,
Feb 20, 2015, 2:01:01 PM2/20/15
to cheali-...@googlegroups.com
sorry i just flashed reset eeprom fan started automatically but when i go to settings nothing works
well it works but weirdly. if i go to options settings  backlight and click start i cant see the values. can change the backlight but cannot see them on screen. all other settings the same

reflashed again proplem persists

zivizivi

unread,
Feb 20, 2015, 2:11:04 PM2/20/15
to cheali-...@googlegroups.com
rolled back to version 0.99-20150211 all the menus works fine again

Paweł Si

unread,
Feb 20, 2015, 2:25:18 PM2/20/15
to cheali-...@googlegroups.com
sorry for that, I've also change something in "settings"
and made a mistake.

I've uploaded a fixed version.


--
You received this message because you are subscribed to the Google Groups "cheali-charger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cheali-charge...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

zivizivi

unread,
Feb 20, 2015, 2:32:30 PM2/20/15
to cheali-...@googlegroups.com
no problem

while you are working on it can you pls fix another problem i observed?

if its not my own fault\abuse to overcharge causing the problem;

when i plugin my ~4.16v batts after i play with overcharge settings to achieve 4.2v and try to balance charge it gives me batt disconnected error after a while but if i first discharge the batteries some an then try to charge and balance it goes fine no batt disconnect error :)

it takes too much time for me this way to test to reach 4.2v in 6 cell pack decharge- charge + balance - check voltages - calibrate if necessary try to balance again batt error start over from discharge again...

zivizivi

unread,
Feb 20, 2015, 2:52:25 PM2/20/15
to cheali-...@googlegroups.com
ok installed the latest unstable version fan problem is still there resetting epprom many times did not made it work this time hehe

and if you have time if it is possible i want lcd contrast setting if possible my screen is a bit dark behind the the fonts there was a way to change its contrast before i think. i checked behind the screen there was no pot to change :) so it was probably the stock firmwares feature in settings. its not critical tho only when u can find time for it. i need the over charge\balance difference protection limiting to be less aggressive for my 4.2 voltage trials first :)

after calibrating and testing on batteries i will start on load testing power supplys with unknown battery option hope i wont burn anything..

thank you again :)

Paweł Si

unread,
Feb 20, 2015, 2:58:56 PM2/20/15
to cheali-...@googlegroups.com
2015-02-20 20:52 GMT+01:00 zivizivi <zivi...@gmail.com>:
ok installed the latest unstable version fan problem is still there resetting epprom many times did not made it work this time hehe

and if you have time if it is possible i want lcd contrast setting if possible my screen is a bit dark behind the the fonts there was a way to change its contrast before i think. i checked behind the screen there was no pot to change :) so it was probably the stock firmwares feature in settings. its not critical tho only when u can find time for it. i need the over charge\balance difference protection limiting to be less aggressive for my 4.2 voltage trials first :)

I don't fully understand your problem, could you do a video about it?

after calibrating and testing on batteries i will start on load testing power supplys with unknown battery option hope i wont burn anything..

;) we will see (I'm not sure what will happen, but it probably should work)
 
thank you again :)

zivizivi

unread,
Feb 20, 2015, 3:31:37 PM2/20/15
to cheali-...@googlegroups.com
which one?
- if u mean fan it doesnt work at all even after lowering the start limit to 1c.
- if its about battery disconnect error it just refuses to charge near full battery i guess. if i discharge it a bit it charges good again afterwards.
- if you wonder about my lcd its not bad at all just cosmetic. example videos: mine looks like this notice the background dark ares behind characters https://www.youtube.com/watch?v=hZv0BxXtKPY i wanted to make it look nicer like this https://www.youtube.com/watch?v=YQxE5fpoIbU :)


a crappy phone camera is all i can do about video u wont like it. no need for video anyway simple problems really

about batt disc error;
it may also be my battery voltages difference. 1 of my 18650 in 6 pack is probably bad. has higher internal resistance discharges faster and loses more voltage in idle after hitting 4.2v  i will change it and test again.

zivizivi

unread,
Feb 20, 2015, 3:55:45 PM2/20/15
to cheali-...@googlegroups.com
gone back to 2015 02 11 version fan works again :)
will calibrate now and replace my bad cell in the pack

Paweł Si

unread,
Feb 20, 2015, 4:06:10 PM2/20/15
to cheali-...@googlegroups.com
2015-02-20 21:31 GMT+01:00 zivizivi <zivi...@gmail.com>:
which one?
- if u mean fan it doesnt work at all even after lowering the start limit to 1c.

bug fixed, I've just uploaded a new version, please download it.
 
- if its about battery disconnect error it just refuses to charge near full battery i guess. if i discharge it a bit it charges good again afterwards.

bug fixed.
Yes, I mean this bug, If my bugfix doesn't work I would like to see it on video,
it doesn't  matter if it's a phone camera.
 
- if you wonder about my lcd its not bad at all just cosmetic. example videos: mine looks like this notice the background dark ares behind characters https://www.youtube.com/watch?v=hZv0BxXtKPY i wanted to make it look nicer like this https://www.youtube.com/watch?v=YQxE5fpoIbU :)

I'm afraid this issue is not fixable.

 

zivizivi

unread,
Feb 20, 2015, 4:20:16 PM2/20/15
to cheali-...@googlegroups.com
ok will try it now

thank you

zivizivi

unread,
Feb 20, 2015, 4:35:09 PM2/20/15
to cheali-...@googlegroups.com
no good fan still doesnt respond to setting changes.

if it helps it has strange behavior; after flashing fan works with usb 5v while still connected to usbisp. but after resetting eeprom fan stops and never responds in settings change limits. even after removing the usbisp connection and applying proper external voltage.

Paweł Si

unread,
Feb 20, 2015, 4:47:32 PM2/20/15
to cheali-...@googlegroups.com
2015-02-20 22:35 GMT+01:00 zivizivi <zivi...@gmail.com>:
no good fan still doesnt respond to setting changes.

what value are you using in "settings"->"fan on:" ?

zivizivi

unread,
Feb 20, 2015, 5:01:43 PM2/20/15
to cheali-...@googlegroups.com
sets 50 to default then i lower it to be sure it will work i try 1 5 10 20c to make sure it kicks in.
i check the internal temp in calibration setting and its around 20ish. fan works temp sensor works but setting doesnt work on new builds. it works in cheali-charger-Turnigy-A-6-10-200W_0.99-20150211_atmega32.hex after resetting eeprom and checking the fan settings first. but even in 20150211 build if i dont check the fan setting and go calibrate set everything up the fan settings doesnt work. its weird problem :) if its too much trouble just forget it for now i can just feed the fan with 12v add a physical switch to on of or something heh  or i dunno u can just clone the fan from old 0211 build back to new hex build

Paweł Si

unread,
Feb 20, 2015, 5:15:35 PM2/20/15
to cheali-...@googlegroups.com

No, we need to fix it,
but I need you help for that,

2015-02-20 23:01 GMT+01:00 zivizivi <zivi...@gmail.com>:
sets 50 to default then i lower it to be sure it will work i try 1 5 10 20c to make sure it kicks in.

you shouldn't be able to set this value below 6°C,
are you sure you've uploaded the newest version?
please check this, and if you are able to
then upload the firmware again.

i check the internal temp in calibration setting and its around 20ish.
 
please don't go into this menu ("calibartion"->"temp intern")
if you did, reset the charger to default settings ("options"->"reset default")

you can check the internal temperature by:
1. selecting a battery
2. go into "charge" (don't start the charging)
3. press 3 times "inc" button - you should see: "Tint="

can you tell me what value are you seeing in "Tint=" ?
 
fan works temp sensor works but setting doesnt work on new builds. it works in cheali-charger-Turnigy-A-6-10-200W_0.99-20150211_atmega32.hex after resetting eeprom and checking the fan settings first. but even in 20150211 build if i dont check the fan setting and go calibrate set everything up the fan settings doesnt work. its weird problem :) if its too much trouble just forget it for now i can just feed the fan with 12v add a physical switch to on of or something heh  or i dunno u can just clone the fan from old 0211 build back to new hex build



On Friday, February 20, 2015 at 11:47:32 PM UTC+2, cheali-charger wrote:


2015-02-20 22:35 GMT+01:00 zivizivi <zivi...@gmail.com>:
no good fan still doesnt respond to setting changes.

what value are you using in "settings"->"fan on:" ?
 

if it helps it has strange behavior; after flashing fan works with usb 5v while still connected to usbisp. but after resetting eeprom fan stops and never responds in settings change limits. even after removing the usbisp connection and applying proper external voltage.


zivizivi

unread,
Feb 20, 2015, 5:26:06 PM2/20/15
to cheali-...@googlegroups.com
you are right 6 min
reset eeprom checked the fan setting it was at 50c lowered to 6 ledt to main menu nothing tried 10c same again gone into charge mode to see temp it was 21.7 going up slowly 21.8 21.9 etc...

zivizivi

unread,
Feb 20, 2015, 5:28:27 PM2/20/15
to cheali-...@googlegroups.com
im sure im on latest build just to be sure i will do it again.

zivizivi

unread,
Feb 20, 2015, 5:34:48 PM2/20/15
to cheali-...@googlegroups.com
ok flashed again to fresh download
fan doesnt respond to settings. t int is 23.2 c degrees same behavior fan starts up still plugged in usbisp after eeprom reset its unresponsive

Paweł Si

unread,
Feb 20, 2015, 6:23:23 PM2/20/15
to cheali-...@googlegroups.com
2015-02-20 23:34 GMT+01:00 zivizivi <zivi...@gmail.com>:
ok flashed again to fresh download
fan doesnt respond to settings. t int is 23.2 c degrees same behavior fan starts up still plugged in usbisp after eeprom reset its unresponsive

hmm....  
maybe your PCB layout changed?
could you check if the Fan is connected to pin 9 of the CPU? (probably through a transistor)

zivizivi

unread,
Feb 20, 2015, 6:38:51 PM2/20/15
to cheali-...@googlegroups.com
its super old hobby king charger i doubt its any different u have seen but i will check for you ok wait up

zivizivi

unread,
Feb 20, 2015, 7:17:26 PM2/20/15
to cheali-...@googlegroups.com
yes it is in pin9 of atmega32L

the fan positive is directly connected

fan negative is at pin9 via 3 pin smd transistor 64 and  somethin writing on its getting late i couldnt read with my eyes tired in 10 minutes. anyway it is same part as balance port transistors.negative trace goes around the board and connects to smd transistor between big capacitor and lcd connector.

cant you just copy the fan code in the 02 11 builld to latest hex just for today? i want to flash it calibrate it and toss it for today as soon as possible :)

Paweł Si

unread,
Feb 20, 2015, 7:36:58 PM2/20/15
to cheali-...@googlegroups.com
problem is that I didn't change anything regarding the Fan (besides the 6°C limit - and this doesn't matter)
so I wouldn't know what to copy.

maybe you could do a video where you reset the charger to default settings,
set your "fan on" setting, and show me the "Tint=" value?


zivizivi

unread,
Feb 20, 2015, 7:46:04 PM2/20/15
to cheali-...@googlegroups.com
weird problem..

what will video prove lol im just telling you all the data you need you dont trust me? i reset the eeprom and then change fan on setting to 10c then t int is 20 degree fan doesnt start

after i am done soldering i may do a video for you if you insist on not believing me sure thing : )

Paweł Si

unread,
Feb 20, 2015, 7:53:00 PM2/20/15
to cheali-...@googlegroups.com
2015-02-21 1:46 GMT+01:00 zivizivi <zivi...@gmail.com>:
weird problem..

what will video prove lol im just telling you all the data you need you dont trust me? i reset the eeprom and then change fan on setting to 10c then t int is 20 degree fan doesnt start

after i am done soldering i may do a video for you if you insist on

Thanks! I will watch it tomorrow so take your time
 
not believing me sure thing : )
 
It's not about  believing you, but seeing how the charger behaves in real time.

zivizivi

unread,
Feb 20, 2015, 11:08:16 PM2/20/15
to cheali-...@googlegroups.com
here https://www.dropbox.com/s/rwokjplibcvszps/turnigy%20fan%20trouble.mp4?dl=0 download first to view in full quality incase u wanna verify  texts on console and such

i reversed the fan and put a tape on it for you to be able to see better.

i still believe video was pointless waste of time. and no there are no hidden wires or switches anywhere to trick you :)


Paweł Si

unread,
Feb 21, 2015, 9:17:43 AM2/21/15
to cheali-...@googlegroups.com
2015-02-21 5:08 GMT+01:00 zivizivi <zivi...@gmail.com>:
here https://www.dropbox.com/s/rwokjplibcvszps/turnigy%20fan%20trouble.mp4?dl=0 download first to view in full quality incase u wanna verify  texts on console and such

i reversed the fan and put a tape on it for you to be able to see better.

i still believe video was pointless waste of time

not for me ;)
 
and no there are no hidden wires or switches anywhere to trick you :)

thanks for the video,
I've uploaded a  fixed version, please check if it works

zivizivi

unread,
Feb 21, 2015, 3:12:26 PM2/21/15
to cheali-...@googlegroups.com
fan works properly now with the latest 20150221 hex.
i will continue to my tests with this build from now on, will let you know if i encounter any problems.

thanks

zivizivi

unread,
Feb 21, 2015, 10:06:38 PM2/21/15
to cheali-...@googlegroups.com
ok fan is problematic still

it starts at set temperature but doesn't stop later on when temp lowers the threshold or after i stop the charge\discharge process while tint is lower then set mark so no good it works all the time when its triggered

can you pls change the fan working maybe 2-5 degree safety margin and then stop or no margin at all just let is stop at the set temperature

simple example for you before you ask for videos;

how it works now
fan set 30c> t int goes 30c while discharging> fan starts to work> t int goes down to 25c> fan is still on > press stop turn stop the discharge> fan still works until you disconnect the power even if the internal temp is 20c

how it may be better
fan set 30c> t int goes 30c while discharging> fan starts to work> t int goes below 30c (or 28c-25c) if you want> fan shuts down

Paweł Si

unread,
Feb 23, 2015, 5:30:39 AM2/23/15
to cheali-...@googlegroups.com
2015-02-22 4:06 GMT+01:00 zivizivi <zivi...@gmail.com>:
ok fan is problematic still
it starts at set temperature but doesn't stop later on when temp lowers the threshold or after i stop the charge\discharge process while tint is lower then set mark so no good it works all the time when its triggered

can you pls change the fan working maybe 2-5 degree safety margin and then stop or no margin at all just let is stop at the set temperature

simple example for you before you ask for videos;

how it works now
fan set 30c> t int goes 30c while discharging> fan starts to work> t int goes down to 25c> fan is still on > press stop turn stop the discharge> fan still works until you disconnect the power even if the internal temp is 20c

 
Are you sure about that?
the firmware has a hysteresis of 5.12°C so if you set "fan on:" to 30°C
the fan should turn off at 24.88°C

zivizivi

unread,
Feb 23, 2015, 7:08:31 AM2/23/15
to cheali-...@googlegroups.com
i was sure yesterday but not now... i may stopped testing it after 5 degree change :) i will try more on that

some more notes
- when you create a new set of battery in main battery program menu the default charge current is fixed on 10a which is maximum. it also randomly starts at weird numbers. like 65.53A and such this wasnt like this in before release. it starts to change if you try to change battery capacity which is 2200mah as normal and icurrent changes equals at same current as batt capacity.

- error messages are unreadably fast. like when you go into calibration menu and try to calibrate current warning batt will be charged with high current and such small error msges to use are unreadable.

- voltage calibration still confusing. if you calibrate your batteries at ~4.1 ~4.2 voltages the charger will not read the voltages accurately at low near empty batteries ~3.6 ~3.9 may it effect cc cv states? i dont know but its not accurate outside of the done calibration voltages. but at least it wont overcharge when you reach near full battery voltages. thats all i know

*about the fan; does it do auto speed adjustments in your chargers? mine only runs at full power or just off state. i may just make a simple small temp controlled speed adjustment circuit with a ntc and a mosfet. its boring to test the unit with all the fan noise :)



IMG_20150223_135505.jpg

zivizivi

unread,
Feb 23, 2015, 7:19:43 AM2/23/15
to cheali-...@googlegroups.com
testing the fan hysteresis now.

zivizivi

unread,
Feb 23, 2015, 8:01:07 AM2/23/15
to cheali-...@googlegroups.com
ok fan does work sorry.

set the fan setting to run at 40c heated the internal ntc 40c with soldering iron it started at 39.9 then i stoped heating up. fan stopped at 30ish degrees
so it works fine

but please check the notes i sent on 2 mgsgs before

zivizivi

unread,
Feb 23, 2015, 8:30:14 AM2/23/15
to cheali-...@googlegroups.com
how do you edit the firmware?

i hate wait a day for a solution. i could change some values in your latest unstable builds and test it then this progress would be much faster.
i tried to see and edit the coding in a hex editor but all the values are in hexadecimal


zivizivi

unread,
Feb 23, 2015, 8:39:24 AM2/23/15
to cheali-...@googlegroups.com
trying with winavr now couldnt made the codes readable yet

zivizivi

unread,
Feb 23, 2015, 8:46:49 AM2/23/15
to cheali-...@googlegroups.com
hehe ok everything is on source codes section

zivizivi

unread,
Feb 23, 2015, 8:49:56 AM2/23/15
to cheali-...@googlegroups.com
it seems that was a bad idea i will lose much more time if i try to do that im not the best programmer forget that idea hehe

zivizivi

unread,
Feb 23, 2015, 10:18:09 AM2/23/15
to cheali-...@googlegroups.com
charging 1 cell 18650 now in lipo mode. charging is not finished and i measured the battery voltage along the charge process. it was reading all wrong. now charger thinks it is 4.200v but the cell is 4.186. calibrated voltages before. i measure while battery connected and still charging.

i couldnt make the unit read correct voltages everytime from the first day of my chali charger test. could not fix the problem i mentioned in my first post. my charger is like a bad clock shows the right time 2 times a day. so frustrating and time consuming

zivizivi

unread,
Feb 23, 2015, 11:20:24 AM2/23/15
to cheali-...@googlegroups.com
update on charge
still charging lcd says 4.229 actual voltage 4.260
yes i changed overvoltage setting

it was most accurate at 4.1v range which is where i calibrated the charger

zivizivi

unread,
Feb 23, 2015, 12:34:45 PM2/23/15
to cheali-...@googlegroups.com
new battery test with default settings

1 li-ion battery charging with 800ma. measurements taken while the charger is still connected and charging.

charger says floating between 4.1999 4.200 battery actual voltage is 4.234

min Iout: I/10
min Iout: 50mA
o.charge: 0mV
adc noise is on

Paweł Si

unread,
Feb 23, 2015, 2:10:29 PM2/23/15
to cheali-...@googlegroups.com
All what you are describing is like the charger didn't reset  itself to "default settings"
in such a case the charger will not work correctly,

the strange thing is that the charger should warn you about this situation.
Could download you eeprom for the charger and send it to me?
I need to check this.

After that just go to "options"->"reset default" and calibrate the charger again.

zivizivi

unread,
Feb 23, 2015, 2:18:38 PM2/23/15
to cheali-...@googlegroups.com
i did not reset eeprom. just changed settings i mentioned above. i wait the charge ending to be sure of end battery voltage. in the mean time pls read my other posts above about for other small problems



zivizivi

unread,
Feb 23, 2015, 2:29:14 PM2/23/15
to cheali-...@googlegroups.com
ok charging ended and i removed the battery from charger.
the final battery voltage is 4.195 after 5 minutes of waiting time. it was more then 4.2 fresh outa charger but idle time let it settle to 4.198

charger was calibrated ~4.1v, settings were as i typed before almost default settings. only different setting i had was adc noise on thats it.

im happy with this end voltage.

Paweł Si

unread,
Feb 23, 2015, 2:38:54 PM2/23/15
to cheali-...@googlegroups.com
2015-02-23 20:18 GMT+01:00 zivizivi <zivi...@gmail.com>:
i did not reset eeprom. just changed settings i mentioned above. i wait the charge ending to be sure of end battery voltage. in the mean time pls read my other posts above about for other small problems 

you should take into account that on your charger (atmega32 200W charger)
the measurements resolution of the battery terminal is about 30mV (when "adc noise" off)
that's why you should use the balance port when ever possible,
voltage resolution on balance port is about 5mV (atmega32 200W charger).


zivizivi

unread,
Feb 23, 2015, 2:39:17 PM2/23/15
to cheali-...@googlegroups.com
here is my config
dont forget to check other issues i have sent!


here i copy paste for you;
eeprom.hex
flash.hex
hfuse.hex
lfuse.hex

zivizivi

unread,
Feb 23, 2015, 2:46:42 PM2/23/15
to cheali-...@googlegroups.com
ok fair enough but what do you suggest for 1 cell batteries? shall i connect the battery to balance port as well? if it will improve readings fine by me i can make a custom wiring but what about normal ppl with 1 cell hobby batteries? they wont have balance ports in 1 cell configuration batts.

zivizivi

unread,
Feb 23, 2015, 3:47:11 PM2/23/15
to cheali-...@googlegroups.com
resolution of 30mv or 5mv doesn't really mean anything at all. even it had very high resolution or very low resolution it shouldn't effect the usability of the charger. accuracy is all that matters. i guess u want to say balance readings are more accurate then main battery terminals. 

Paweł Si

unread,
Feb 24, 2015, 9:58:10 AM2/24/15
to cheali-...@googlegroups.com

2015-02-23 20:46 GMT+01:00 zivizivi <zivi...@gmail.com>:
ok fair enough but what do you suggest for 1 cell batteries? shall i connect the battery to balance port as well?

yes, you can connect only 1 cell to the balance port.

if it will improve readings fine by me i can make a custom wiring but what about normal ppl with 1 cell hobby batteries? they wont have balance ports in 1 cell configuration batts.

The question is if it's worth it, if you charge a battery to 4.185V instead of 4.20V
you are losing about 1.5% of its capacity, (10mV ~ 1% roughly counting).
 

2015-02-23 21:47 GMT+01:00 zivizivi <zivi...@gmail.com>:
resolution of 30mv or 5mv doesn't really mean anything at all. even it had very high resolution or very low resolution it shouldn't effect the usability of the charger. accuracy is all that matters. i guess u want to say balance readings are more accurate then main battery terminals. 

I'm intentionally using the term "resolution" (not  accuracy nor error),
The accuracy is difficult to determine, it depends mostly on:
1. how well did you calibrate the charger (what class of multimeter did you use)
2. quality of the components used in you charger (don't forget it's a cheap Chinese charger)
3. what's the  temperature of the charger (mostly because of 2.)
4. what calibration points did you use
5. .... and so on

but you shouldn't expect a better accuracy then the resolution.

zivizivi

unread,
Feb 24, 2015, 11:46:42 AM2/24/15
to cheali-...@googlegroups.com
yes i know its a cheapo and the temperature coefficient can effect readout. i also know calibration of the measurement is important also the accuracy and resolution are different things and they dont effect each other. i dont have the most accurate measuring standarts but i am confident to a degree. i certainly have better resolution and more accuracy then the charger with my multimeters and i also calibrate and crosscheck my meters with a voltage standard. anyway lets forget about this its irrelevant and wasting more time.

the real problem is i cannot calibrate the damn thing. i expect the charger to read my battery voltages right even if they are at 3v range or 4v. but if i calibrate the charger from balance port voltages at 4.00v when i put 3.00v batteries there it will not see 3.00v it will see 3.813 or something like that higher random value. and vice versa if i calibrate the unit at 3v it will read 4v wrong later. and even the shittiest multimeter can spot this error without accuracy or true measurement it will be obvious there is a different readout at what charger sees and what the actual battery voltages are at. what do you suggest i shall do? how is the situation in your chargers? if it is software issue or hardware i dont know thats why i am asking you if its fixable via software or maybe i have a hardware error or you can just i dont know.

also like i said before when the charger is in default settings just calibrated it charges batteries to 4.2v in lipo settings without doing any special settings as of the latest test built. i have sent you my backup u can check there.

and then there are other other small problems i mentioned before did you read them?

i believe there is a communication problem. it feels like you are not reading what i send most of the time here. where are you from? are you using google translator or somehing? i can type simpler here if it will help. i am only trying to help to make the firmware better for everyone by finding small errors and problems while i am testing it myself

have a good day

Paweł Si

unread,
Feb 25, 2015, 5:48:14 AM2/25/15
to cheali-...@googlegroups.com
2015-02-24 17:46 GMT+01:00 zivizivi <zivi...@gmail.com>:
yes i know its a cheapo and the temperature coefficient can effect readout. i also know calibration of the measurement is important also the accuracy and resolution are different things and they dont effect each other. i dont have the most accurate measuring standarts but i am confident to a degree. i certainly have better resolution and more accuracy then the charger with my multimeters and i also calibrate and crosscheck my meters with a voltage standard. anyway lets forget about this its irrelevant and wasting more time.

the real problem is i cannot calibrate the damn thing. i expect the charger to read my battery voltages right even if they are at 3v range or 4v. but if i calibrate the charger from balance port voltages at 4.00v when i put 3.00v batteries there it will not see 3.00v it will see 3.813 or something like that higher random value.

an error of 0.8V is definitely no acceptable
I need to see this, could you make a video?

 
and vice versa if i calibrate the unit at 3v it will read 4v wrong later. and even the shittiest multimeter can spot this error without accuracy or true measurement it will be obvious there is a different readout at what charger sees and what the actual battery voltages are at. what do you suggest i shall do?

I don't know, I need to see it.
 
how is the situation in your chargers?

all my chargers are very accurate, error <30mV on Bat+ and Bat-.
 
if it is software issue or hardware i dont know thats why i am asking you if its fixable via software or maybe i have a hardware error or you can just i dont know.

also like i said before when the charger is in default settings just calibrated it charges batteries to 4.2v in lipo settings without doing any special settings as of the latest test built. i have sent you my backup u can check there.

and then there are other other small problems i mentioned before did you read them?

I'm sorry, I'm resolving only one problem at a time,
so please choose one issue that is most important to you
an we will solve it, after that we will do the next one, and  so on.
 

i believe there is a communication problem. it feels like you are not reading what i send most of the time here. where are you from? are you using google translator or somehing?

yes I'm using google translate
 
i can type simpler here if it will help.

yes, it would help, please don't write such long mails, keep them SHORT and simple,
always use some real data in your mails, for example: 
1.  "charger is not accurate at 3V" - is not acceptable (I'm ignoring such a sentences)
2.  "charger measures 3.813V instead of 3.00V when calibrated at 4V" - this is what I understand.
and as I said, only one problem at a time, 
 
i am only trying to help to make the firmware better for everyone by finding small errors and problems while i am testing it myself

Best Regards,
Paweł

Paweł Si

unread,
Feb 25, 2015, 5:11:58 PM2/25/15
to cheali-...@googlegroups.com


2015-02-23 20:39 GMT+01:00 zivizivi <zivi...@gmail.com>:
here is my config

bug fixed,

Best Regards,
Paweł
 

zivizivi

unread,
Feb 26, 2015, 1:06:38 AM2/26/15
to cheali-...@googlegroups.com
can you tell what is changed when you fix a bug?

when i have time i will make a video to you


Paweł Si

unread,
Feb 26, 2015, 2:48:06 PM2/26/15
to cheali-...@googlegroups.com
2015-02-26 7:06 GMT+01:00 zivizivi <zivi...@gmail.com>:
can you tell what is changed when you fix a bug?

zivizivi

unread,
Feb 26, 2015, 5:16:16 PM2/26/15
to cheali-...@googlegroups.com
ok thanks

with my voltage problem i could not use stroge mode properly. charger lowered the voltage from 4.2v to 3.9v. i had to use discharge and  manually stop at 3.8v in 5 parallel 18650 ~10A battery. that was boring

Igon

unread,
Mar 1, 2015, 6:00:50 AM3/1/15
to cheali-...@googlegroups.com
 

with my voltage problem i could not use stroge mode properly. charger lowered the voltage from 4.2v to 3.9v. i had to use discharge and  manually stop at 3.8v in 5 parallel 18650 ~10A battery. that was boring

Probably you can use "Unknown" battery - like temporary solution...

zivizivi

unread,
Mar 6, 2015, 9:59:29 PM3/6/15
to cheali-...@googlegroups.com
 my charger sucks this way it cannot read voltages reliably on main battery terminals or on balance ports.
does anyone have any idea which parts are responsible for voltage readings? an opamp is faulty maybe? i want to fix my charger without randomly guessing defective parts

also does anyone have the stock firmware came with turnigy 200w for me to crosscheck? my backup hex doesnt work

thanks in advance

Igon

unread,
Mar 7, 2015, 5:42:13 AM3/7/15
to cheali-...@googlegroups.com
Did you try to compare ADC raw voltage with charger's screen indication?
May be your charger needs two point voltage calibration..

charger - UART: ext. Adc

Tera Term - COM3
$1;8;3.3;2461;0;0;0;0;65090;0;12085;4;0;5;6;4;5;0;0;0;0;0;0;3655;0;99;0;14
$2;8;3.3;5311;8;0;17099;0;0;41089;112;0;59;8;76;83;64;71;0;0;5312;0;0;17088;0;0;41088;64;0;64;0;64;64;64;64;0;0;28288;2;640;0;339;3
$3;8;3.3;666;871;50

2461 <- voltage (mV)
5311 <- raw
raw / CONSTANT = voltage

check this equation at different voltages

Paweł Si

unread,
Mar 7, 2015, 5:43:44 PM3/7/15
to cheali-...@googlegroups.com
2015-03-07 3:59 GMT+01:00 zivizivi <zivi...@gmail.com>:
 my charger sucks this way it cannot read voltages reliably on main battery terminals or on balance ports.
does anyone have any idea which parts are responsible for voltage readings? an opamp is faulty maybe? i want to fix my charger without randomly guessing defective parts

I would like to help, but I need to see this on video
Best Regards,
Paweł

zivizivi

unread,
Mar 8, 2015, 12:53:24 AM3/8/15
to cheali-...@googlegroups.com
thank you igon i did not do such a thing :)

are you suggesting me to connect the charger to pc and compare the readouts between charger if i understand the method  right? if that is the case i dont have usb port on my charger pcb but as i saw on the pictures it looks like 1 mini usb connector and a jumper wire mod is all i need. and then Tera Term and set it up on the pc and such am i correct?

https://raw.githubusercontent.com/stawel/cheali-charger/master/docs/Turnigy_MAX200/Turnigy_MAX200-A6-10_back.jpg
https://raw.githubusercontent.com/stawel/cheali-charger/master/docs/Turnigy_MAX200/Turnigy_MAX200-A6-10_front.jpg

seems simple enough i can do it if you help me out i got micro usb connectors and cables lying around

zivizivi

unread,
Mar 8, 2015, 12:57:39 AM3/8/15
to cheali-...@googlegroups.com
you always want to see everything on video :) the problem is simple when i connect a 4.1v battery and calibrate the voltages with 4.1v battery it wont see ~3v batteries right later. the calibration does not stick with voltage changes somehow it is only accurate near the calibrated voltages. if i use 3v to calibrate the voltages it wont see 4v right and such very simple to understand without a video

zivizivi

unread,
Mar 8, 2015, 1:04:16 AM3/8/15
to cheali-...@googlegroups.com
hmm for that i will need a serial data reading solution i guess it wont be a true usb port. how do you guys connect these chargers to your pc? with a ttl convertor?

Igon

unread,
Mar 8, 2015, 5:38:23 AM3/8/15
to cheali-...@googlegroups.com


Or something like this http://www.prolific.com.tw/us/showproduct.aspx?p_id=225&pcid=41
(but two of my PL2303 did not works stably under WinXP - junk at screen after 3-5 minutes... all is ok under Win7)

If you have COM port you can try http://qsl.net/pa3ckr/bascom%20and%20avr/rs232/rs2324.gif
And looks like you need only left part of schematic


zivizivi

unread,
Mar 8, 2015, 8:51:01 AM3/8/15
to cheali-...@googlegroups.com
i have a PL2303 usb to rs232 adapter and also a native com port also have bunch of resistors i can try to connect the charger to pc when i get time thank you

Владимир Залогин

unread,
Mar 17, 2015, 7:10:52 AM3/17/15
to cheali-...@googlegroups.com
Hello Igon!
I have a question about the connection to the PL-2303 IMAX v6 novoton. There is a wire from the phone with a chip PL-2303 XA/HXA, you can assume it pinout (black- GND, red- 30mV, green- + 3V, yellow- 30mV, orange- 0V, blue- 30mV) I think the blue and red signal. Which port that can be connected to the IMAX? To the port for firmware flash and the which pins?


sasam

unread,
Mar 17, 2015, 11:21:01 AM3/17/15
to cheali-...@googlegroups.com

Igon

unread,
Mar 17, 2015, 2:08:05 PM3/17/15
to cheali-...@googlegroups.com
Hi Vladimir

You need only 2 wires - GND and RX
My cables is also based at pl2303 but it is not a phone cables and the colours aren't same
I can not tell you which one is RX - you need to try all of it except green (power?)

Also both of my chargers is atmega based, so it is better to ask nuvoton users..
Be prepared to soldering a wire or two :) - 2 last posts of https://groups.google.com/forum/#!topic/cheali-charger/VATJQ4-GpVE%5B201-225%5D

hm.. most of search results for "philips a6h0bt pinout" brings me to the .ru sites.. quite unusual

Владимир Залогин

unread,
Mar 18, 2015, 4:30:15 AM3/18/15
to cheali-...@googlegroups.com
Hello Igon!
You are realy help me to understand the theme. 
And finaly, it's corect for NUVOTON ARM?
Thank you

вторник, 17 марта 2015 г., 21:08:05 UTC+3 пользователь Igon написал:

Igon

unread,
Mar 18, 2015, 3:55:16 PM3/18/15
to cheali-...@googlegroups.com

2 wire?
It is correct for any UART, not only Nuvoton
(if you need to receive data and if you have a usual usb-powered dongle)

Reply all
Reply to author
Forward
0 new messages