{"id":113,"date":"2006-12-05T22:13:29","date_gmt":"2006-12-06T06:13:29","guid":{"rendered":"http:\/\/www.bobandeileen.com\/?p=113"},"modified":"2010-04-01T22:21:57","modified_gmt":"2010-04-02T06:21:57","slug":"graphical-lcd-project","status":"publish","type":"post","link":"https:\/\/www.bobandeileen.com\/?p=113","title":{"rendered":"Graphical LCD Project"},"content":{"rendered":"<p><a class=\"imagelink\" title=\"cfax_large.jpg\" href=\"http:\/\/www.bobandeileen.com\/wp-content\/uploads\/2006\/12\/cfax_large.jpg\"><img decoding=\"async\" id=\"image112\" alt=\"cfax_large.jpg\" src=\"http:\/\/www.bobandeileen.com\/wp-content\/uploads\/2006\/12\/cfax_large.thumbnail.jpg\" \/><\/a><span class=\"imagelink\">I&#8217;ve been playing with the CFAX 128 x 64 pixel <a href=\"http:\/\/www.sparkfun.com\/commerce\/product_info.php?products_id=257\">graphical LCD<\/a> from <a href=\"http:\/\/www.sparkfun.com\/\">Spark Fun<\/a>. This is a really nifty graphical display that includes a four-wire resistive touch screen and white backlight. The picture here (click it to see the larger version) has the backlight turned off and you can see it&#8217;s still pretty visible.<\/span><\/p>\n<p>I decided to write some simple code to draw text and rectangles. The picture shows that stuff pretty well. I also got the touch screen logic working but that isn&#8217;t really demonstrated in the picture.<\/p>\n<p>I&#8217;ve hooked it up to an AVR Mega 88 on a prototyping board, which gives just barely enough output pins to drive it. I will probably switch to a 40-pin Mega 16 to complete my experiments, as I want to use it with my on-going CAN project; it will require a few more i\/o pins that what the 28-pin Mega 88 has available. The idea is to make the LCD available to all CAN nodes in a larger, multi-processor robot suitable for the SRS Robomagellan contest or something similar.<\/p>\n<p>The display has its own memory buffer for the 128 x 64 pixel grid and also has about ten different icons above the top row. It&#8217;s pretty simple to interface, and fortunately Spark Fun has some useful sample code <a href=\"http:\/\/www.sparkfun.com\/datasheets\/LCD\/CFAX_LCD_Example.c\">here<\/a>. I also found some sample code from the original manufacturer <a href=\"http:\/\/www.crystalfontz.com\/software\/CFAX_WinTest\/index.html\">here<\/a>.<\/p>\n<p>I also found a nifty article in a recent Circuit Cellar that gave me some inspiration. Look for the issue that covers various video, LCD and LED display projects. My long-term goal is to assemble all of my AVR software into an open source package under the GPL. When I get around to doing it I&#8217;ll post it here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been playing with the CFAX 128 x 64 pixel graphical LCD from Spark Fun. This is a really nifty graphical display that includes a four-wire resistive touch screen and white backlight. The picture here (click it to see the larger version) has the backlight turned off and you can see it&#8217;s still pretty visible. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,8,4],"tags":[],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-electronics","category-robots","category-software"],"_links":{"self":[{"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":1,"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":404,"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions\/404"}],"wp:attachment":[{"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bobandeileen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}