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.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MCP2515
#11
(06-12-2019, 04:34 PM)He-sailing Wrote:
(06-12-2019, 10:51 AM)leif_klasson@hotmail.com Wrote: Then added MCP2515 module (incl 3.3V + 5V fix) to Raspberry, also on same N2k network. Adjusted speed in Raspberry also to 115200.
N2K has a fixed speed of 250k. Adjust MCP2515 to 250k

Ah, correct, I was of course looking on the USB serial from PC to/from, Will try that  tomorrow.
Thanks
Leif
  Reply
#12
Now I have given it up with MCP 2515... Tried a lot of settings, as before, can see can0 device created, cna do a cansend to it, but no data with candump :-(

So, I went over to my Teensy 3.2 and using Timo Lappalainen good NMEA2000 libraries. I think these ones now also can be used on ESP32.

The one I'm using is ActisenseListenerSender in both end (PC and Raspberry/Openplotter).
Now it was just to go to serial, select and rename the teensyboard. On CAN tab, tested with both Openplotter and Signalk handlig the translation, both works, but with some differences.

Reason for using the MCP2515 was that I had some of them, and I guess, but will measure, that this module has a slightly less current draw then the Teensy 3.2.

Time to move on to next step ... :-)

/Leif
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)