-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Can Bus Support (NMEA2K) #27
Comments
They are isolated so m5stack would still need usb for power |
UART Ext. port on m5Stack delivers 5V to VCC so TJA1050 could be the best option for this... |
Some CAN bus info in ESP32 boards To use the PORT-C as a CAN port:
|
I got N2K working on m5atom. Here: https://github.com/bareboat-necessities/bbn-nmea200-m5atom/tree/main/bbn-nmea2000-usb-gw-m5atom. With https://shop.m5stack.com/products/atom-canbus-kit-ca-is3050g It should be trivial to port that part on m5tough with this unit instead https://shop.m5stack.com/products/canbus-unitca-is3050g N2K Parsing code example is here: It would need to be enhanced for other PGNs (which are already coded in https://github.com/ttlappalainen/NMEA2000) store data in shipDataModel structure with data age as millis() That will turn bbn_m5tough_active_boat into N2K display (Plug and play. No Wi-Fi required, nothing to set up, just plug into CanBus). |
Hardware support for NMEA2K using a cheap
SN65HVD230TJA1050 Chinese board.NMEA2K cable can provide 12v to the m5stack and the
SN65HVD230TJA1050 can translate the CAN messages to be readable for the ESP32 boards.Example project: https://github.com/AK-Homberger/NMEA2000WifiGateway-with-ESP32
Example Hardware:
The text was updated successfully, but these errors were encountered: