{"id":853,"date":"2017-04-15T02:02:10","date_gmt":"2017-04-15T02:02:10","guid":{"rendered":"https:\/\/einhugur.com\/blog\/?page_id=853"},"modified":"2017-04-15T02:06:31","modified_gmt":"2017-04-15T02:06:31","slug":"hd44780-based-lcd-display-part-2-non-standard-sizes","status":"publish","type":"page","link":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/","title":{"rendered":"HD44780 BASED LCD DISPLAY &#8211; Part 2 (Non standard sizes)"},"content":{"rendered":"<h2>In this example we are going to connect to some specialized HD44780 based displays.<\/h2>\n<p>This article is followup on our previous article called\u00a0<a href=\"https:\/\/einhugur.com\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display\/\">HD44780 based LCD display<\/a>.<\/p>\n<p>The standard 16 x 2, or 20 x 2 or even 20 x 4 are great for many purposes, and cheap as well.<\/p>\n<p>But\u00a0sometimes you just want different size, different character count or even different panel color. For those reasons we wanted to test some of the less standard mainstream HD44780 displays. Note that when dealing with rare sizes then you cannot shop around for as low prices as with the standard sizes.<\/p>\n<p><strong>Displays that we will be looking at:<\/strong><\/p>\n<ul>\n<li>40 x 2 &#8211; ERM4002-1 Series\u00a0display from buydisplay.com.<\/li>\n<li>40 x 4 &#8211; ERM4004-1 Series<strong>\u00a0<\/strong>display from buydisplay.com. <span style=\"color: #808080;\">(This one has two channels and needed special attention).<\/span><\/li>\n<li>8 x 2 &#8211; ERM802-3 Series\u00a0display from buydisplay.com.<\/li>\n<\/ul>\n<hr \/>\n<p><strong>40 x 2 display &#8211; ERM4004-1 Series\u00a0(Blue background):<\/strong><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?ssl=1\"><img data-attachment-id=\"857\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/40x2display\/\" data-orig-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?fit=750%2C169&amp;ssl=1\" data-orig-size=\"750,169\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"40x2Display\" data-image-description=\"\" data-medium-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?fit=300%2C68&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?fit=474%2C107&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-857\" src=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?resize=474%2C107&#038;ssl=1\" alt=\"\" width=\"474\" height=\"107\" srcset=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?w=750&amp;ssl=1 750w, https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Display.png?resize=300%2C68&amp;ssl=1 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Just like with most of the standard size displays then I had to solder header pins on all the\u00a0displays.<\/p>\n<p>I\u00a0got this one to work with the same code as the standard 16 x 2 from the original article,\u00a0and was able to use 40 letters per line as well as the custom glyph feature.<\/p>\n<p>The header pin arrangement was a bit different from the standard 16 x 2 display, but pin numbers are compatible. Instead of one line of pins then we have 2 columns arranged as follows:<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/40x2Header.png?ssl=1\"><img data-attachment-id=\"858\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/40x2header\/\" data-orig-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Header.png?fit=75%2C252&amp;ssl=1\" data-orig-size=\"75,252\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"40x2Header\" data-image-description=\"\" data-medium-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Header.png?fit=75%2C252&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x2Header.png?fit=75%2C252&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-858\" src=\"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/40x2Header.png?resize=75%2C252&#038;ssl=1\" alt=\"\" width=\"75\" height=\"252\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p><em>The header pins on the 40 x 2 display.<\/em><\/p>\n<h5><strong>Connection map (same as in the original article):<\/strong><\/h5>\n<table style=\"height: 377px;\" border=\"1\" width=\"485\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<th>LCD<\/th>\n<th>Raspberry PI cobbler<\/th>\n<\/tr>\n<tr>\n<td>#1 (GND) or (VSS)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#2 (VCC)<\/td>\n<td>5v<\/td>\n<\/tr>\n<tr>\n<td>#3 (Vo)<\/td>\n<td><strong>To potentiometer middle pin<\/strong><\/td>\n<\/tr>\n<tr>\n<td>#4 (RS)<\/td>\n<td>GPIO25<\/td>\n<\/tr>\n<tr>\n<td>#5 (RW)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#6 (EN)<\/td>\n<td>GPIO24<\/td>\n<\/tr>\n<tr>\n<td>#7, #8, #9, #10<\/td>\n<td>not used<\/td>\n<\/tr>\n<tr>\n<td>#11 (D4)<\/td>\n<td>GPIO23<\/td>\n<\/tr>\n<tr>\n<td>#12 (D5)<\/td>\n<td>GPIO17<\/td>\n<\/tr>\n<tr>\n<td>#13 (D6)<\/td>\n<td>GPIO21<\/td>\n<\/tr>\n<tr>\n<td>#14 (D7)<\/td>\n<td>GPIO22<\/td>\n<\/tr>\n<tr>\n<td>#15 (LED+)<\/td>\n<td>to 560 \u03a9\u00a0resistor that then goes to 5.0v<\/td>\n<\/tr>\n<tr>\n<td>#16 (LED-)<\/td>\n<td>GND<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>See the <a href=\"https:\/\/einhugur.com\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display\/\">original article<\/a> for more detail on how to connect the potentiometer and how it all comes together.<a href=\"https:\/\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/GPIO-Header.png\">\u00a0<\/a><\/p>\n<hr \/>\n<p><strong>40 x 4\u00a0display\u00a0&#8211; ERM4004-1 Series (White\u00a0background):<\/strong><\/p>\n<p>The 40 x 4 is very large, the picture bellow does not give good idea of the size, but it is much longer than iPhone 7 plus for example.<\/p>\n<p>With this one things got a bit tricky, it does not have pin compatibility with the original article for the 16 x 2 display, and this display comes with 2 enable pins which is due to the fact that it has basically 2 controllers. Because of this then updated Xojo code was needed so that it could support displays that need two controllers.<\/p>\n<p>Updated Xojo code can be downloaded bellow. (And of course we made sure that the custom glyphs work for both the controllers in the display).<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?ssl=1\"><img data-attachment-id=\"861\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/40x4display\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?fit=750%2C176&amp;ssl=1\" data-orig-size=\"750,176\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"40x4Display\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?fit=300%2C70&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?fit=474%2C111&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-861\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?resize=474%2C111&#038;ssl=1\" alt=\"\" width=\"474\" height=\"111\" srcset=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?w=750&amp;ssl=1 750w, https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/40x4Display.png?resize=300%2C70&amp;ssl=1 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>The 40 x 4 comes with two headers, one on right side and one on left. Where the header for the backlight has been separated from the main header.<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/4x40Header.png?ssl=1\"><img data-attachment-id=\"863\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/4x40header\/\" data-orig-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/4x40Header.png?fit=230%2C250&amp;ssl=1\" data-orig-size=\"230,250\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"4x40Header\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/4x40Header.png?fit=230%2C250&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/4x40Header.png?fit=230%2C250&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-863\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/4x40Header.png?resize=230%2C250&#038;ssl=1\" alt=\"\" width=\"230\" height=\"250\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p><em>The header pins on the 40 x 4\u00a0display.<\/em><\/p>\n<h5><strong>Connection map (<span style=\"color: #800000;\">Note note same as in the original article and this one has two E pins<\/span>):<\/strong><\/h5>\n<table style=\"height: 377px;\" border=\"1\" width=\"485\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<th>LCD<\/th>\n<th>Raspberry PI cobbler<\/th>\n<\/tr>\n<tr>\n<td>#1\u00a0(D7)<\/td>\n<td>GPIO22<\/td>\n<\/tr>\n<tr>\n<td>#2 (D6)<\/td>\n<td>GPIO21<\/td>\n<\/tr>\n<tr>\n<td>#3\u00a0(D5)<\/td>\n<td>GPIO17<\/td>\n<\/tr>\n<tr>\n<td>#4 (D4)<\/td>\n<td>GPIO23<\/td>\n<\/tr>\n<tr>\n<td>#5, #6, #7, #8<\/td>\n<td>not used<\/td>\n<\/tr>\n<tr>\n<td>#9 (E1)<\/td>\n<td>GPIO24<\/td>\n<\/tr>\n<tr>\n<td>#10\u00a0(RW)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#11 (RS)<\/td>\n<td>GPIO25<\/td>\n<\/tr>\n<tr>\n<td>#12 (VEE\u0010)<\/td>\n<td><strong>To potentiometer middle pin<\/strong><\/td>\n<\/tr>\n<tr>\n<td>#13 (VSS)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#14 (VCC)<\/td>\n<td>5v<\/td>\n<\/tr>\n<tr>\n<td>#15 (E2)<\/td>\n<td>GPIO13<\/td>\n<\/tr>\n<tr>\n<td>#16<\/td>\n<td>not used<\/td>\n<\/tr>\n<tr>\n<td>#17 (LED+)<\/td>\n<td>to 560 \u03a9\u00a0resistor that then goes to 5.0v<\/td>\n<\/tr>\n<tr>\n<td>#18 (LED-)<\/td>\n<td>GND<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h5>Downloading the updated code to support dual channel displays that have two enable pins:<\/h5>\n<p><a class=\"mb-button mb-style-glass mb-size-small mb-corners-default mb-text-style-default \" style=\"background-color: #2b7dc4;\" href=\"http:\/\/www.einhugur.com\/Downloads\/GPIO\/LCDProjectUpdated.zip\">\u00a0<i class=\"fa fa-download\"><\/i>\u00a0 Download source code<\/a><\/p>\n<hr \/>\n<p><strong>8\u00a0x 2 display &#8211; ERM802-3 Series\u00a0(Blue background):<\/strong><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?ssl=1\"><img data-attachment-id=\"871\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/8x2display\/\" data-orig-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?fit=350%2C234&amp;ssl=1\" data-orig-size=\"350,234\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"8x2Display\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?fit=300%2C201&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?fit=350%2C234&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-871\" src=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?resize=350%2C234&#038;ssl=1\" alt=\"\" width=\"350\" height=\"234\" srcset=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?w=350&amp;ssl=1 350w, https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Display.png?resize=300%2C201&amp;ssl=1 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>The pin layout of the 8&#215;2 was a bit strange, notice where pin 15 and 16 are vs 1 and 2. But apart from the strange layout then the 8&#215;2 connects in mostly same way\u00a0as the 16&#215;2 in our original guide (except pins 15 and 16).<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/8x2Header.png?ssl=1\"><img data-attachment-id=\"868\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/8x2header\/\" data-orig-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Header.png?fit=73%2C249&amp;ssl=1\" data-orig-size=\"73,249\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"8x2Header\" data-image-description=\"\" data-medium-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Header.png?fit=73%2C249&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2017\/04\/8x2Header.png?fit=73%2C249&amp;ssl=1\" loading=\"lazy\" class=\"alignnone size-full wp-image-868\" src=\"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2017\/04\/8x2Header.png?resize=73%2C249&#038;ssl=1\" alt=\"\" width=\"73\" height=\"249\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p><em>The header pins on the 8\u00a0x 2 display.<\/em><\/p>\n<h5><strong>Connection map (<span style=\"color: #800000;\">mostly same as in the original article except pin 15 and 16 are swapped<\/span>):<\/strong><\/h5>\n<table style=\"height: 377px;\" border=\"1\" width=\"485\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<th>LCD<\/th>\n<th>Raspberry PI cobbler<\/th>\n<\/tr>\n<tr>\n<td>#1 (GND) or (VSS)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#2 (VCC)<\/td>\n<td>5v<\/td>\n<\/tr>\n<tr>\n<td>#3 (Vo)<\/td>\n<td><strong>To potentiometer middle pin<\/strong><\/td>\n<\/tr>\n<tr>\n<td>#4 (RS)<\/td>\n<td>GPIO25<\/td>\n<\/tr>\n<tr>\n<td>#5 (RW)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#6 (EN)<\/td>\n<td>GPIO24<\/td>\n<\/tr>\n<tr>\n<td>#7, #8, #9, #10<\/td>\n<td>not used<\/td>\n<\/tr>\n<tr>\n<td>#11 (D4)<\/td>\n<td>GPIO23<\/td>\n<\/tr>\n<tr>\n<td>#12 (D5)<\/td>\n<td>GPIO17<\/td>\n<\/tr>\n<tr>\n<td>#13 (D6)<\/td>\n<td>GPIO21<\/td>\n<\/tr>\n<tr>\n<td>#14 (D7)<\/td>\n<td>GPIO22<\/td>\n<\/tr>\n<tr>\n<td>#15 (LED-)<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>#16 (LED+)<\/td>\n<td>to 560 \u03a9\u00a0resistor that then goes to 5.0v<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>I had 20 x 2 and 24 x 2 ready\u00a0but I decided to not solder them and cover them for now as their interface and specs hinted that they were just like the 40 x 2, so not offering any new knowledge.<\/p>\n<p>Then there was a miniature 12 x 2, which had normal header except backlight cathode pin is missing, I assume the ground is just shared with other ground pins. But I could not solder that one as it needed 2x narrower header pins which I did not have.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this example we are going to connect to some specialized HD44780 based displays. This article is followup on our previous article called\u00a0HD44780 based LCD display. The standard 16 x 2, or 20 x 2 or even 20 x 4 are great for many purposes, and cheap as well. But\u00a0sometimes you just want different size, &hellip; <a href=\"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display-part-2-non-standard-sizes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HD44780 BASED LCD DISPLAY &#8211; Part 2 (Non standard sizes)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":94,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/Pd75nk-dL","jetpack-related-posts":[{"id":94,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/","url_meta":{"origin":853,"position":0},"title":"Xojo GPIO","date":"September 19, 2015","format":false,"excerpt":"Guides for GPIO in Xojo \u00a0Infrared motion detection (Updated 1. May 2016) Shows\u00a02 ways of coding: Using Interrupts or simple polling. Sensors: \u00a0HC-SR501,\u00a0ST-00082 Mini,\u00a0Mini IR Pyroelectric Infrared PIR Motion Human Sensor Detector Module Uses:\u00a0Basic GPIO Relay board In this example we \u00a0wire up a relay board and let your Xojo\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":567,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/hd44780-based-lcd-display\/","url_meta":{"origin":853,"position":1},"title":"HD44780 based LCD display","date":"May 18, 2016","format":false,"excerpt":"In this example we are going to connect to HD44780 based LCD display. The display I am using \u00a0has 2 lines with 16 letters each. Same example will also work for HD44780 based displays that have 4 lines with 20 letters per line. Now before going\u00a0further then I want it\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":288,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/connecting-max7219_led_matrix-with-spi-bus\/","url_meta":{"origin":853,"position":2},"title":"Connecting MAX7219_LED_MATRIX with SPI bus","date":"October 21, 2015","format":false,"excerpt":"In this example we going to connect a\u00a0MAX7219_LED_MATRIX and control it with the SPI bus on the Raspberry PI. 8. Nov 2015 Important !! When I was working on next step in this to daisy chain more than one on same bus then I measured some extreme power usage at\u2026","rel":"","context":"Similar post","img":{"alt_text":"MAX7219_LED_MATRIX","src":"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/10\/MAX7219_LED_MATRIX-e1445384705632.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":64,"url":"https:\/\/einhugur.net\/blog\/index.php\/frequently-asked-questions\/frequently-asked-questions-grid-controls\/","url_meta":{"origin":853,"position":3},"title":"Frequently asked questions - Grid controls","date":"September 12, 2015","format":false,"excerpt":"Why are the Grid controls (StyleGrid and DataGrid) only for Real Studio and not the modern Xojo ? The grid controls were 17 years old, based on MacOS 9 technology, and also suffered on Linux for not supporting Cairo. When MacOS added Retina support and Xojo started to enforce cairo\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":445,"url":"https:\/\/einhugur.net\/blog\/index.php\/big-projects\/build-fan-controller-for-orange-pi-pc\/","url_meta":{"origin":853,"position":4},"title":"Build fan controller for Orange PI PC","date":"May 28, 2016","format":false,"excerpt":"In this example we are going build fan controller for Orange PI PC. By: Bj\u00f6rn Eir\u00edksson and H\u00f6r\u00f0ur Kristj\u00e1nsson. Disclaimer: We do not take any responsibility for possible errors in the guide or errors that you might do wiring it up. Incorrect wiring can result in damaged sensor or damaged\u2026","rel":"","context":"Similar post","img":{"alt_text":"FanControllerCircuitScheme","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/FanControllerCircuitScheme.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":224,"url":"https:\/\/einhugur.net\/blog\/index.php\/xojo-gpio\/working-with-leds-and-wiring-4-pin-rgb-led-to-raspberry-pi\/","url_meta":{"origin":853,"position":5},"title":"Working with LED's - And Wiring 4 pin RGB led to Raspberry PI","date":"October 12, 2015","format":false,"excerpt":"In this example we are going\u00a0learn some basics on how to calculate the resistor for LED, and we will take a look at how to wire up a 4 pin RGB LED. Disclaimer: We do not take any responsibility for possible errors in the guide or errors that you might\u2026","rel":"","context":"Similar post","img":{"alt_text":"RGBLedMutimeterTestNew","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/10\/RGBLedMutimeterTestNew.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/853"}],"collection":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=853"}],"version-history":[{"count":15,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/853\/revisions"}],"predecessor-version":[{"id":874,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/853\/revisions\/874"}],"up":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/pages\/94"}],"wp:attachment":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}