Skip to content
New issue

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

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

Already on GitHub? # to your account

M5stack tough compatibility? #4

Open
oxbown opened this issue May 30, 2023 · 4 comments
Open

M5stack tough compatibility? #4

oxbown opened this issue May 30, 2023 · 4 comments
Labels
question Further information is requested

Comments

@oxbown
Copy link

oxbown commented May 30, 2023

Could be the code ported to M5Stack and bbn-m5stack-tough ??

There is a version of UDP com with Signalk

@mgrouch
Copy link
Contributor

mgrouch commented May 30, 2023

Sure. But as far as I know SignalK devs do not recommend using UDP with SignalK as it’s poorly tested

@mgrouch
Copy link
Contributor

mgrouch commented May 30, 2023

As far as porting m5atom stuff to m5stack it’s super easy. Only instead of m5atom CAN extension board, it would makes sense to use CAN unit (which is same thing just packaged differently)

@oxbown
Copy link
Author

oxbown commented Jun 2, 2023

Sure. But as far as I know SignalK devs do not recommend using UDP with SignalK as it’s poorly tested

Could be the best option to use AsyncTCP to send data to SignalK.
Here an example...

ReactESP and AsyncTCP are compatible?

@mgrouch
Copy link
Contributor

mgrouch commented Jun 2, 2023

If you want n2k data into SignalK
via m5stack tough.
you need can module for it.
you can take usb-gw code here (atom version)
modify include from m5atom to m5tough
modify PIN numbers for can tx/rx.
and remove code for led blinking cause m5tough has display instead of a led.

in SignalK you will add NMEA 2000 connection to usb as canboat-js.

Gateway code already uses ReactESP. So no need for AsyncTCP.

NMEA 2000 -> esp32 -> usb -> (via nmea2000 canboatjs) SignalK

that’s what usb gateway code already doing.

@mgrouch mgrouch added the question Further information is requested label Jun 2, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants