Calswr has effectively 'drawn a graph' using the initial points and then produced calibration points at thirty two ADC steps of 32 units.
(32*32 - 1 = 1023 - max ADC output for a 10 bit ADC)
The normalisation process uses linear interpolation between the entered calibration points.
These 32 power levels are stored in the Picswr PIC16F876 EPROM. They appear in the rightmost columns of the ADC calibration printout.
One transmit, Picswr divides the current ADC output by 32 and uses the resulting number ( n = 0 to 31) to look up the power level. It actually also looks up the next adjacent power level (n+1) and uses simple linear interpolation between levels n and n+1 for improved accuracy.
Calswr's main screen LED power displays use exactly the same process with same 32 calibration points.
Performing your own calibration
Click
to clear the calibration.