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
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
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.