{"id":17013,"date":"2022-05-21T18:16:57","date_gmt":"2022-05-21T11:16:57","guid":{"rendered":"https:\/\/www.makeriot2020.com\/?p=17013"},"modified":"2022-05-23T13:42:34","modified_gmt":"2022-05-23T06:42:34","slug":"level-converted-can-bus-module","status":"publish","type":"post","link":"https:\/\/www.makeriot2020.com\/index.php\/2022\/05\/21\/level-converted-can-bus-module\/","title":{"rendered":"Level Converted CAN-BUS  Module"},"content":{"rendered":"\n<p>Introduction<br><a href=\"#schematic\" title=\"Schematic\">Schematic<\/a><br><a href=\"#how_to_use\" title=\"How does it work? \/ How do I use it?\">How does it work? \/ How do I use it?<\/a><br>&#8211; <a href=\"#arduino\">Arduino Example<\/a><br>&#8211; <a href=\"#esp32\" title=\"ESP32 Example\">ESP32 Example<\/a><br><a href=\"#getyourown\">Where can I get my own version?<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h3>\n\n\n\n<p>There are many CAN-Bus modules available for purchase to the DIY Electronics Enthusiast and the Maker community. Our Level Converted CAN-BUS module is different. Where the standard modules are all 5v devices, ours are level converted, allowing you to interface it with 3v and 5v microcontrollers, the choice is yours&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"768\" height=\"1024\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_132957-768x1024.jpg\" alt=\"Level Converted CAN-BUS Module\" class=\"wp-image-17014 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_132957-768x1024.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_132957-225x300.jpg 225w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_132957-1152x1536.jpg 1152w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_132957-1536x2048.jpg 1536w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_132957-scaled.jpg 1920w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/1024;\" \/><figcaption>Level converted CAN-Bus Module<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"768\" height=\"1024\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_133011-768x1024.jpg\" alt=\"Level converted CAN-BUS Module next to a standard commercial module designed for the Arduino ecosystem or similar\" class=\"wp-image-17015 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_133011-768x1024.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_133011-225x300.jpg 225w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_133011-1152x1536.jpg 1152w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_133011-1536x2048.jpg 1536w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/20220521_133011-scaled.jpg 1920w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/1024;\" \/><figcaption>Level Converted CAN-BUS Module together with standard CAN-BUS breakout for comparison.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"schematic\">The Schematic<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"725\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/05\/Schematic_Can-breakout_2022-05-21-1024x725.png\" alt=\"Schematic for the  Level converted CAN-BUS Module\" class=\"wp-image-17017 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/Schematic_Can-breakout_2022-05-21-1024x725.png 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/Schematic_Can-breakout_2022-05-21-300x212.png 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/Schematic_Can-breakout_2022-05-21-768x544.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/05\/Schematic_Can-breakout_2022-05-21.png 1169w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/725;\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how_to_use\">How does it work? \/ How do I use it?<\/h3>\n\n\n\n<p id=\"arduino\">The Level Converted CAN-BUS Module is based on the MCP2515 CAN Controller from Microchip, with the TJA1050 CAN Tranceiver used for communicating with the CAN-Bus. These two chips are extremely cheap and easy to get hold of, but they are also one of the main reasons for the redesign of the module. <br><br>While the MCP2515 is useable with a voltage range of 2.5v to 5v, the TJA1050 is not. When using the commercially available CAN-Bus modules, this limits you to using 5v microcontrollers, or for the more informed, using level converters in-between to translate back and forth to the desired logic levels.<br><br>The MCP2515 is an SPI device, and in my opinion, having long wires on an SPI bus is not always the best way of doing things, due to ringing and other undesirable interference. Having to add a level converter module into this already questionable setup, can add a lot of other undesirable effects. <br><br>I have thus decided to design and manufacture my own module, with 5 level converters directly on the PCB, thus reducing the length of connecting wires, as well as reducing complexity.<br><br>Using the device is now as easy as providing a 5v voltage source, as well as an additional 3v source if you need the level converters, and connecting your microcontroller to the appropriately marked logic side of the module. <br><br>A jumper at H1 can be set\/unset to enable the 120ohm ballast resistor that is needed on the CAN-Bus for very short distance connections. <br><br><strong>Example connection to an Arduino<\/strong><\/p>\n\n\n\n<p>Use the 5v logic side, and power the module with 5v and ground. You do not need a 3v power source.<br>Connect the pins as follows:<br><br>CS pin to  Arduino Pin 10<br>SO to the MISO pin on the Arduino Pin 12<br>SI to the MOSI pin on the Arduino, Pin 11<br>SCK to the SCK pin on the Arduino, Pin 13<br>INT to an interrupt capable pin on the Arduino, usually pin 2 or 3<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"esp32\">Example connection to an ESP32 module<\/h3>\n\n\n\n<p>Provide a 5v as well as 3v power source with a common ground connection.<br>Connect your logic to the 3v logic side of the PCB Module.<\/p>\n\n\n\n<p id=\"esp32\"><br>CS pin to  GPIO2<br>SO to the MISO pin, GPIO19<br>SI to the MOSI pin, GPIO23<br>SCK to the SCK pin, GPIO18<br>INT to an interrupt capable pin on the ESP32<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"getyourown\">Where can I get my own version of this module?<br><\/h3>\n\n\n\n<p>This module will be exclusively available from PCBWay for the foreseeable future. Click on <a href=\"https:\/\/www.pcbway.com\/project\/shareproject\/CAN_BUS_Breakout_948455f2.html\" target=\"_blank\" rel=\"noreferrer noopener sponsored\">this link<\/a> to order your own, and help support a great company that produces very high-quality PCBs for a very affordable price.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.pcbway.com\/?from=makeriot2022\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"728\" height=\"280\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/03\/728x280.jpg\" alt=\"PCBWay\" class=\"wp-image-16555 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/03\/728x280.jpg 728w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/03\/728x280-300x115.jpg 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 728px; --smush-placeholder-aspect-ratio: 728\/280;\" \/><\/a><\/figure>\n\n\n\n<p>This PCB was manufactured at&nbsp;<a href=\"https:\/\/www.pcbway.com\/setinvite.aspx?inviteid=403795\" target=\"_blank\" rel=\"noreferrer noopener\">PCBWAY<\/a>. The Gerber files and BOM, as well as all the schematics, will soon be available as a shared project on their website. If you would like to have&nbsp;<a href=\"https:\/\/www.pcbway.com\/?from=makeriot2022\">PCBWAY<\/a>&nbsp;manufacture one of your own, designs, or even this particular PCB, you need to do the following\u2026<br>1) Click on this&nbsp;<a href=\"https:\/\/www.pcbway.com\/setinvite.aspx?inviteid=403795\" target=\"_blank\" rel=\"noreferrer noopener\">link<\/a><br>2) Create an account if you have not already got one of your own.<br>If you use the link above, you will also instantly receive a $5USD coupon, which you can use on your first or any other order later. (Disclaimer: I will earn a small referral fee from PCBWay. This referral fee will not affect the cost of your order, nor will you pay any part thereof.)<br>3) Once you have gone to their website, and created an account, or login with your existing account,<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"386\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/Page1.png\" alt=\"\" class=\"wp-image-16928 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/Page1.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/Page1-300x151.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/386;\" \/><\/figure>\n\n\n\n<p>4) Click on PCB Instant Quote<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"386\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page2.png\" alt=\"\" class=\"wp-image-16929 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page2.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page2-300x151.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/386;\" \/><\/figure>\n\n\n\n<p>5) If you do not have any very special requirements for your PCB, click on Quick-order PCB<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"385\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page3.png\" alt=\"\" class=\"wp-image-16930 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page3.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page3-300x150.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/385;\" \/><\/figure>\n\n\n\n<p>6) Click on Add Gerber File, and select your Gerber file(s) from your computer. Most of your PCB details will now be automatically selected, leaving you to only select the solder mask and silk-screen colour, as well as to remove the order number or not. You can of course fine-tune everything exactly as you want as well.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"361\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page4.png\" alt=\"\" class=\"wp-image-16931 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page4.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page4-300x141.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/361;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"384\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page5.png\" alt=\"\" class=\"wp-image-16932 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page5.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page5-300x150.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/384;\" \/><\/figure>\n\n\n\n<p>7) You can also select whether you want an SMD stencil, or have the board assembled after manufacturing. Please note that the assembly service, as well as the cost of your components, ARE NOT included in the initial quoted price. ( The quote will update depending on what options you select ).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"385\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page6.png\" alt=\"\" class=\"wp-image-16933 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page6.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page6-300x150.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/385;\" \/><\/figure>\n\n\n\n<p>8) When you are happy with the options that you have selected, you can click on the Save to Cart Button. From here on, you can go to the top of the screen, click on Cart, make any payment(s) or use any coupons that you have in your account.<br><br>Then just sit back and wait for your new PCB to be delivered to your door via the shipping company that you have selected during checkout.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IntroductionSchematicHow does it work? \/ How do I use it?&#8211; Arduino Example&#8211; ESP32 ExampleWhere can I get my own version? Introduction There are many CAN-Bus modules available for purchase to the DIY Electronics Enthusiast and the Maker community. Our Level Converted CAN-BUS module is different. Where the standard modules are all 5v devices, ours are &hellip; <a href=\"https:\/\/www.makeriot2020.com\/index.php\/2022\/05\/21\/level-converted-can-bus-module\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Level Converted CAN-BUS  Module&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":17016,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,150],"tags":[],"class_list":["post-17013","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-breakout-board-modules"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/17013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/comments?post=17013"}],"version-history":[{"count":0,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/17013\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media\/17016"}],"wp:attachment":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media?parent=17013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/categories?post=17013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/tags?post=17013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}