baruch / b3603

Alternative firmware for the B3603
GNU General Public License v3.0
65 stars 34 forks source link

Implement calibration #8

Closed baruch closed 9 years ago

baruch commented 9 years ago

Need to calibrate:

For the Vin a single data point is needed (no offset), but maybe using two points would help find an offset in the ADC itself

For the Vout and Iout two points are a must since the basic formula has an offset in it for both sense and control.

baruch commented 9 years ago

I've implemented calibration for Vin but it's not perfect yet, there is something off a bit. I suspect the additive factor is done in reverse somehow.

baruch commented 9 years ago

Implemented calibration for Vout, accuracy is not great though.

commit dab90d5

baruch commented 9 years ago

calibration is working properly now in v1.0