{"id":8241,"date":"2014-01-30T22:47:04","date_gmt":"2014-01-31T03:47:04","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=8241"},"modified":"2014-01-30T22:47:04","modified_gmt":"2014-01-31T03:47:04","slug":"this-serial-lcd-module-gets-power-and-data-through-one-wire","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/this-serial-lcd-module-gets-power-and-data-through-one-wire\/","title":{"rendered":"This serial LCD module gets power and data through one wire"},"content":{"rendered":"<p>I found this <a href=\"http:\/\/www.edn.com\/design\/systems-design\/4427215\/One-wire-brings-power---data-to-LCD-module\"><strong>interesting post<\/strong><\/a> on EDN by\u00a0<a href=\"http:\/\/www.edn.com\/user\/nbenabadjiEdn\" rel=\"author\">Benabadji Noureddine<\/a>\u00a0about driving an\u00a0HD44780-based LCD\u00a0module serially through one wire. It receives the display data as well as power supply through the same single wire connected to the UART TX pin of the host microcontroller. The LCD module itself uses a PIC12F508 microcontroller that receives the serial data from the host MCU and transfers it to the LCD in 4-bit mode. The clever trick in this design is during idle condition, the UART TX output from the host MCU remains high, which is used to supply power to the PIC12F508 MCU and the LCD. During the data transmission, a simple capacitor and diode circuit is used to continue providing the stable DC power to the LCD and PIC MCU.<\/p>\n<div id=\"attachment_8242\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/01\/SerialLCD.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8242\" class=\"size-medium wp-image-8242\" alt=\"1-wire serial LCD\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/01\/SerialLCD-550x337.jpg\" width=\"550\" height=\"337\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/01\/SerialLCD-550x337.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/01\/SerialLCD-1024x628.jpg 1024w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/01\/SerialLCD.jpg 1135w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-8242\" class=\"wp-caption-text\">1-wire serial LCD<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I found this interesting post on EDN by\u00a0Benabadji Noureddine\u00a0about driving an\u00a0HD44780-based LCD\u00a0module serially through one wire. It receives the display data as well as power supply through the same single wire connected to the UART TX pin of the host microcontroller. The LCD module itself uses a PIC12F508 microcontroller that receives the serial data from the host MCU and transfers it to the LCD in 4-bit mode. The clever trick in this design is during idle condition, the UART TX output from the host MCU remains high, which is used to supply power to the PIC12F508 MCU and the LCD.<\/p>\n","protected":false},"author":1,"featured_media":8242,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,183],"tags":[722,723,68],"class_list":["post-8241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pic-projects","category-tips-and-tricks","tag-1-wire-lcd","tag-pic12f508","tag-serial-lcd"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/8241","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=8241"}],"version-history":[{"count":2,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/8241\/revisions"}],"predecessor-version":[{"id":8244,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/8241\/revisions\/8244"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/8242"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=8241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=8241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=8241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}