<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>lcd on Voltaicforge</title>
        <link>https://6e2dbc8c.voltaicforge.pages.dev/tags/lcd/</link>
        <description>Recent content in lcd on Voltaicforge</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-au</language>
        <lastBuildDate>Fri, 22 Apr 2016 00:00:00 +0000</lastBuildDate><atom:link href="https://6e2dbc8c.voltaicforge.pages.dev/tags/lcd/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>LCD Haul</title>
        <link>https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/</link>
        <pubDate>Fri, 22 Apr 2016 00:00:00 +0000</pubDate>
        
        <guid>https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/</guid>
        <description>&lt;img src="https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/Working_salvaged_lcd_hd44780_teaser.jpg" alt="Featured image of post LCD Haul" /&gt;&lt;h2 id=&#34;workplace-preps-to-throw-out-300-phone-units&#34;&gt;Workplace preps to throw out 300+ phone units&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;ve upgraded our phone system for the entire business at work. When I piled the old Ericsson desk phone into the box they had set up to return the old phones the thought hit me - there’s a lot of speakers in the 300 odd phones that are being thrown out. Wait, forget that - I bet this LCD is generic.&lt;/p&gt;
&lt;p&gt;So I took a few home and tore them down - and what do you know, but the LCD is a HD44780 based. I politely informed the IT dept they no longer needed an external contractor the throw them out, I would take them, thank you.&lt;/p&gt;
&lt;p&gt;I wanted to ensure I could get it working before grabbing them all. While I am yet to receive the MCU programming kits I’ve ordered, so I found an old Arduino Mega I had lying around from the 3D printer build. Whilst this should have been a simple check, Murphy, of course, got me - the ribbon cable pin pitch width was just too small for me to solder on my own ribbon cable to break out onto a breadboard. I had a few goes but the two sizes of ribbon cable I had on hand were the right width and bending the pins to neatly marry up with the solder pads just wasn’t working for me.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/box_of_old_phones.jpg&#34;
  width=&#34;1200&#34;
  height=&#34;1604&#34;
  srcset=&#34;https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/box_of_old_phones_hua3e6dcff578a1910a1742cbe9c1b2f77_196617_480x0_resize_q75_catmullrom.jpg 480w, https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/box_of_old_phones_hua3e6dcff578a1910a1742cbe9c1b2f77_196617_1024x0_resize_q75_catmullrom.jpg 1024w&#34;
  loading=&#34;lazy&#34;
  
    alt=&#34;A cardboard box containing old phones with LCD screens&#34;
  
  
    class=&#34;gallery-image&#34; 
    data-flex-grow=&#34;74&#34;
    data-flex-basis=&#34;179px&#34;
  
&gt;
&lt;/p&gt;
&lt;h2 id=&#34;getting-a-salvaged-10-pin-hd447800-lcd-working&#34;&gt;Getting a salvaged 10 pin HD447800 LCD working&lt;/h2&gt;
&lt;p&gt;My solution to break it out was to slice up the individual wires from one of the actual ribbon cables from the phone and solder it to a 12 pin header. The challenge here was that most HD4480’s are 16-pin - and this puppy had a 12 pin input. I did notice that 2 pins weren’t apparently connected by a quick scan of the PCB, and assuming it was actually a 10 pin LCD some googling revealed the following pinout.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/Working_salvaged_lcd_hd44780.jpg&#34;
  width=&#34;1200&#34;
  height=&#34;1600&#34;
  srcset=&#34;https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/Working_salvaged_lcd_hd44780_hu3c5a1bead15a5cbaabe1db327abf4b3e_304344_480x0_resize_q75_catmullrom.jpg 480w, https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/Working_salvaged_lcd_hd44780_hu3c5a1bead15a5cbaabe1db327abf4b3e_304344_1024x0_resize_q75_catmullrom.jpg 1024w&#34;
  loading=&#34;lazy&#34;
  
    alt=&#34;A working LCD wired to a breadboard displaying characters&#34;
  
  
    class=&#34;gallery-image&#34; 
    data-flex-grow=&#34;75&#34;
    data-flex-basis=&#34;180px&#34;
  
&gt;
&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;1: Gnd
2: VCC (5v)
3: Contrast (10k pot)
4: RS
5: R/W
6: E
7: DB4
8: DB5
9: DB6
10: DB7
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And the header of the Arduino Liquidcrystal library includes where to connect the pins of the Arduino to the LCD.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;From there it’s easy enough to connect the dots. So no backlight, but a perfectly working 2x20 LCD.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/LCD_HD44780_breakoiut_cable_mod.jpg&#34;
  width=&#34;1200&#34;
  height=&#34;1600&#34;
  srcset=&#34;https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/LCD_HD44780_breakoiut_cable_mod_hu3c5a1bead15a5cbaabe1db327abf4b3e_279012_480x0_resize_q75_catmullrom.jpg 480w, https://6e2dbc8c.voltaicforge.pages.dev/p/2016/04/lcd-haul/LCD_HD44780_breakoiut_cable_mod_hu3c5a1bead15a5cbaabe1db327abf4b3e_279012_1024x0_resize_q75_catmullrom.jpg 1024w&#34;
  loading=&#34;lazy&#34;
  
    alt=&#34;Quick mod to breakout small ribbon cable into breadboard for LCD HD44780&#34;
  
  
    class=&#34;gallery-image&#34; 
    data-flex-grow=&#34;75&#34;
    data-flex-basis=&#34;180px&#34;
  
&gt;
&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
