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
Boat Instruments Display on m5stack tough
#10
(2023-06-08, 02:31 PM)Opie91 Wrote:
(2023-06-07, 06:18 PM)mgrouch Wrote:
(2023-06-06, 01:49 AM)Opie91 Wrote:
(2023-06-05, 03:46 PM)mgrouch Wrote: Is there NMEA and SignalK traffic from pi?
What is CPU utilization on pi?
Display would keep reconnecting if it
doesn’t receive any messages from those connections
every 3 seconds or so.
Do you have any NMEA devices plugged into your pi?

Is there NMEA and SignalK traffic from pi?

Yes, when it does connect, everything is shown on the M5 Tough

What is CPU utilization on pi?

CPU has low utilization.

Do you have any NMEA devices plugged into your pi?

I am using the signalK to NMEA 0183 plugin, so yes there is NMEA0183. OpenCPN picks it up no problem. Plenty of traffic.

My plan is to make a fresh install of OP3 and see how it goes. This is my test rig so there is a chance something installed or uninstalled incorrectly and is causing an unrelated (to the M5) problem. Won't be able to get to that until next weekend. Will update after further testing.

Also if you do not have Victron CerboGX set Venus MQTT IP address in
m5stack settings to 0.0.0.0. 
It will stop wasting cycles trying to reconnect to
something you do not even have.
And I hope you are using latest version of software
from here

https://github.com/bareboat-necessities/...tack-tough

Version 1.0.2 or later snapshot

(2023-06-06, 01:49 AM)Opie91 Wrote:
(2023-06-05, 03:46 PM)mgrouch Wrote: Is there NMEA and SignalK traffic from pi?
What is CPU utilization on pi?
Display would keep reconnecting if it
doesn’t receive any messages from those connections
every 3 seconds or so.
Do you have any NMEA devices plugged into your pi?

Is there NMEA and SignalK traffic from pi?

Yes, when it does connect, everything is shown on the M5 Tough

What is CPU utilization on pi?

CPU has low utilization.

Do you have any NMEA devices plugged into your pi?

I am using the signalK to NMEA 0183 plugin, so yes there is NMEA0183. OpenCPN picks it up no problem. Plenty of traffic.

My plan is to make a fresh install of OP3 and see how it goes. This is my test rig so there is a chance something installed or uninstalled incorrectly and is causing an unrelated (to the M5) problem. Won't be able to get to that until next weekend. Will update after further testing.

Also esp32 is not good on 5GHz WiFi band. 
You better off connecting to 2.4GHz access point on your boat router 
That’s the band for IoT devices.

Tried a fresh image, same issue. Does not consistently connect to SignalK,  PyPilot or NMEA0183.

Was always using a 2.4Ghz access point. Tried using the OP3 access point and then my home AP. Neither were consistently connecting.

Have you tested this with OP3 or has it mostly been developed with BBN in mind?


Is your Pi set up for static IP address on your router?
How did you compile the sketch? Did you edit lv_conf.h to put this:

Code:
  /*Use a custom tick source that tells the elapsed time in milliseconds.
  /*It removes the need to manually update the tick with `lv_tick_inc()`)*/
  #define LV_TICK_CUSTOM 1
  #if LV_TICK_CUSTOM
      #define LV_TICK_CUSTOM_INCLUDE "Arduino.h"        /*Header for the system time function*/
      #define LV_TICK_CUSTOM_SYS_TIME_EXPR (millis())    /*Expression evaluating to current system time in ms*/
Download BBN Marine OS for raspberry pi 

https://bareboat-necessities.github.io/m...at-os.html

Video of actual installation:

https://www.youtube.com/watch?v=3zMjUs2X3qU


Reply


Messages In This Thread
RE: Boat Instruments Display on m5stack tough - by mgrouch - 2023-06-08, 04:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)