150V 45A MPPT - roll your own


Author Message
mab1
Senior Member

Joined: 10/02/2015
Location: United Kingdom
Posts: 211
Posted: 09:25pm 08 May 2024      

Possibly spotted a very minor error in (i think) the latest version of the code.ZIP (serial LCD version):

TID=12027&P=47#212592latest version serial LCD

it seemed to do an extra MPPT scan every couple of mins at the 55sec mark ,but i spotted this in the code:

if ( timeout_check(8,1))
   {
     cal_sensor_count ++;
     if (cal_sensor_count > 1)           // should be 60 for an hour. testing will have it at 2 or something
       {
         cal_sensor_count = 0;           // one hour is up time to recal current sensor zero points
         if (track_mode != NIGHT)
           {
             //stop it


But as the Comment says "should be 60 for an hour" so is easy enough to change.