Firmware-62 Command-114
In host mode or in stand alone mode the host can send a request to the Wi-microDig to get the battery voltage level. This feature is useful to get an estimate of the remaining battery power capacity when knowing the specification about remaining power according to battery voltage level (see your battery’s manufacturer for this). The BATTERY VOLTAGE LEVEL command can be used to get battery voltage level values between 10V and 5V. Higher voltage values will be read as 10V and lower values as 5V. To know if the voltage level is lower than 5V you can use the LOW POWER LEVEL command (111,6Fh) described above. The BATTERY VOLTAGE LEVEL command gives a coarse value of the battery voltage so to get an idea of remaining battery power capacity.
When sending the BATTERY VOLTAGE LEVEL command the Wi-microDig will reply with a BATTERY VOLTAGE LEVEL message (F0h 7Dh 00h 72h xx F7h) where xx is a value between 00h and 40h (higher values are invalid) and according to the following table:
0 | 10V +/- 0.3V |
16 (10h) | 9V +/- 0.3V |
32 (20h) | 8V +/- 0.3V |
48 (30h) | 7V +/- 0.2V |
64 (40h) | 5.5V +/- 0.2V |
In between values can be seen as linear (i.e. 8 = 9.5V, 4 = 9.75V).
The Wi-microDig can work at voltage levels down to 4V. Below this voltage level the communication between the Wi-microDig and the host computer might be disrupted.
Note that the RED power LED will flash if the voltage level on the battery is below 5.2V +/- 0.2V but the Wi-microDig will work at voltage levels down to 4V. The converted values (analogue value of connected sensor) will be a ratio of sensor voltage and the power voltage level. For example if the power voltage level on the sensor connector is 4V and the sensor voltage output is 2V the converted value will be 63 (for a 7 bit conversion). So the user must interpret the value 64 received as half of power voltage level. But if the sensor voltage output is 4V then the converted value would be 127.
There is no [BODY] for the BATTERY VOLTAGE LEVEL command.
Example:
- 240, 125, 0 {DEV}, 114 {POWER LEVEL}, 247 (F0h, 7Dh, 00h, 72h, F7h)