Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As you can see in the picture below, we are able to get the value of the smart battery "Temperature 2". The value that we receive from the cut trough is "301", now we need to take this value and convert it to the ratio given next to the type of register [1:10], meaning that the battery temperature is 30.1 degrees Celsius.

...

Set Parameters

...

Notes

(warning) It is necessary to convert the data from decimal to hexadecimal format(warning)

Decimal to Hexadecimal converter

Example

2

Register command number

Convert the register command number to Hexadecimal and write it in two digits only

...

  1. Complete all the steps in this article and proceed to the next step once you have read the parameters.

  2. In order to set parameters, change the “Register command number” to “06” (Always) and the “Amount of Registers” to the value that you want to set.

Code Part

Parameter

4

Amount of Registers

Convert the amount of registers to Hexadecimal and write it in four digits only

...


  1. Image Modified

...