question

mattintheusa avatar image
mattintheusa asked

GPS Altitude Via Modbus?

Are there any known issues with getting the gps altitude over modbus? The value I am receiving is not correct. I am receiving many other values over modbus correctly.


Thanks.

Modbus TCP
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

powerace avatar image powerace commented ·
Hi mattintheusa,


What value are you receiving and what value do you expect? I don't think modbus is the problem but maybe the NMEA messages coming from the GPS unit. You might be looking at the geoid height instead of the elevation above sealevel. Both are send in various NMEA strings so maybe something is just misconfigured.


0 Likes 0 ·
fenix avatar image fenix commented ·

On my end i was able to carry on all GPS data including the elevation


#####################

#GPS

- name: "V-2800-GPS-Latitude"

slave: 100

address: 2800

data_type: int32

scale: 0.0000001

precision: 8

- name: "V-2802-GPS-Longitude"

slave: 100

address: 2802

data_type: int32

scale: 0.0000001

precision: 8

- name: "V-2808-GPS-Altitude"

slave: 100

address: 2808

data_type: int32

scale: 0.1

precision: 0

unit_of_measurement: "m"

0 Likes 0 ·
2 Answers
fenix avatar image
fenix answered ·

On my end i was able to carry on all GPS data including the elevation


#####################

#GPS

- name: "V-2800-GPS-Latitude"

slave: 100

address: 2800

data_type: int32

scale: 0.0000001

precision: 8


- name: "V-2802-GPS-Longitude"

slave: 100

address: 2802

data_type: int32

scale: 0.0000001

precision: 8


- name: "V-2808-GPS-Altitude"

slave: 100

address: 2808

data_type: int32

scale: 0.1

precision: 0

unit_of_measurement: "m"

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

bradfordharley avatar image
bradfordharley answered ·

If you have a nmea 0183 gps on the network, you can do that which is very easy. See this post.
https://community.victronenergy.com/questions/17470/venus-gx-to-pull-gps-coordinates-from-onboard-rout.html


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources