...
Sensor readings can be tunned by a linear formula "y = k * x - b"
Example VT406 + HOS-100Q1 / DC current converter:
Metered current for HOS is from -100A to +100A (This means that the range equals to 200)
The output of VT406 is 0-5V (That means that the range is equal to 5)
This means that k = 200/5
"b" = the value that the sensor shown in WebUI when there's no current. Let's say that b = + 0.21
You should use the following formula for HOS: 200/5*(x-b)
The expression formula would be 40*(x-0.21).
Example VT407 + HAT-100Q1 / AC current converter:
...
"b" = the value that the sensor shown in WebUI when there's no current. Let's say that b = + 0.21021
You should use the following formula for HAT: 100/5*(x-y)
The expression formula would be 20*(x-0.21021)
Example: Using fuel tanks.
...