Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiled image #1

Open
seaplusplus opened this issue Sep 18, 2017 · 21 comments
Open

compiled image #1

seaplusplus opened this issue Sep 18, 2017 · 21 comments

Comments

@seaplusplus
Copy link

Hello, I don't suppose you have a compiled image do you? I tried building with the current esp-link build environment and it didn't work. I suspect things may have changed a bit in the time this was forked.

Thanks,

@bhavers
Copy link

bhavers commented Dec 9, 2019

Hi Julian, is it possible to make a binary available? thx
Gr, Bram.

@jcable
Copy link
Owner

jcable commented Dec 10, 2019

Hi, I'd be happy to but I'm completely maxed out at the moment. I'll put it on the (long) list.

Julian

@bhavers
Copy link

bhavers commented Dec 10, 2019

Julian, thanks.
Was wondering: when is use the esp-link firmware to foward nmea data from my AIS receiver (on port 23), i see that Navionics receives this data but after a few seconds that data disappears again, and than it reappears again, etc.
It looks like the TCP connection is constantly being closed and re-opened. I didn't see this problem when i for instance used signalk-server. Is this behavior that you solved in your firmware? And did you also forward the data on a udp port?

Gr.
Bram.

@warren-axiell
Copy link

I did actually get it working with esp link but I was using kplex to relay the data

@bhavers
Copy link

bhavers commented Dec 10, 2019

Interesting. Did you send it from the esp board with esp-link to another board (pi?) with kplex running on it? And from there to the client device (with an app like Navionics?)
Or did you get it working directly from the esp board?

@warren-axiell
Copy link

I have a pi on the boat with kplex and it relayed the NMEA stream over wifi /internet to may home via VPN to an esp link board connected to NASA meteoman which is a physical device / screen which showed real-time wind speed.

Its been a few years since I messed with it.

@jawnpeezy
Copy link

how do you compile this? ive been trying to figure it out for days now lol

@jcable
Copy link
Owner

jcable commented Feb 2, 2020

Hi, I've uploaded the user1.bin and user2.bin files I found in the firmware directory on my old dev laptop. These should be the last built binaries I played with. No promises.

@jawnpeezy it should be 'type make'. The Makefile does reference the required toolchains - basically the c compiler is the esp-open-sdk/xtensa-lx106-elf/bin one.

I'll zip up the linux x86-64 sdk and add it to the repository.

@jcable
Copy link
Owner

jcable commented Feb 2, 2020

I tried to zip up the sdk but its too big for github - 900MB. I'm trying to rebuild the toolchain now from https://github.com/pfalcon/esp-open-sdk

@jawnpeezy
Copy link

@jcable Thanks for the response! im trying to get this up and running w/navionics to map all my local bass fishing spots before the upcoming spawn. Ill give it a go now and see if i can get it working. Im still very new with linux and git etc etc so i am kind of flying blind so if its ok i may be back to ask more questions? lol

@jawnpeezy
Copy link

@jcable Ive got the firmware uploaded using user1.bin and it seems to work as the appearance has changed, im waiting on a bidirectional logic level converter to hook it up to my sounder so i wont know for sure if its 100% until i do that. Is there a way to broadcast the nmea data to the navionics listening port?

@jcable
Copy link
Owner

jcable commented Feb 4, 2020

@jawnpeezy that's great! I managed to rebuild the tool chain so further development is possible. I had to tweak the build config pfalcon/esp-open-sdk#365 (comment) and install the python-dev package.

@jcable
Copy link
Owner

jcable commented Feb 4, 2020

NMEA over IP was described excellently by Keith Young, author of the excellent kplex over at his blog http://stripydog.blogspot.com/2015/03/nmea-0183-over-ip-unwritten-rules-for.html.

@jcable
Copy link
Owner

jcable commented Feb 4, 2020

NMEA-link was my attempt to make a completely minimalist system. On Robinetta I've taken a different approach https://robinetta-log.blogspot.com/2018/05/ais-installation.html

@jcable
Copy link
Owner

jcable commented Feb 4, 2020

I also had a go at building a hat for a pi0w to add multiple NMEA 0183 ports and use Kplex but it wasn't very reliable (probably my soldering!!!!).

@jcable
Copy link
Owner

jcable commented Feb 4, 2020

Last summer I had a chat with a chap at Suffolk Yacht Harbour who has basically flooded his boat with ESP32s as NMEA-2000 devices. The ESP32 has an Arduino toolchain so its a bit easier to do your own stuff on.

@jawnpeezy
Copy link

@jcable I grew up in suff0Ik, va usa 0n the 0ther side 0f the p0nd I have been messing with this thing n0n st0p and cann0t f0r the Iife 0f me get the nmea t0 dispIay data if my s0under wasnt s0 0d id g0 the n2k r0ute as its much easier, Maybe y0u have s0me guidance 0n getting the nmea data t0 dispay?
I w0rk f0r a yacht repair center in prtsm0uth va, if y0ure ever in the area and need s0me w0rk st0p 0n by and iII I00k 0ut f0r ya f0r aII y0ur heIp

@warren-axiell
Copy link

@jcable I grew up in suff0Ik, va usa 0n the 0ther side 0f the p0nd I have been messing with this thing n0n st0p and cann0t f0r the Iife 0f me get the nmea t0 dispIay data if my s0under wasnt s0 0d id g0 the n2k r0ute as its much easier, Maybe y0u have s0me guidance 0n getting the nmea data t0 dispay?
I w0rk f0r a yacht repair center in prtsm0uth va, if y0ure ever in the area and need s0me w0rk st0p 0n by and iII I00k 0ut f0r ya f0r aII y0ur heIp

What's with all the 0's? How are you connecting the NMEA device to the Arduino?

@jcable
Copy link
Owner

jcable commented Feb 28, 2020

@warren-axiell - the ESP32 isn't an Arduino but you can programme it as though it was one. It has CANBUS built in and NMEA2000 is CANBUS.

@jawnpeezy we chartered out of Annapolis many years ago but never got further south than St Michaels. It's a grand sailing ground.

There are lots of open source options for displaying NMEA data. For Depth and AIS targets I just route it through to my Garmin chart plotter. I've also used OpenCPN on a Raspberry Pi 3 and then displayed that using VNC on any laptop or tablet we happen to have on board. I've experimented with the various Signalk options. There are some really nice HTML5 instruments available if you go down that route.

@jawnpeezy
Copy link

@warren-axiell Apologies, on my old keyboard the o key stopped working so i used 0's lol. I haven't tried connecting it through arduino. I have used a 485 to ttl converter in between the esp8266 and the lowrance depthfinder nmea output. Do you suggest using an arduino in between? I'm trying to accomplish a connection between the esp and the navionics boating app to transmit nmea data from my depthfinder via wifi. i believe the code work fine a the data when in simulator mode is able to be transmitted and is displayed in the navionics boating app. For whatever reason the app is not seeing the nmea data when trying to transmit in normal operation mode.

@jcable The simulator works great, but for some reason i cannot get navionics to see the device in normal mode.

@jcable
Copy link
Owner

jcable commented Apr 22, 2020

@jawnpeezy Keith's experiments that I mentioned above #issuecomment-581794589 should help - there is a bit of light obfuscation they did to try to keep it proprietary (or they weren't thinking things through).

If you are still stuck after trying all that Wireshark is your friend. If you capture what the simulator is sending and what you are sending you might spot the differences. I'm happy to take a look at some pcap files if you need help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants