{"id":11367,"date":"2016-04-18T14:18:14","date_gmt":"2016-04-18T18:18:14","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=11367"},"modified":"2023-04-11T22:27:02","modified_gmt":"2023-04-12T02:27:02","slug":"hookup-guide-for-16x32-rgb-led-panel-part-3","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/hookup-guide-for-16x32-rgb-led-panel-part-3\/","title":{"rendered":"Hookup guide for 16&#215;32 RGB LED panel &#8211; Part 3"},"content":{"rendered":"<p>In this <strong>third part<\/strong> of the 1<strong><a href=\"https:\/\/www.tindie.com\/products\/rajbex\/16x32-rgb-matrix-panel-with-an-arduino-uno-shield\/\" target=\"_blank\" rel=\"noopener noreferrer\">6&#215;32 RGB LED panel<\/a><\/strong> hookup guide, we will run some demo sketches with Arduino Uno to display basic text and animation on the 16&#215;32 RGB LED matrix. These demo programs use Adafruit&#8217;s <strong><a href=\"https:\/\/github.com\/adafruit\/RGB-matrix-Panel\">RGBMatrixPanel Library<\/a>\u00a0<\/strong>are found inside its <strong>Example<\/strong> folder. The wiring between the RGB panel and Arduino Uno is discussed in detail in the previous parts of this 3-part tutorial.<\/p>\n<h5><a href=\"http:\/\/embedded-lab.com\/blog\/hookup-guide-for-16x32-rgb-led-panel\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to read Part 1 of this tutorial<\/a><\/h5>\n<h5><a href=\"http:\/\/embedded-lab.com\/blog\/hookup-guide-for-16x32-rgb-led-panel-part-2\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to read Part 2 of this tutorial<\/a><\/h5>\n<h5><a href=\"https:\/\/www.tindie.com\/products\/rajbex\/16x32-rgb-matrix-panel-with-an-arduino-uno-shield\/\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to buy this kit from our US Tindie store<\/a><\/h5>\n<p><strong><a href=\"https:\/\/www.elecrow.com\/cde20031p.html\" target=\"_blank\" rel=\"noopener noreferrer\">Get this RGB panel kit from our Elecrow\u00a0store in China!<\/a><\/strong><\/p>\n<p>After wiring up\u00a0the RGB panel to Arduino Uno through the connector shield, it&#8217;s time now to run some text and animation graphics on the RGB matrix panel. This would first require\u00a0the following two libraries to be downloaded and installed.<\/p>\n<p><strong><a href=\"https:\/\/github.com\/adafruit\/Adafruit-GFX-Library\">Adafruit GFX Library<\/a><\/strong><\/p>\n<p><strong><a href=\"https:\/\/github.com\/adafruit\/RGB-matrix-Panel\">Adafruit RGB Matrix Panel library<\/a><\/strong><\/p>\n<p>There are multiple ways of installing these libraries to your computer&#8217;s\u00a0Arduino IDE tool. Please read this <strong><a href=\"https:\/\/www.arduino.cc\/en\/Guide\/Libraries\" target=\"_blank\" rel=\"noopener noreferrer\">installation guide<\/a><\/strong> from Arduino website if you haven&#8217;t experienced it before. The <strong><a href=\"https:\/\/github.com\/adafruit\/RGB-matrix-Panel\" target=\"_blank\" rel=\"noopener noreferrer\">RGB Matrix Panel library<\/a><\/strong> has built-in routines to illuminate selected pixels, construct line, rectangle, and circle, and print alphanumeric characters in two different font sizes.<\/p>\n<p>After the succesfull installation of the above libraries, we can now try out some of the examples included in the library package. On Arduino IDE, load the\u00a0<strong>testshapes_16x32<\/strong> example from\u00a0<strong>File\u2192Examples\u2192RGBmatrixPanel\u2192testshapes_16x32<\/strong>\u00a0and upload to the Arduino Uno board. This example illustrates how to draw pixels, rectangles, and circles with chosen pixel color at specific locations. The program ends with printing some 5&#215;7 pixel size text characters along two rows of the RGB panel. Power up the RGB panel and Arduino Uno and observe the program out in action.<\/p>\n<div id=\"attachment_11377\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/rgb.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11377\" class=\"size-medium wp-image-11377\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/rgb-580x338.jpg\" alt=\"out\" width=\"580\" height=\"338\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/rgb-580x338.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/rgb.jpg 590w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11377\" class=\"wp-caption-text\">testshapes_16x32 demo output<\/p><\/div>\n<p>There are three more 16&#215;32 RGB examples included in the library package: <strong>testcolors_16x32,\u00a0plasma_16x32,<\/strong>\u00a0and <strong>scrolltext_16x32<\/strong>. Because the Arduino pin assignments implemented in our RGB connector shield to connect the RGB LED panel match with the default setting of these examples, they can be just run by simply uploading\u00a0to the Arduino Uno board.<\/p>\n<div id=\"attachment_11378\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/plasma.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11378\" class=\"size-medium wp-image-11378\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/plasma-580x376.jpg\" alt=\"16x32 plasma demo\" width=\"580\" height=\"376\" \/><\/a><p id=\"caption-attachment-11378\" class=\"wp-caption-text\">16&#215;32 plasma demo<\/p><\/div>\n<p>These RGB panels have unlimited applications. In my next article, I will write about constructing a colorful real-time clock display plus thermometer and hygrometer. Stay tuned!<\/p>\n<div id=\"attachment_11381\" style=\"width: 548px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/Demo2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11381\" class=\"size-medium wp-image-11381\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/Demo2-538x650.jpg\" alt=\"Real time clock and thermometer demo \" width=\"538\" height=\"650\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/Demo2-538x650.jpg 538w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/Demo2.jpg 552w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><p id=\"caption-attachment-11381\" class=\"wp-caption-text\">Real time clock and thermometer demo<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this third part of the 16&#215;32 RGB LED panel hookup guide, we will run some demo sketches with Arduino Uno to display basic text and animation on the 16&#215;32 RGB LED matrix. These demo programs use Adafruit&#8217;s RGBMatrixPanel Library\u00a0are found inside its Example folder. The wiring between the RGB panel and Arduino Uno is discussed in detail in the previous parts of this 3-part tutorial. Click here to read Part 1 of this tutorial Click here to read Part 2 of this tutorial Click here to buy this kit from our US Tindie store Get this RGB panel kit<\/p>\n","protected":false},"author":1,"featured_media":11356,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150,29,592,1466],"tags":[1407,1403],"class_list":["post-11367","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-2","category-embedded-lessons","category-led-display","category-tutorials","tag-arduino-rgb-driver","tag-rgb-led-panel"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=11367"}],"version-history":[{"count":15,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11367\/revisions"}],"predecessor-version":[{"id":15148,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11367\/revisions\/15148"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/11356"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=11367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=11367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=11367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}