5.5.10 Set ADC Reference Factors (S@,<hex16>,<hex8>)

Format: S@,<hex16>,<hex8>

This command is used to configure the factors of voltage detection based on the external circuit. Use the factors to get the actual voltage. There are two parameters. The first one is the ADC reference voltage, which has a unit of 0.001V. The second is bias voltage percentage. The default reference voltage is 3.25V and the default bias voltage percentage is 100%.

Default: 0CB2,64
Example:S@,0CE4,32 // Set the reference voltage to 3.3V and percentage to 50%
Response:AOK// Success
Err// Syntax error or invalid parameter
Note: The PDS stores these parameters. The parameters are effective immediately without a reboot.