This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waveshare RS485-CAN-HAT (MCP2515)
#15
(2022-01-26, 12:36 AM)Techstyle Wrote:
(2022-01-26, 12:20 AM)ChDel Wrote: I have installed OpenPlotter on my Rpi 4B +  RS485 CAN HAT connected to NMEA2000 backbone with blue and white wires
can0 appear in Signal K Dashboad but seem inactive
nothing in the data browser while my B&G shows depth, wind...
I have followed installation procedures Openplotter § CAN and RS485 CAN HAT user manuals
still nothing
An idea to go ahead in my project ?
Thanks
  • you say you have wind and depth - is that coming from the Pi or somewhere else?
  • Is the Blue wire connected to CAN-L and White to CAN-H?
  • is the backbone powered?
  • is the backbone terminated properly?
  • have you set the correct oscillator frequency?
  • Have you set the correct Interrupt (GPIO pin)? 

The second point put me on the track: the error was due to the wrong color in the NMEA 2000 connector. The white and blue wires were in the wrong place in the connector.
It Works perfectly now !
Thanks a lot

(2022-01-26, 08:21 AM)holgerw Wrote:
(2022-01-26, 12:20 AM)ChDel Wrote: I have installed OpenPlotter on my Rpi 4B +  RS485 CAN HAT connected to NMEA2000 backbone with blue and white wires
can0 appear in Signal K Dashboad but seem inactive
nothing in the data browser while my B&G shows depth, wind...
I have followed installation procedures Openplotter § CAN and RS485 CAN HAT user manuals
still nothing
An idea to go ahead in my project ?
Thanks

Did you remove the internal 120 Ohm SMD-Resistor on the WAVESHARE Can Board?
You can measure between H & L, or direct on the Bus for 60 Ohms, but the last only with all Devices off.

CAN does not like false Terminations.


Good Luck,
Holger

I solved my problem as explain below: problem of wire color in the NMEA2000 connector. It works well now but I didn't remove the SMD resistor. Is it necessary if it works like that, because I don't know how to do...
Thanks

Thanks to your advice I solved part of my problem: I can read the NMEA2000 data from my backbone and in particular the wind direction in order to control my ST2000 Autopilot.
The question now is, should I add a USB-RS422 converter in the USB Rpi port with two wires to connect the autopilot,
or can I use the rs485 input/output connector of the RS485 CAN-HAT?
I couldn't find anything for this in the OpenPlotter procedure. No way to add rs485 connection in CAN-Bus window
The RS485 connector of the HAT does not seem to be controlled by Openplotter
Thanks
Christophe
Reply


Messages In This Thread
Waveshare RS485-CAN-HAT (MCP2515) - by Techstyle - 2021-02-26, 05:36 AM
RE: Waveshare RS485-CAN-HAT (MCP2515) - by SCarns - 2021-04-18, 05:51 PM
RE: Waveshare RS485-CAN-HAT (MCP2515) - by SCarns - 2021-04-14, 08:04 PM
RE: Waveshare RS485-CAN-HAT (MCP2515) - by ChDel - 2022-02-07, 08:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)