HTRC 80W use this firmware

696 views
Skip to first unread message

Technicien De L'Extreme

unread,
Sep 22, 2020, 2:13:04 PM9/22/20
to cheali-charger

hey

I found in 2020 a charger compatible with the cheali firmware, it uses an atmega32L
this is a copy of the imax b6

the pins for the programming port is identical to the original.
so i wanted to use this firmware :
cheali-charger-imaxB6-original_2.01-e10.3.12-20170311_atmega32.hex
but there are two problems : the first is the limitation to 50W.
the second problem is the wrong reading of vb1
it works in calibration but during the charge vb1 is wrong about -0.4V

I tried to compile with this line, but the problem moves to vb2
#undef ENABLE_SIMPLIFIED_VB0_VB2_CIRCUIT

so i use this version :
cheali-charger-Dual-Power-B6AC-80W-RC_2.01-e10.3.12-20170311_atmega32.hex
it works perfectly !!!
but there is a new problem, the discharge limit is 10w instead of 5W,the charger became burning, fortunately I saw myself before the destruction.

finally I compiled the dual power 80W version by modifying the discharge to 5W, now the charger works well and is secure.

then I also modify the firmware to modify the order of the "lipo" menu
the first line was "Charge" and I find it dangerous to charge a lipo without balance socket , one day I was going to make a mistake and select this function.
So I moved this function to the last of the list to be sure not to select it by mistake.

hope this helps someone someday

I give you 3 files
-the original firmware of the imax b6 HTRC (copy from my HTRC)
-The firmware change with the limitation to 5W
-the firmware to modify with the limitation to 5W + the "lipo" menu to customize

if you have an 80W HTRC and you use the discharge function, use my firmware


HTRC 80W Original FW.zip
HTRC 80W 5W Custom.zip
HTRC 80W 5W.zip

Frank Steinberg

unread,
Oct 10, 2020, 3:04:05 PM10/10/20
to cheali-charger
Thanks for sharing this information and for providing the appropriate firmware.

I didn't expect to find another suitable charger in 2020, except for the Sky-RC original. The HTRC model is advertised explicitly with the ATMega32. So i was sure that the processor would not be replaced at short notice (this has happened to me with a GOOLRC model). I ordered one right away. After a very fast delivery (Aliexpress dealer who delivered from Poland to Germany), I was able to flash your cheali-variant without any problems.

Frank

Technicien De L'Extreme

unread,
Oct 17, 2020, 5:25:33 AM10/17/20
to cheali-charger
hey frank
thank you for your message, i ordered a second load and it arrived in 10 days, this chinese seller is fast!

the manufacturer HTRC seems to offer interesting chargers, I would like to make cheali compatible with the htrc brand but I don't have the skills: /

Julien

David Slipper

unread,
Apr 4, 2021, 7:11:33 PM4/4/21
to cheali-charger
What target did you base your code on ???
I want to build my own version.
Can you send me the modified files (if you still have them) ??
Best regards,
Dave

diggit

unread,
Apr 5, 2021, 8:23:47 AM4/5/21
to cheali-charger
> so i use this version :
> cheali-charger-Dual-Power-B6AC-80W-RC_2.01-e10.3.12-20170311_atmega32.hex
> it works perfectly !!!

So, OP just took Dual-Power-B6AC-80W-RC config and lowered discharge limit to 5W.
You can edit menu item order here.

David Slipper

unread,
Apr 13, 2021, 6:56:24 AM4/13/21
to cheali-charger
Many thanks
Dave

David Slipper

unread,
Apr 15, 2021, 10:00:08 AM4/15/21
to cheali-charger
OK I have just received one of these units and I am pleased to say that it still uses the MEGA32 processor :-)
Before I try playing with the firmware I am testing it and have found that the USB serial output (actually its TTL) seems to be preasent and Logview (LogView_2.7.6.511) sees the serial data in the serial logging window but never produces any graphical data.
I have selected "SkyRC iMax B6" in the device setup.
What am I doing wrong ??
Best Regards,
Dave

David Slipper

unread,
Apr 16, 2021, 5:41:34 AM4/16/21
to cheali-charger
OK - on further investigation I have found that when in "logging" mode the signal going to the TTL-USB adapter is not pulling down enough. There seems to be a high value resistor in series with this line (>40K!!!) - OK for the temp sensor but not logging.
Taking a seperate logging output from before the resistor works a lot better from a signal point of view.

However LogView doesnt like the data - it seems too long. From what I have found on the web for the iMax B6 it should be 76 bytes, but the device is sending 93 bytes (including the "{" and "}" framing).

Has anyone got the logging working on this variant ??
Regards,
Dave

BTW Has anyone got a LogView (or similar program) that is all in English ??
Reply all
Reply to author
Forward
0 new messages