ttlappalainen / NMEA2000

NMEA2000 library for Arduino
522 stars 217 forks source link

Best Micrcontroller to use #228

Open bigalnz opened 3 years ago

bigalnz commented 3 years ago

The little documentation I can find seems to be several years old.

In the absence of a detailed guide is the best supported hardware to buy the Arduino Uno R3 or?

Combined with one of these : https://www.ebay.com/itm/263690841938?hash=item3d6532ef52:g:2R8AAOSw94Ba-6me

Will this setup with appropriate cable let me do everything a Actisense NGT-1 would do? (N2k reader/writer)

Thanks

ttlappalainen commented 2 years ago

Yes, but if you make a board, why not to connect STBY to ground and add screw terminal for NMEA2000 connection as in some of my documents.

bigalnz commented 2 years ago

You mean connect stby to ground on the teensy (and use screw in terminals)? I don't mind screw in terminals but that is just a part I solder to the board, the board remains unchanged or am I missing something?

ttlappalainen commented 2 years ago

I mean that if you make own board for MCP2562, it would be best to make more improved on NMEA2000 side. Add pads for 5 pin screw terminal for NMEA2000. You could also have optional place for DC-DC converter so that you could use it also as powering from bus side. Connect STBY to ground directly or use resistor. Add also capacitor between Vss and Vdd. See my document chapter 5.2 Teensy 3.2, simple unisolated.

Screw terminal type is "21.95MV/5-E Terminal Block, Vertical, Header, 5.08 mm, 5 Ways, 20 A, 320 V, Through Hole Vertical" See e.g. on Farnell: https://fi.farnell.com/imo-precision-controls/21-95mv-5-e/terminal-block-header-5pos-th/dp/2517881?ost=2517881 This connector type is used in DeviceNet.

Then you would have board, which can be used with any board having internal CAN (Teensy, ESP32). If you do not wnat to use screw terminal, you just solder wire directly to the screw terminal pads. Or optionally you can solder DC-DC and use it as bus powered board as soon as other side is isolated (optoisolation or just simple isolated sensors).