FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE
Ask a question

3980 questions

4537 answers

3354 comments

51644 members

Ask a question
0 votes
633 views
in Vehicle tracking by

Hello I have the Teltonika FM6320, I need to assign 10 voltage values ​​to the fuel level, example 5v = 10%, 6v = 20%, 7v = 30% So up to 100% How can I do this? and send it to a server

1 Answer

0 votes
by

Hello,

Thank you for your question,

  • Device sends packets to server using CODEC 12
  • Information on Codec can be found in our wiki: https://wiki.teltonika.lt/view/Codec#Codec_12
  • You should be able to receive AVL packet parse it and read the parameter AIN3 value (ID 106)
  • Device will send Analog Voltage in Volts you should set up your server script to display % yourself according to requirements.
  • Device can not send Analog Input value in % because in the base firmware it is set to send value in V

If you have further questions please feel free to ask.

Regards, Teltonika Support.