{"id":24,"date":"2009-01-07T20:37:06","date_gmt":"2009-01-08T03:37:06","guid":{"rendered":"http:\/\/tubetime.us\/?p=22"},"modified":"2009-01-07T20:37:06","modified_gmt":"2009-01-08T03:37:06","slug":"coby-dp-151sx-hacking-lcd-extraction-and-interrogation","status":"publish","type":"post","link":"https:\/\/tubetime.us\/index.php\/2009\/01\/07\/coby-dp-151sx-hacking-lcd-extraction-and-interrogation\/","title":{"rendered":"Coby DP-151SX Hacking &#8211; LCD Extraction and Interrogation"},"content":{"rendered":"<p>In <a title=\"Coby DP-151SX Hacking\" href=\"http:\/\/tubetime.us\/?p=21\">this previous post<\/a> I disassembled the Coby DP-151SX digital picture frame. This device is very hackable, and includes a lot of goodies such as a Li-Ion battery and battery charger circuit as well as a neat little color LCD display with a white LED backlight. The pinout for the LCD is in the previous post.<\/p>\n<p>The <a href=\"http:\/\/www.maxim-ic.com\/products\/microcontrollers\/maxq\/\">MAXQ2000 microcontroller<\/a> development board I have uses a 0.1&#8243; spacing header to connect to the I\/O pins, so I made a little adapter and wired it up to the LCD connector using wire-wrap wire. It uses 13 I\/O lines, but that could be reduced 11 if CS# is wired to ground and RST# tied to a separate reset IC (such as a MAX811). It&#8217;s actually a good idea to use CS#, because you can then multiplex the functionality of all the other pins and recover that I\/O.<\/p>\n<p>Here is a picture showing the LCD up and running with a simple test pattern:<br \/>\n<a title=\"Coby DP-151 Photo Keychain - LCD Extraction and Interrogation by eschlaep, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/tubetime\/3178009773\/\"><img loading=\"lazy\" src=\"http:\/\/farm4.static.flickr.com\/3483\/3178009773_6488470feb.jpg\" alt=\"Coby DP-151 Photo Keychain - LCD Extraction and Interrogation\" width=\"500\" height=\"333\" \/><\/a><\/p>\n<p>It&#8217;s not 128&#215;128, but actually 132&#215;132 pixels. The color depth is 16-bit using a fairly standard 5-6-5 bit encoding. See the <a title=\"PCF8833 Datasheet\" href=\"http:\/\/www.nxp.com\/#\/pip\/pip=[pip=PCF8833_1]|pp=[t=pip,i=PCF8833_1]\">PCF8833 datasheet<\/a> for more details.<\/p>\n<p>Spark Fun has a <a href=\"http:\/\/www.sparkfun.com\/commerce\/product_info.php?products_id=569\">similar LCD display<\/a> which uses the same controller, only it costs $20. Amazon.com sells the Coby-151SX in black for $10. Not a bad deal: for $10 less you get a Li-Ion battery, mini-USB cable, and a driver CD, which you could use as a coaster for your Mountain Dew to help with the LCD programming. Spark Fun has some sample code which you should easily be able to adapt for parallel mode (since the Coby LCD connector brings out the parallel data lines, unlike the Spark Fun LCD).<\/p>\n<p>The source code for my test program will get posted once I clean it up and possibly add functionality (Character fonts? Bit blitters?)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this previous post I disassembled the Coby DP-151SX digital picture frame. This device is very hackable, and includes a lot of goodies such as a Li-Ion battery and battery charger circuit as well as a neat little color LCD display with a white LED backlight. The pinout for the LCD is in the previous [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[2,5],"tags":[18,20],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p80Z1r-o","_links":{"self":[{"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/posts\/24"}],"collection":[{"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":0,"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tubetime.us\/index.php\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}