Code Monkey home page Code Monkey logo

Comments (2)

stawel avatar stawel commented on July 30, 2024

"m 1:3.900V"
"2:3.901V3:3.902V"
hm.. if the difference between "max" and "min" voltage is < 8mV (or "options"->"settings"->"bal. err")
no balancing is performed, in your case it's 3.902V-3.900V = 2mV < 8mV

The balancing is also not performed if the cell voltage is not "stable" (isStable returns false)
what means that the voltage difference between last "N" measurements is > 6mV
(or AnalogInputs::STABLE_VALUE_ERROR), in this case you should see a changing voltage on the cells.

from cheali-charger.

njozsef avatar njozsef commented on July 30, 2024

hi Pawel
sorry.
fail is my repository. I stored the ISMPS_maxvalue from calculated max charge I. Need storing the little large value than MAX_I
I fixed this problem. added plus 0.1A
best regards, Jozsef

calibrate.cpp
+// +ANALOG_AMP(0.100)

void checkCalibrateIcharge()
{
//CHECKHARDWAREPIDVALIDCALIBRATE
//check 'overflow" ismpsvalue

                                 //need because freeze 'm' state (balancerdisplay). this value stored the ismps_limit
if (!checkCalibrate(MAX_CHARGE_I+ANALOG_AMP(0.100),AnalogInputs::IsmpsValue))
 {
   Screen::displayCalibrationErrorScreen(1);
 }

settings.SMPS_Upperbound_Value_ = x1;
//save calib status
settings.calibratedState_ = settings.calibratedState_ | 2; 
Settings::save();   


//info only
if (!checkCalibrate(MAX_CHARGE_I,AnalogInputs::Ismps))
 {
   Screen::displayCalibrationErrorScreen(2);
 }

}

from cheali-charger.

Related Issues (20)

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.