
86
MessengerBLE
User Guide
10.6
Using the Analog Input for Fuel Level
Fuel Level is frequently not available via the J1939 or J1708 bus. If the Fuel Level
sender provides an analog value that represents the level in the tank in a linear
fashion, the Analog Input on the Messenger can be configured to provide the Fuel
Level.
Setting
Via SMS
Configure the Analog
Input
1-10V (6,8)
For example, if 0.6V
corresponds to 0
pcercent and 4.7V
corresponds to 100
percent.
Need to determine what
0V and 10V would
correspond to:
Slope = 100.0 / (4.7-0.6)
Slope = 24.4
0V = - 0.6 * 24.4
= -14.6
10V = (24.4 * 10.0) –
14.6
10V = 229.4
SMS: <config(1,6,8,7,-14.6,8,229.4)>
OTA: $TXT:<config(1,6,8,7,-14.6,8,229.4)>
OTA Messenger: |258,1,6,8,7,-14.6,8,229.4|
Debug Port: 1,6,8,7,-14.6,8,229.4
Set the Analog Input
value to be always valid.
SMS: <config(2,12,1)>
OTA: $TXT:<config(2,12,1)>
OTA Messenger: |258,2,12,1|
Debug Port: 2,12,1
Set the Analog Input
channel to be Fuel Level
SMS: <config(9,62,1,Fuel Level)>
OTA: $TXT:<config(9,62,1,Fuel Level)>
OTA Messenger: |258,9,62,1,Fuel Level|
Debug Port: 9,62,1,Fuel Level