LowPowerLab Forum

Hardware support => CurrentRanger => Topic started by: MT5axisCNC on May 11, 2023, 06:17:21 PM

Title: Current Ranger Calibration
Post by: MT5axisCNC on May 11, 2023, 06:17:21 PM
What steps do you follow to calibrate the current ranger?

I accidently pasted text into my serial console and messed up the calibration.

I figured out the LDO value, but am not sure how to find the Gain Value and Offset Value.
Title: Re: Current Ranger Calibration
Post by: Felix on May 12, 2023, 03:05:09 PM
A simple way to do it on your own is to test with some random current value, and adjust the gain so that the ADC (OLED) reading is close to that value that you see at the raw output terminals (use a good DMM).
Offset is usually not necessary.
Title: Re: Current Ranger Calibration
Post by: mrthreeplates on June 03, 2023, 11:44:31 PM
I upgraded my fw from a very old version to the latest and may have lost my calibrated values.  How do I set the LDO?

When doing the calibration, should I use a specific range?  Or check all ranges?

Thanks
Title: Re: Current Ranger Calibration
Post by: Felix on June 05, 2023, 07:14:36 AM
You can check the LDO value on one of the 4 pin headers (ex. OLED or serial).
Then the calibration mentioned above can be done in the mA range.
Title: Re: Current Ranger Calibration
Post by: mrthreeplates on June 05, 2023, 03:31:53 PM
That worked, much appreciated!