Waveshare RS485-CAN-HAT (MCP2515) - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: Waveshare RS485-CAN-HAT (MCP2515) (/showthread.php?tid=3303) Pages:
1
2
|
RE: Waveshare RS485-CAN-HAT (MCP2515) - SCarns - 2021-04-18 (2021-04-14, 08:17 PM)Techstyle Wrote:(2021-04-14, 07:45 PM)Guttagrynna Wrote: Thanks for your posts. I got one of these the other day and now I just got it to work after changing oscillator frequency to 12000000. For some reason I had it set to 8000000. I have a small test network at home with a B&G Triton2 display where i can now see a compass heading. Jason, The TouCAN Marine USB adapter installs with it's own set of drivers, so it by-passes the CAN Bus set up. I'm happy to document it, but it doesn't seem as if it would go in that section... Steve RE: Waveshare RS485-CAN-HAT (MCP2515) - abarrow - 2021-11-18 Does anyone have any experience with the Waveshare two-channel CAN Hat? I had it working, now I can't seem to get anything out of it. Question: If the termination isn't correct, will I see anything coming out of the interface with candump or the OpenPlotter CAN app? The only device I have on my 2000 bus now is my AIS transceiver, which is powered independently doesn't need power from the bus. Still, I was thinking I would still see the output of the Signalk->NMEA2000 plugin, even if the bus is completely disconnected from the CAN Hat. RE: Waveshare RS485-CAN-HAT (MCP2515) - Techstyle - 2022-01-26 (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
RE: Waveshare RS485-CAN-HAT (MCP2515) - holgerw - 2022-01-26 (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 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 RE: Waveshare RS485-CAN-HAT (MCP2515) - ChDel - 2022-01-31 (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 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 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 RE: Waveshare RS485-CAN-HAT (MCP2515) - holgerw - 2022-02-01 hello chdel - about the A+B connectors on the Waveshare CAN Hats: i am not shure, did not test it much. They are interfaced to the normal Read/Write Lines of the Raspi. To read them try "cat /dev/ttyAMA0" - but it is possible this port will interfere with the Bluetooth, but try it out yourself. You have to enable it at first with the UART Button in openplotter-serial. Often the lines will read the correct NMEA sentences if the Baudrate is correct, but sometimes you have to exchange + or - coming from some old devices... As they are connected with drivers to the outside, the rpi pins should be safe from voltages higher than it´s 3.3 V. But it will be easier to just use USB serial converters if there are free Ports. keep healthy - Holger RE: Waveshare RS485-CAN-HAT (MCP2515) - ChDel - 2022-02-07 (2022-02-01, 01:31 AM)holgerw Wrote: hello chdel - about the A+B connectors on the Waveshare CAN Hats:I turned on the UART, tried swapping + and -, tested different config in opencpn but still no activity on opencpnOUT nor rs485 I should receive the USB rs485 soon and will give news. thank you, Christophe |