Modus and NMEA 2000

Weird question but can you run modbus and NMEA 2000 CAN on an arduino nano 33 IOT at the same time? This is for a marine application?

Lots of modules use modbus and so are cheaper and easy to integrate with nano but the marine protocol is NMEA 2000 and so I would like to integrate with this also. Mostly for switching applications, relays lights etc with some sensors

There are few (if any) of the really regular respondents who have NMEA expertise, so I think you'll be very lucky to get a useful response here.

There is though a long thread on the topic where @timolappalainen answers questions - you may have more success there.

Thanks, I thought it was a weird question and it is probably a silly way of doing things as it would require strange coding to do conversions. I think I am better forgetting about the modbus boards and just designing my own PCB for relays maybe on I2C. That way the nano could have nmea connection only and I could decide when to implement nmea connectivity, with the help of the link you gave (I am aware of his work). I am currently planning a modular project mounted on DIN rails with the nano as a module which is able to connect to various others and communicate over nmea with the wider boat nmea network. Modules will include, high power switching (relays), low power switching (for leds ? Mosfets), buttons with led indicator module, sensor module etc

Not sure about Nano. There is NMEA 2000 library on GitHub - ttlappalainen/NMEA2000: NMEA2000 library for Arduino, which you need to connect devices to N2k bus. Library requires about 4 MB ram, so you should have more than that.

And as wildbill mentoned, check forum NMEA 2000 Shield - #1190 by timolappalainen

Thanks timo. I have been following your work, amazing stuff.

@pmagowan, I thought your topic seemed familiar. Did you ever get your custom NMEA PCBs working?

Ha ha Wildbill, you were very helpful last time also! I got to the stage of ordering them and then Covid hit. They have been shelved ever since and I have just started back into the project. I had been doing a bit of thinking over the years and have decided to go for a more modular approach. My previous PCB had everything on it and was very complex. I was concerned that a single mistake could bring down the whole design. This time I am breaking it up into sections and working on them individually. I plan to mount modules on a DIN rail inside an enclosure. That way I can customise things depending on what is needed.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.