2021-05-04, 02:44 AM
(2021-05-03, 04:28 PM)Techstyle Wrote: your battery charger doesn't say its NMEA2K it says it has a CAN Bus. you would have to look at what the protocol is and then work out how you decode it into some useful messages.
I think you may need separate networks if it is not the same protocol, but i am not sure
I second Techstyle's analysis. From my own messing around with my solar charger, I can clearly summarize that CAN and NMEA2000 are very different and will require separate connections. Otherwise, you could simply adapt the charger to the N2K network. But, it's not that simple.
N2K has clearly defined PGN sentences. With my limited experience with CAN, I can tell you one needs to know where the data is in the bus and how many bytes you need to read to get accurate data. There might be some hexadecimal to binary conversion needed. On one hand, CAN seems quite rudimentary and that is what makes it difficult.