The RF Power Meter 2 (RFPM2) stores calibration constants in a file located in the (SPIFFS) file system in the microcontroller flash.
The file opened by default when RFPM2 starts is /default.cfg, the following is an example.
{ "name":"dBm", "hostname":"rfpm201", "vref":3.3, "avg":3, "slope":0.12991, "intercept":-91.406, "unit":"dBm", "lcdfsd":16 }
The parameters above capture the most basic operation of RFPM2 as a power meter directly displaying dBm with bar graph in fixed 2dB increments to 16dBm FSD. These values serve as a basis for some other applications as they capture the basic intercept and slope of the AD8307 module in this instance.
Current probe calibration
Alternative config files can be loaded on the fly from the webserver interface, for example http://192.168.0.86/config?filename=/dBA.cfg will load the dBA config file for a certain current probe. Continue reading RFPM2 – calibration files