FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
674 views
in Vehicle tracking by anonymous

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 anonymous

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.