{"id":3354,"date":"2022-09-27T13:26:40","date_gmt":"2022-09-27T13:26:40","guid":{"rendered":"https:\/\/open-boat-projects.org\/?page_id=3354"},"modified":"2022-11-06T09:15:52","modified_gmt":"2022-11-06T09:15:52","slug":"pican-m-mit-signalk-und-openplotter","status":"publish","type":"page","link":"https:\/\/open-boat-projects.org\/en\/pican-m-mit-signalk-und-openplotter\/","title":{"rendered":"PiCAN-M with SignalK and OpenPlotter"},"content":{"rendered":"<p><a href=\"https:\/\/open-boat-projects.org\/en\/wichtige-hinweise\/\" target=\"_blank\" rel=\"noopener\"><em><strong>First of all, a few important notes that you should definitely pay attention to.<\/strong><\/em><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3360\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-300x300.webp\" alt=\"\" width=\"400\" height=\"400\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-300x300.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-150x150.webp 150w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-12x12.webp 12w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M.webp 600w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Fig. PiCAB-M board without SMPS (SK Pang)<\/p>\n<p><a href=\"https:\/\/www.skpang.co.uk\/collections\/hats\/products\/copy-of-pican-m-with-can-bus-micro-c-and-rs422-connector-no-smps\" target=\"_blank\" rel=\"noopener\">PiCAN M<\/a> is a small expansion board for the Raspberry Pi 3\/4. This allows NMEA2000 and NMEA0183 buses to be connected to a Raspi. There is also a connector for the I2C bus to which I2C sensors can be connected. The PiCAN-M can be powered via an external 12V connection. A supply of the Raspi with the PiCAN-M board is optionally also possible via the NMEA2000 bus. There is extensive documentation on how the PiCAN-M can be integrated into OpenPlotter and SignalK. It is also shown how to operate an environmental sensor BME280 on the I2C bus. The board is from <a href=\"https:\/\/www.skpang.co.uk\" target=\"_blank\" rel=\"noopener\">SK Pang electronics<\/a> distributed through various distributors in several countries.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3367\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-MRaspi-300x222.webp\" alt=\"\" width=\"400\" height=\"295\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-MRaspi-300x222.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-MRaspi-16x12.webp 16w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-MRaspi.webp 600w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Fig.: PiCAN-M on Raspi 4B (SK Pang)<\/p>\n<h2>Technical specifications<\/h2>\n<ul>\n<li>CAN bus chip MCP2515 (CANBoat compatible)<\/li>\n<li>NMEA2000 CAN connection (can0) via M12 connector<\/li>\n<li>NMEA0183 RS422 connection (ttyS0) via 5-pin screw terminal<\/li>\n<li>120 ohm termination resistor\n<ul>\n<li>Adjustable for NMEA2000 via jumper JP1<\/li>\n<li>Adjustable for NMEA0183 via solder bridge SJ4<\/li>\n<\/ul>\n<\/li>\n<li>I2C via connector J4, 3.3V level<\/li>\n<li>LED display (GPIO22)<\/li>\n<li>Integrated DC\/DC converter 3A for 12V supply (optionally also without)<\/li>\n<li>Integrated surge protection<\/li>\n<li>Supply also possible via NMEA2000 bus<\/li>\n<li>Compatible with OpenCPN, OpenPlotter, Signal K<\/li>\n<li>Metal case available<\/li>\n<li>Suitable for Raspberry Pi 3\/4<\/li>\n<\/ul>\n<h2>Documents<\/h2>\n<ul>\n<li><a href=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/pican-m_rev_B.pdf\" target=\"_blank\" rel=\"noopener\">Circuit diagram<\/a><\/li>\n<li><a href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0563\/2029\/5107\/files\/pican-m_UGB_20.pdf?v=1619008196\" target=\"_blank\" rel=\"noopener\">Operating instructions (PDF English)<\/a><\/li>\n<li><a href=\"https:\/\/de.manuals.plus\/sk-pang\/Pican-m-Handbuch\" target=\"_blank\" rel=\"noopener\">Operating instructions (HTML German)<\/a><\/li>\n<li><a href=\"https:\/\/manuals.plus\/sk-pang\/pican-m-manual\" target=\"_blank\" rel=\"noopener\">User manual (HTML English)<\/a><\/li>\n<li><a href=\"https:\/\/manuals.plus\/sk-pang\/rsp-pican-m-case-metal-case-for-pican-m-manual\" target=\"_blank\" rel=\"noopener\">Instructions metal housing (HTML English)<\/a><\/li>\n<\/ul>\n<h2>Power supply<\/h2>\n<p>The PiCAN-M can be powered in three different ways.<\/p>\n<ul>\n<li>Via 5V power supply on the USB-C plug of the Raspi<\/li>\n<li>Via external feed of 12V at the PiCAN-M<\/li>\n<li>Powered by the NMEA2000 bus<\/li>\n<\/ul>\n<p>For the first variant, no DC\/DC converter (SMPS) is required on the PiCAN-M board. The last two variants require a 3A DC\/DC converter on the board. SK Pang electronics offers two different boards. If you subsequently remove or solder a DC\/DC converter, you lose the guarantee. Therefore it is advisable to buy the right PiCAN-M.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3360\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-300x300.webp\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-300x300.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-150x150.webp 150w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M-12x12.webp 12w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M.webp 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Fig .: <a href=\"https:\/\/www.skpang.co.uk\/collections\/hats\/products\/copy-of-pican-m-with-can-bus-micro-c-and-rs422-connector-no-smps\" target=\"_blank\" rel=\"noopener\">PiCAN-M without SMPS<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3380\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SMPS-300x300.webp\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SMPS-300x300.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SMPS-150x150.webp 150w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SMPS-12x12.webp 12w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SMPS.webp 615w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Fig .: <a href=\"https:\/\/www.skpang.co.uk\/collections\/hats\/products\/pican-m-with-can-bus-micro-c-and-rs422-connector-3a-smps\" target=\"_blank\" rel=\"noopener\">PiCAN-M with SMPS<\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>Danger!<\/strong> The PiCAN-M does not contain correct reverse polarity protection of the 12V supply voltage. For external operation at 12V, a 1A fuse must be inserted in the supply line.<\/span><\/p>\n<p><span style=\"color: #ff0000;\">The Raspi must not be supplied with 12V and 5V via the USB-C socket at the same time. Otherwise there will be a double feed with unforeseeable consequences.<\/span><\/p>\n<p><span style=\"color: #ff0000;\">If the PiCAN-M is connected to the NMEA2000 and is also supplied with 12V via the external input, it must be ensured that there is no double feed. In this case, there must be no other 12V feed source in the NMEA2000 bus, such as a plotter or feed cable. The additional external supply of 12V to the PiCAN-M is only permitted if the PiCAN-M takes over the sole 12V bus supply in the NMEA2000 bus. This can be the case, for example, if there are only sensors or simple display devices on the NMEA2000 bus.<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Depending on the ambient temperature, active or passive cooling of the Raspi CPU may be necessary to prevent the processor from being clocked down. The compact design makes cooling more difficult. It may be necessary with <a style=\"color: #ff0000;\" href=\"https:\/\/www.rasppishop.de\/GPIO-Flachbandkabel-150mm\" target=\"_blank\" rel=\"noopener\">cable adapters<\/a> or one <a style=\"color: #ff0000;\" href=\"https:\/\/www.reichelt.de\/de\/de\/raspberry-pi-stacking-header-40-polig-rm-2-54-rpi-header-40-p223626.html?PROVID=2788&amp;gclid=EAIaIQobChMI8-bzsYi3-gIV0-93Ch0GPgndEAQYASABEgIMHvD_BwE&amp;&amp;r=1\" target=\"_blank\" rel=\"noopener\">GPIO extension<\/a> To create space for cooling between Raspi and PiCAB-M.<\/span><\/p>\n<h2>Occupied Raspi resources<\/h2>\n<ul>\n<li>SPI MCP2515 (CAN bus)\n<ul>\n<li>Pin24 CE0<\/li>\n<li>Pin23 SCLK<\/li>\n<li>Pin19 MOSI<\/li>\n<li>Pin21 MISO<\/li>\n<li>Pin22 INT (GPIO25)<\/li>\n<\/ul>\n<\/li>\n<li>LED Pin15 (GPIO22) freely usable<\/li>\n<li>MAX3490 (RS422)\n<ul>\n<li>Pin8 TX<\/li>\n<li>Pin10 RX<\/li>\n<\/ul>\n<\/li>\n<li>I2C\n<ul>\n<li>Pin5 SCL<\/li>\n<li>Pin3 SDA<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Terminal assignment<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3363\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Belegung-295x300.webp\" alt=\"\" width=\"600\" height=\"610\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Belegung-295x300.webp 295w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Belegung-12x12.webp 12w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Belegung.webp 708w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Fig.: Assignment (SK Pang)<\/p>\n<h2>pictures<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3364\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Gehaeuse-300x210.webp\" alt=\"\" width=\"400\" height=\"279\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Gehaeuse-300x210.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Gehaeuse-18x12.webp 18w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Gehaeuse.webp 650w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Fig.: Metal housing (SK Pang)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3362\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung1-300x203.webp\" alt=\"\" width=\"400\" height=\"270\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung1-300x203.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung1-18x12.webp 18w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung1.webp 650w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Fig.: NMEA2000 network with temperature sensor (SK Pang)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3361\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung-300x228.webp\" alt=\"\" width=\"400\" height=\"304\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung-300x228.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung-16x12.webp 16w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_Anwendung.webp 650w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Fig.: NMEA0183 network with GPS sensor and I2C sensor BME280 (SK Pang)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3365\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_OpenCPN-300x229.webp\" alt=\"\" width=\"400\" height=\"306\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_OpenCPN-300x229.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_OpenCPN-16x12.webp 16w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_OpenCPN.webp 650w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Fig.: GPS data in OpenCPN (SK Pang)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3366\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SignalK-300x186.webp\" alt=\"\" width=\"300\" height=\"186\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SignalK-300x186.webp 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SignalK-18x12.webp 18w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/09\/PiCAN-M_SignalK.webp 650w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Fig.: Sensor data in SignalK (SK Pang)<\/p>","protected":false},"excerpt":{"rendered":"<p>First, a few important tips that you should definitely observe. Fig. PiCAB-M board without SMPS (SK Pang) PiCAN-M is a small expansion board for the Raspberry Pi 3\/4. This allows NMEA2000 and NMEA0183 buses to be connected to a Raspi. There is also a connector for the I2C bus to which I2C sensors can be connected. The PiCAN-M\u2026 <a href=\"https:\/\/open-boat-projects.org\/en\/pican-m-mit-signalk-und-openplotter\/\" class=\"more-link\">Read more <span class=\"screen-reader-text\">PiCAN-M with SignalK and OpenPlotter<\/span><\/a><\/p>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-3354","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/3354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/comments?post=3354"}],"version-history":[{"count":22,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/3354\/revisions"}],"predecessor-version":[{"id":3685,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/3354\/revisions\/3685"}],"wp:attachment":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/media?parent=3354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/categories?post=3354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/tags?post=3354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}