{"id":11333,"date":"2016-04-18T14:13:20","date_gmt":"2016-04-18T18:13:20","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=11333"},"modified":"2023-04-11T22:26:35","modified_gmt":"2023-04-12T02:26:35","slug":"hookup-guide-for-16x32-rgb-led-panel","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/hookup-guide-for-16x32-rgb-led-panel\/","title":{"rendered":"Hookup guide for 16&#215;32 RGB LED panel &#8211; Part 1"},"content":{"rendered":"<p>RGB LED panels are a great way of displaying colorful texts, images, and animation. In this 3-part tutorial, I am going to\u00a0demonstrate how to hookup our <strong><a href=\"https:\/\/www.tindie.com\/products\/rajbex\/16x32-rgb-matrix-panel-with-an-arduino-uno-shield\/\">16&#215;32 RGB LED panel kit<\/a><\/strong> to\u00a0an Arduino Uno board and run some demo sketches. Our 16&#215;32 RGB LED matrix panel kit includes everything you need to connect it to an Arduino Uno board. The kit includes:<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">One 16&#215;32 RGB LED matrix panel<\/span><\/li>\n<li>One RGB connector shield for Arduino Uno<\/li>\n<li>One IDC cable to connect the RGB matrix panel to the RGB shield<\/li>\n<li>One power supply connector for the RGB matrix<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Note that\u00a0the power supply required to power the LED panel is not included in the kit. You will need a regulated 5V DC power supply with enough current sourcing capability (~2A)\u00a0to power the RGB panel. If you could get the power supply with a 2.1mm x 5.5mm DC barrel output, that would be a plus. In case you don&#8217;t have such a power supply, we will show you later how to use a standard cellphone\/tablet wall charger with an USB port for powering the LED panel.<\/span><\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/www.tindie.com\/products\/rajbex\/16x32-rgb-matrix-panel-with-an-arduino-uno-shield\/\" target=\"_blank\" rel=\"noopener noreferrer\">Get this RGB panel kit from our Tindie store in USA!<\/a><\/strong><\/p>\n<p style=\"text-align: center;\"><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<div id=\"attachment_11327\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11327\" class=\"wp-image-11327 size-medium\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit1-580x415.jpg\" alt=\"16x32 RGB LED panel kit\" width=\"580\" height=\"415\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit1-580x415.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit1.jpg 800w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11327\" class=\"wp-caption-text\">16&#215;32 RGB LED panel kit<\/p><\/div>\n<p><!--more--><\/p>\n<p><strong>Step 1: <em>Knowing the RGB LED panel<\/em><\/strong><\/p>\n<p>The front side of the panel contains 512 RGB LEDs arranged in 16 rows and 32 columns with a 6mm-spacing (pitch) between adjacent LEDs. The dimensions of the panel are\u00a0are 192mm x 96mm (7.6\u201dX3.8\u201d). On the back side of the panel are the necessary row and column driver circuits. The LED display is controlled through 12 I\/O pins (6 for data and 6 for control signals), which are accessible through a 2&#215;6 IDC connector. There are two IDC connectors on back: one is marked as\u00a0<strong>IN<\/strong> and other is marked as\u00a0<strong>OUT<\/strong>. The Arduino I\/O pins go to the\u00a0IDC connector that is marked as <strong>IN<\/strong>. The <strong>OUT<\/strong> IDC connector is for cascading multiple RGB panels, which won&#8217;t be discussed in this tutorial.<\/p>\n<div id=\"attachment_11339\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11339\" class=\"wp-image-11339 size-medium\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp1-580x305.jpg\" alt=\"HookUp1\" width=\"580\" height=\"305\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp1-580x305.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp1.jpg 800w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11339\" class=\"wp-caption-text\">IDC connector marked as IN is used to send the data and control signals to the LED driver chips<\/p><\/div>\n<p>These LED panels are powered with a regulated +5V power supply through a 4-pin (2 for +5V and 2 for Gnd) polarized Molex-type connector located at the center of the panel on its back side as shown below.<\/p>\n<div id=\"attachment_11340\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11340\" class=\"wp-image-11340 size-medium\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp2-580x431.jpg\" alt=\"HookUp2\" width=\"580\" height=\"431\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp2-580x431.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/HookUp2.jpg 590w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11340\" class=\"wp-caption-text\">Polarized Molex-type connector for power supply<\/p><\/div>\n<p><strong>Step 2:<\/strong> <em>Knowing the RGB connctor shield<\/em><\/p>\n<p>The RGB connector shield is designed for Arduino Uno (and its compatible boards) for setting up easy connections between the Arduino board and the LED panel. A matching 2&#215;8 IDC connector is available on the shield to connect 12 I\/O pins (details of these pins are described later) to the LED panel&#8217;s <strong>IN<\/strong> port. A 2.1mm x 5.5mm DC barel connector is available to receive a high-current (2A) regulated +5V power supply from a DC walwart. This power supply is available for the RGB panel through a 2-pin terminal block. The figure below shows a close up look of the Arduino shield. The pins that are utilized by the IDC connector are marked with *. The free Arduino pins are 10 through 13, A4, and A5. Additional sensors and peripherals can be connected to these pins for user applications. A small prototyping area is also provided on the RGB connector shield to mount additional through-hole components.<\/p>\n<div id=\"attachment_11336\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit31.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11336\" class=\"size-medium wp-image-11336\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit31-580x470.jpg\" alt=\"RGB connector shield\" width=\"580\" height=\"470\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit31-580x470.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/RGBkit31.jpg 800w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11336\" class=\"wp-caption-text\">RGB connector shield<\/p><\/div>\n<p>After getting familiarized with the RGB panel and the Uno\u00a0shield, it is time to\u00a0make the connections between the panel and the shield, which is described in the part 2 of this tutorial.<\/p>\n<h5><strong><a href=\"http:\/\/embedded-lab.com\/blog\/hookup-guide-for-16x32-rgb-led-panel-part-2\">Continue to Hookup Guide Part 2<\/a><\/strong><\/h5>\n","protected":false},"excerpt":{"rendered":"<p>RGB LED panels are a great way of displaying colorful texts, images, and animation. In this 3-part tutorial, I am going to\u00a0demonstrate how to hookup our 16&#215;32 RGB LED panel kit to\u00a0an Arduino Uno board and run some demo sketches. Our 16&#215;32 RGB LED matrix panel kit includes everything you need to connect it to an Arduino Uno board. The kit includes: One 16&#215;32 RGB LED matrix panel One RGB connector shield for Arduino Uno One IDC cable to connect the RGB matrix panel to the RGB shield One power supply connector for the RGB matrix Note that\u00a0the power supply<\/p>\n","protected":false},"author":1,"featured_media":11339,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150,29,592,1466],"tags":[1405,1403],"class_list":["post-11333","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-shield","tag-rgb-led-panel"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11333","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=11333"}],"version-history":[{"count":21,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11333\/revisions"}],"predecessor-version":[{"id":15147,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11333\/revisions\/15147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/11339"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=11333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=11333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=11333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}