On Wed, 4 Jun 2003 22:36:43 +0200, Stef wrote: > Nice work Diego ! Thanks! :-) > Maybe the linear regression technic is only a selling argument, as was > the difficult formula ;-) I recall I first start with the regression for calculating the slope (it is simpler than the filter). > I've taken a look at your measurements and put the pictures on a website > (if you permit me), Sure! If you want, instead of the sample number, if you multiply it by 0.01 and divide by 4 (4 cells) you will get the per cell voltage aprox. I.e.: 590*0.01/4 = 1.475 volts. Exactly must be: sample*(2.5/1023*99/25)/4 = volts_per_cell Cheers, Diego. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body