This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
M5Stack
#11
(2020-03-25, 03:07 PM)mgrouch Wrote: Here is my version of M5Stack Boat Display. I looked at abarrow's code (it was very useful) but ended up with quite different.

GPS/Wind displays so far.
I might add AIS in future. This display connects via TCP to SignalK NMEA stream or to KPlex. (without need for MQTT)

This is how it looks: https://bareboat-necessities.github.io/m...tt_m5stack

The code is here: https://github.com/bareboat-necessities/...at-display

Thanks,
--MG

Great piece of work!
I tried it out last night and got it to work quite easily. I only had to change the name_sources from "openplotter" to "192.168.[....]" in order to get a connection.
My setup is an RPi4 which runs openplotter, hooked to a separate Wifi router.
Would there be another way to get the connection without using the IP-address of the RPi. The reason is that this will change when I'm on the boat (currently testing things at home)

Another feature would be to use Signal-K data without nmea. That way all data in Signal-K would become available. I guess that's the set-up that abarrow has used, but I haven't figured out his software.

(2020-03-27, 07:40 PM)abarrow Wrote: It looks great! I spent some time getting mine to work with websockets and SignalK. I used it recently on a trip down the coast.

It works, but I still need to spend some time cleaning up the code and adding some error checking.

Github is here: https://github.com/andyrbarrow/SignalKM5StackInstrument

Looking forward to that!
I tried to understand the code and run it, but struggled with the WebSocketClient. Which library do you use for this?

Basically I'm trying to understand how I would need to get a single Signal-K path into a variable in Arduino (including all the connecting and handshaking, etc). From that I can expand and incorporate it in any Arduino code, e.g. mgrouch's.
Reply


Messages In This Thread
M5Stack - by abarrow - 2019-05-27, 10:54 PM
M5Stack - by PaddyB - 2019-05-28, 08:29 AM
M5Stack - by abarrow - 2019-06-07, 03:16 PM
M5Stack - by abarrow - 2019-06-14, 05:28 PM
RE: M5Stack - by BlackSea - 2020-01-28, 11:22 AM
RE: M5Stack - by abarrow - 2019-07-09, 06:17 PM
RE: M5Stack - by Opie91 - 2020-01-27, 03:01 AM
RE: M5Stack - by Opie91 - 2020-01-28, 06:28 PM
RE: M5Stack - by mgrouch - 2020-03-25, 03:07 PM
RE: M5Stack - by DanielGoedhuis - 2020-03-28, 11:40 AM
RE: M5Stack - by Opie91 - 2020-03-28, 10:29 PM
RE: M5Stack - by abarrow - 2020-03-27, 07:40 PM
RE: M5Stack - by Sjoerd02 - 2020-11-30, 12:04 AM
RE: M5Stack - by mgrouch - 2020-03-29, 10:50 PM
RE: M5Stack - by abarrow - 2020-03-30, 03:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)