{"id":483,"date":"2016-09-17T14:03:07","date_gmt":"2016-09-17T14:03:07","guid":{"rendered":"http:\/\/james-batchelor.com\/?p=483"},"modified":"2016-09-30T19:31:12","modified_gmt":"2016-09-30T19:31:12","slug":"driving-a-st7066u-lcd-display-from-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/james-batchelor.com\/index.php\/2016\/09\/17\/driving-a-st7066u-lcd-display-from-a-raspberry-pi\/","title":{"rendered":"Driving a ST7066U LCD display from a Raspberry Pi"},"content":{"rendered":"<p>I\u2019m between jobs at the moment, so to give my idle hands something to do I have started looking at using electronics with the Raspberry Pi.<\/p>\n<p>To begin the journey, I decided to power a LCD text display, using this <a href=\"https:\/\/learn.adafruit.com\/drive-a-16x2-lcd-directly-with-a-raspberry-pi\/overview\" target=\"_blank\">excellent Arduino article<\/a> as a guide. As I was starting out I purchased everything needed in one order from RS Components, however they didn\u2019t stock any displays with a HDD44780 controller.<\/p>\n<p>Research revealed that a display with a ST7066U controller is compatible with being Pi powered. But be aware that although they have the same number of pins at 16, the layout may be different. I found out the hard way!<\/p>\n<p>As this was the first time I connected the jumpers one at a time, and connecting the pins I thought would light the backlight, instead caused one of the chips on the LCD to get hot to the touch. Luckily I found that out quickly enough to avoid any permanent damage. Also, thanks to ordering from RS each component has a datasheet available, and so was able to connect up the correct pins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-484\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2016\/09\/LCD-16x2-300x225.jpg\" alt=\"LCD-16x2\" width=\"300\" height=\"225\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2016\/09\/LCD-16x2-300x225.jpg 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2016\/09\/LCD-16x2-768x576.jpg 768w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2016\/09\/LCD-16x2.jpg 1024w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/p>\n<p>Lesson learned, establish the correct pin out on components before connecting up, other than that a ST7066U controlled LCD display can be controlled by a Pi the same as a HDD44780 controller.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019m between jobs at the moment, so to give my idle hands something to do I have started looking at using electronics with the Raspberry Pi. To begin the journey, I decided to power a LCD text display, using this excellent Arduino article as a guide. As I was starting out I purchased everything needed &hellip; <a href=\"https:\/\/james-batchelor.com\/index.php\/2016\/09\/17\/driving-a-st7066u-lcd-display-from-a-raspberry-pi\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Driving a ST7066U LCD display from a Raspberry Pi&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[176,175],"class_list":["post-483","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","tag-hdd44780","tag-st7066u"],"_links":{"self":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/comments?post=483"}],"version-history":[{"count":1,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/483\/revisions"}],"predecessor-version":[{"id":485,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/483\/revisions\/485"}],"wp:attachment":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/media?parent=483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/categories?post=483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/tags?post=483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}