Skip to content

DeepnineRC/cheali-charger

 
 

Repository files navigation

Welcome to cheali-charger!

This fork is for personal use. Feel free to use it but there might be errors. I develop this for my own charger to suit my needs. If you have an idea just add a comment.

I try to keep up with merging changes from the orginal project.

If you want an always-working version use: https://github.com/stawel/cheali-charger

  • New menu screen added ("battery id") after program selection, 300 different batterie selectable. up to 65000 possible (need changes in source).
  • Logging with new frame (frame id 9): $9;program;timestamp;battery_id;crc
  • The new 9 frame is sent at the first 30 secondes and then only once every 60 seconds.

Todo:

  • send the complete program with the 9 frame
  • setting in uart to switch on/off the 9 frame, to be compatible with logger software
  • setting on/off for the batter id feature
  • setting in battery menu to switch offbattery id for single programms.

<<<<<<< HEAD This project is an alternative firmware for a variety of lipo chargers,
see hardware.

Calibration

Connect a NOT fully charged LiPo battery to the main leads
and the balance port, if you don't own a battery with a
balance connector, just connect a regular one (~4V)
to the main leads and the balance port first two pins
(pin "0" <--> Bat-, pin "1" <--> Bat+).

go to: "options"->"calibrate":

  • voltage calibration: go to "voltage"
    • use a voltmeter to measure voltage on all cells and the power supply voltage (Vin)
      and set voltage on Vin, Vb1, Vb2, .., Vb6
      • only Vb1 is mandatory, battery main leads and balance port must be connected
      • you need to change at least one value (this will copy V1-6 voltage to Vbat)
  • charge current calibration:
    • connect your amperemeter in series with the battery, use the 10A(20A) input
    • disconnect balance port
    • go to "I charge"
      • go to: "50mA" (100mA on some versions)
        press "start" button (current flow should be visible on amperemeter)
        press "Inc", "Dec" buttons until the amperemeter shows 50mA (100mA on some versions)
        press "start" button to save the setting
      • go to: "1000mA"
        press "start" button
        press "Inc", "Dec" buttons until the amperemeter shows 1000mA
        press "start" button to save the setting
        WARNING: the battery will be charged with high current!
  • discharge current calibration: go to "I discharge"
    Repeat the same steps as before
    WARNING: the battery will be discharged with high current!
  • when needed: external (or internal) temperature probe calibration: go to "temp extern" ("temp intern") You have to set two calibration points

Done.
If you have any problems with calibration, go to "options"->"reset default" and try again.

Troubleshooting

  1. After flashing I see "options" and some strange characters in the second line (for example: squares), what should I do?
  • reset the charger to default settings (go to: "options"->"reset default" and press the "start" button)
  1. I get "calib. error": see this.

Atmega32 CPU:

  1. After flashing charger doesn't work (display shows squares):
  • download the *.hex again, use the "RAW" button in github
  • check the sha1 sum of the file, compare it with *.sha1:
  1. Sha1 sum is correct and the charger still doesn't work (display shows squares):
  • reset atmega32 fuses using avrdude:
    • windows: avrdude.exe -patmega32 -cusbasp -Uhfuse:w:0xc5:m -Ulfuse:w:0x3f:m
    • linux: avrdude -patmega32 -cusbasp -Uhfuse:w:0xc5:m -Ulfuse:w:0x3f:m

Useful materials

Mailing list

If you have any questions or suggestions please write to us at: cheali-chargerATgooglegroups.com
or visit: http://groups.google.com/group/cheali-charger
The mailing list is open for all.

91eac275d5ac69fe9bc3450acd35ea29a744e372

Don't use it if You don't need to
(not everything is implemented yet).

About

cheap lipo charger

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 73.5%
  • C++ 21.1%
  • Python 3.0%
  • CMake 0.6%
  • Shell 0.6%
  • Assembly 0.5%
  • Other 0.7%