<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A Little Off &#187; HD44780</title>
	<atom:link href="http://www.bemasher.net/archives/tag/hd44780/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bemasher.net</link>
	<description>Code, Computers, Photography and Guns</description>
	<lastBuildDate>Mon, 21 Nov 2011 06:38:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>LCD Hello World!</title>
		<link>http://www.bemasher.net/archives/363?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lcd-hello-world</link>
		<comments>http://www.bemasher.net/archives/363#comments</comments>
		<pubDate>Mon, 11 May 2009 07:30:46 +0000</pubDate>
		<dc:creator>bemasher</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[20x4 LCD]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[HD44780]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[LiquidCrystal]]></category>

		<guid isPermaLink="false">http://www.bemasher.net/?p=363</guid>
		<description><![CDATA[I finally got impatient with my progress on the LCD Shield I'm designing and decided to solder the headers onto the LCD and give it a try on the breadboard, which has turned out to be a good idea. The original pin-mapping I setup in the design wouldn't have worked and I would have been [...]]]></description>
			<content:encoded><![CDATA[<p><a title="DSC_4108" href="http://picasaweb.google.com/BeMasher/ALittleOff#5334432879950732770"><img class="pie-img alignleft" src="http://lh4.ggpht.com/_67X_BsG0Kiw/Sge2cPegneI/AAAAAAAAEcQ/tfCNJZ2uTrY/DSC_4108.jpg?imgmax=160" alt="DSC_4108" width="160" height="106" /></a></p>
<p>I finally got impatient with my progress on the LCD Shield I'm designing and decided to solder the headers onto the LCD and give it a try on the breadboard, which has turned out to be a good idea. The original pin-mapping I setup in the design wouldn't have worked and I would have been very frustrated at my wasting ~$20 on getting a PCB printed. I got a lot of great help from <a href="http://www.alfonsomartone.itb.it/kwztcq.html">http://www.alfonsomartone.itb.it/kwztcq.html</a> which almost problem-for-problem outlined the same order of issues I had excluding problems #2, #4 and #8.</p>
<div class="codecolorer-container c default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">#define RS 11</span><br />
<span style="color: #339933;">#define RW 2</span><br />
<span style="color: #339933;">#define E &nbsp;3</span><br />
<span style="color: #339933;">#define D0 4</span><br />
<span style="color: #339933;">#define D1 5</span><br />
<span style="color: #339933;">#define D2 6</span><br />
<span style="color: #339933;">#define D3 7</span><br />
<span style="color: #339933;">#define D4 14</span><br />
<span style="color: #339933;">#define D5 15</span><br />
<span style="color: #339933;">#define D6 16</span><br />
<span style="color: #339933;">#define D7 17</span><br />
<br />
LiquidCrystal lcd<span style="color: #009900;">&#40;</span>RS<span style="color: #339933;">,</span>RW<span style="color: #339933;">,</span>E<span style="color: #339933;">,</span>D0<span style="color: #339933;">,</span>D1<span style="color: #339933;">,</span>D2<span style="color: #339933;">,</span>D3<span style="color: #339933;">,</span>D4<span style="color: #339933;">,</span>D5<span style="color: #339933;">,</span>D6<span style="color: #339933;">,</span>D7<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>Above is what the pin-mapping ended up being. I also discovered I had no pots to use for the contrast pin on the LCD at all so that's going to have to be fixed in the future. So for the time being the contrast is a little out of whack. But I was able to get it to print the traditional "Hello World!" string as you can see in the photo. Also you'll note that I used pins 14 through 17 and you're probably scratching your head as to which pins those are. They're actually the row of pins marked as analog in, analog in 0 is 14 and can actually be used as a digital IO pin as well.</p>
<p>Something else that I've also noticed that I'll need to fix is that the rows seem to be written to out of order. Writing order is as follows: Row 1, Row 3, Row 2, Row 4. Which I'm sure I can fix somehow but I don't know exactly why it's doing that just yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bemasher.net/archives/363/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I should have looked at the dimensions&#8230;</title>
		<link>http://www.bemasher.net/archives/345?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=i-should-have-looked-at-the-dimensions</link>
		<comments>http://www.bemasher.net/archives/345#comments</comments>
		<pubDate>Thu, 07 May 2009 04:35:50 +0000</pubDate>
		<dc:creator>bemasher</dc:creator>
				<category><![CDATA[Microprocessors]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[gravitech.us]]></category>
		<category><![CDATA[HD44780]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[LCD Shield]]></category>

		<guid isPermaLink="false">http://www.bemasher.net/?p=345</guid>
		<description><![CDATA[Over the weekend I ordered a 20x4 character LCD for my arduino... I should have looked a little more closely in the datasheet at the section about it's dimensions. Needless to say it's a bit larger than I had originally pictured. So the LCD Shield I've been designing has been thrown off a little bit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://lh4.googleusercontent.com/_67X_BsG0Kiw/SgJiIjJLBjI/AAAAAAAAICY/L18jFFZ8d8A/DSC_4095.jpg" title="DSC_4095"><img src="https://lh4.googleusercontent.com/_67X_BsG0Kiw/SgJiIjJLBjI/AAAAAAAAICY/L18jFFZ8d8A/s288/DSC_4095.jpg" alt="DSC_4095" class="pie-img alignleft"/></a></p>
<p>Over the weekend I ordered a <a href="http://store.gravitech.us/20chbllcd.html">20x4 character LCD</a> for my arduino... I should have looked a little more closely in the datasheet at the section about it's dimensions. Needless to say it's a bit larger than I had originally pictured. So the LCD Shield I've been designing has been thrown off a little bit by the size of this beast.</p>
<p>Looking at the picture the LCD is on the left and my arduino + battery backpack is on the right. I wasn't really planning on it being that huge, but anyway it looks like I'm going to have to heavily modify the PCB layout I've already done for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bemasher.net/archives/345/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

