{"id":375,"date":"2019-06-10T18:57:02","date_gmt":"2019-06-10T18:57:02","guid":{"rendered":"http:\/\/warmcat.uk\/?p=375"},"modified":"2019-06-10T20:21:09","modified_gmt":"2019-06-10T20:21:09","slug":"6x14-backpack-getting-started","status":"publish","type":"post","link":"https:\/\/warmcat.uk\/?p=375","title":{"rendered":"6&#215;14 Backpack &#8211; Tutorial"},"content":{"rendered":"\n<p>Getting started with the 6 Digit 14 Segment i2c Backpack.<\/p>\n\n\n\n<p>&lt;Assembly instructions and images to be added here&gt;<\/p>\n\n\n\n<p>To install the library for the backpack, open your Arduino application and select the <strong>Tools<\/strong> menu and then <strong>Manage Libraries&#8230;<\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"537\" src=\"http:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack01-1024x537.png\" alt=\"Manage Libraries\" class=\"wp-image-321\" srcset=\"https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack01-1024x537.png 1024w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack01-300x157.png 300w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack01-768x403.png 768w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack01-350x184.png 350w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack01.png 1152w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The library window will pop up and begin downloading the library index. Once complete, click in the &#8220;Filter your search&#8230;&#8221; box and type &#8220;WarmCat&#8221;. <br>You should see the &#8220;WarmCat6x14backpack&#8221; library appear like in the following image:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"582\" src=\"http:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack02-1024x582.png\" alt=\"\" class=\"wp-image-314\" srcset=\"https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack02-1024x582.png 1024w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack02-300x170.png 300w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack02-768x436.png 768w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack02-350x199.png 350w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack02.png 1616w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Simply click install, and once complete, it should show &#8220;installed&#8221; like the next image:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"580\" src=\"http:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack03-1024x580.png\" alt=\"\" class=\"wp-image-315\" srcset=\"https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack03-1024x580.png 1024w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack03-300x170.png 300w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack03-768x435.png 768w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack03-350x198.png 350w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack03.png 1614w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Load up the example code next. <br>Select <strong>File<\/strong> menu, then <strong>Examples &gt;<\/strong>, then scroll down to <strong>Examples From Custom Libraries<\/strong>, and under this heading you will find <strong>WarmCat_6x14Backpack &gt;<\/strong>, then select <strong>WarmCat_6x14_example<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"952\" src=\"http:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack04.png\" alt=\"\" class=\"wp-image-316\" srcset=\"https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack04.png 954w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack04-150x150.png 150w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack04-300x300.png 300w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack04-768x766.png 768w, https:\/\/warmcat.uk\/wp-content\/uploads\/2019\/06\/6x14BackPack04-350x349.png 350w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><figcaption>Your menu might differ based on what custom libraries you have installed.<\/figcaption><\/figure>\n\n\n\n<p>Connect the backpack(s) to your Arduino:<\/p>\n\n\n\n<p>SDA &#8211; Uno pin A4  (Leonardo\/Pro Micro pin 2)<br>SCL &#8211; Uno pin A5  (Leonardo\/Pro Micro pin 3)<br>VDD &#8211; 5v\/3.3v<br>VI2C &#8211; Logic voltage (Uno\/Leonardo use 5v)<br>GND &#8211; GND<br><\/p>\n\n\n\n<p>For most uses, VI2C can be linked to VDD, this is just in case you want to drive the backpack with different logic voltage than the power voltage.<br>If you are using an Arduino Uno, just connect both the VDD and the VI2C to 5v.<br><\/p>\n\n\n\n<p>If you are connecting only one backpack, then change the line:<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WarmCat6x14 myDisp(2);<\/code><\/pre>\n\n\n\n<p>to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WarmCat6x14 myDisp(1);<\/code><\/pre>\n\n\n\n<p>Upload the code to see the display come to life and run through the example demo.<\/p>\n\n\n\n<p>If you are using more than one display, then you need to solder the jumpers A0, A1 and A2 accordingly; the first display requires no jumpers soldered, the second and subsequent displays require the jumpers to be soldered like so:<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>A2 A1 A0\n 0  0  0  - backpack 0\n 0  0  1  - backpack 1\n 0  1  0  - backpack 2\n 0  1  1  - backpack 3\n 1  0  0  - backpack 4\n 1  0  1  - backpack 5\n 1  1  0  - backpack 6\n 1  1  1  - backpack 7<\/code><\/pre>\n\n\n\n<p>If required, specify the number of backpacks by amending the line of code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WarmCat6x14 myDisp(2);<\/code><\/pre>\n\n\n\n<p>Once the program has run through the example demo, you can open a serial monitor and the display will scroll whatever you send through the monitor. Set the serial monitor baud to 9600.<\/p>\n\n\n\n<p>&lt;More images to follow&gt;<\/p>\n\n\n\n<p>The example code is well documented, so it should be easy enough to play with it to get the desired result for your project.<\/p>\n\n\n\n<p>Any suggestions or bug reports are welcome via pull request \/ issue at the <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/github.com\/WarmCatUK\/WarmCat_6x14Backpack\" target=\"_blank\">GitHub Page<\/a>.<\/p>\n\n\n\n<p>See more about the 6&#215;14 Segment Backpack <a rel=\"noreferrer noopener\" aria-label=\"here (opens in a new tab)\" href=\"http:\/\/warmcat.uk\/?p=322\" target=\"_blank\">in this post<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Getting started with the 6 Digit 14 Segment i2c Backpack. &lt;Assembly instructions and images to be added here&gt; To install the library for the backpack, open your Arduino application and&hellip; <span class=\"more-link\">more<\/span><\/p>\n","protected":false},"author":3,"featured_media":378,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106,39],"tags":[109,41,103,110,49,102,47,108],"class_list":["post-375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-electronics","tag-14-segment","tag-arduino","tag-backpack","tag-code","tag-display","tag-i2c","tag-led","tag-retro"],"_links":{"self":[{"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/warmcat.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":13,"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions\/390"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/warmcat.uk\/index.php?rest_route=\/wp\/v2\/media\/378"}],"wp:attachment":[{"href":"https:\/\/warmcat.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/warmcat.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/warmcat.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}