question

llindsay avatar image
llindsay asked

NMEA2000 GPS not showing Lat/Long

screenshot-2022-09-20-114844.png

screenshot-2022-09-20-114926.png

I am currently running VenusOS Large 2.90 on my raspberry pi 3 with a PiCAN-M Hat. I am receiving all the NMEA2000 (canbus) data I want through my pican hat, except specifically Lat/Long from my NMEA2000 connected GPS receiver. From the Screenshots, you can see I am receiving Speed & Course data from the device, and it even says "GPS OK (fix). Even the title bar on top has the gps pinpoint icon next to my wifi icon. So obviously there's data coming through, but my Lat/Long are always dashes. There is no location data being shared with my VRM portal, which is the whole goal here. My NMEA2000 GPS is a Furuno GP-33.

Are there certain sentences/pgn's that Venus does not recognize?

Raspberry PiVE.CanNMEA 2000 - N2Kgps
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.

llindsay avatar image llindsay commented ·
Still struggling with this. I believe it is because my GPS outputs PGN 129026 & 129029. But it does not transmit 129025, which is what I believe is required for GPS position over N2k. Is it possible that VenusOS could be updated to accept PGN 129029 as well?
0 Likes 0 ·
Martin (Victron Energy) avatar image Martin (Victron Energy) ♦♦ llindsay commented ·

Hi @llindsay, we'll look into this.

0 Likes 0 ·
1 Answer
pierresmits avatar image
pierresmits answered ·

@llindsay How did you set up pi 3 with the PiCAN-M hat to be working in VenusOS?
I am struggling to get nmea2000 data visible in e.g. SignalK

Best regards,
Pierre

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.

llindsay avatar image llindsay commented ·
Hey there. Sorry for the delay in responding. Out cruising on my boat and don't normally have internet.


Anyway, I'm no guru and it did take me quite a bit of time to get it to work. I used kwindrem's setup helper & ve.can setup package from his github. However, I realized after seeing my config.txt file after running the ve.can setup package, then comparing it with what the pican-m manual says should be added to that file... they were just a little off.


I'm sorry I am not able to tell you more specifically what it was I changed, i honestly cant remember, and cannot look it up right now. but the pican-m .pdf manual helped me get there. I hope this helps a little. Would love to know if you get it working yourself.

0 Likes 0 ·
llindsay avatar image llindsay llindsay commented ·

@PierreSmits here is what my /u- boot/config.txt file looks like. I hope this helps.



[pi2]

device_tree=bcm2709-rpi-2-b.dtb


[pi3]

device_tree=bcm2710-rpi-3-b.dtb

dtoverlay=miniuart-bt

core_freq=400

core_freq_min=400


[pi3+]

device_tree=bcm2710-rpi-3-b-plus.dtb


[pi02]

device_tree=bcm2710-rpi-zero-2-w.dtb

dtoverlay=miniuart-bt,krnbt=on


[all]

dtparam=i2c_arm=on

dtparam=spi=on

dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25

dtoverlay=spi-bcm2835-overlay


0 Likes 0 ·

Related Resources

Additional resources still need to be added for this topic

Additional resources still need to be added for this topic

Raspberry Pi running Victron’s Venus firmware - Blog Post

Venus OS Large image: Signal K and Node-RED - Install

raspberrypi install venus image