<?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>The Daily Duino &#187; RFID</title>
	<atom:link href="http://dailyduino.com/archives/category/sensors/rfid/feed" rel="self" type="application/rss+xml" />
	<link>http://dailyduino.com</link>
	<description>mostly daily arduino projects and news</description>
	<lastBuildDate>Fri, 04 Dec 2009 19:46:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>LCD&#8217;s &#8211; Bring your projects to the next level</title>
		<link>http://dailyduino.com/archives/61</link>
		<comments>http://dailyduino.com/archives/61#comments</comments>
		<pubDate>Sat, 23 Aug 2008 17:18:20 +0000</pubDate>
		<dc:creator>droops</dc:creator>
				<category><![CDATA[LCD]]></category>
		<category><![CDATA[RFID]]></category>
		<category><![CDATA[Displays]]></category>
		<category><![CDATA[Modern Device]]></category>
		<category><![CDATA[Sensors]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=61</guid>
		<description><![CDATA[First off, I enjoy showing my wife thing that I build or write.  She enjoys showing me her projects, but as she is a photographer, her stuff is usually cooler looking.  Fancy cron jobs and database queries just don&#8217;t have the bling of an underwater naked woman in an artful pose. Since I started playing [...]]]></description>
			<content:encoded><![CDATA[<p>First off, I enjoy showing my wife thing that I build or write.  She enjoys showing me her projects, but as she is a photographer, her stuff is usually cooler looking.  Fancy cron jobs and database queries just don&#8217;t have the bling of an underwater naked woman in an artful pose.</p>
<p>Since I started playing with Arduino&#8217;s, my wife knows that her kitchen table will be full of wires and little electronics that our kid doesn&#8217;t need to pull off the table.  Little LED&#8217;s that blink or some serial output to a computer are cool, but not so impressive.  But serial output to an LCD, a cool blue LCD, now things start to get interesting.</p>
<div id="attachment_62" class="wp-caption aligncenter" style="width: 210px"><a href="http://dailyduino.com/wp-content/uploads/2008/08/rfid_reader_lcd.jpg"><img class="size-medium wp-image-62" title="rfid_reader_lcd" src="http://dailyduino.com/wp-content/uploads/2008/08/rfid_reader_lcd-200x300.jpg" alt="RFID Reader" width="200" height="300" /></a><p class="wp-caption-text">RFID Reader</p></div>
<p>Those are pictures of a RFID reader that I built the other day.  My 1.5 year old daughter thinks its the coolest thing.  Not only does an LED light up when a tag is read, but it has that fancy LCD.  Good design should be usable by little kids.  She can work the remote to our Mac&#8217;s, she can work an iPod, and now she can work my RFID reader.</p>
<div id="attachment_67" class="wp-caption aligncenter" style="width: 310px"><a href="http://dailyduino.com/wp-content/uploads/2008/08/rfid_reader_lcd11.jpg"><img class="size-medium wp-image-67" title="rfid_reader_lcd11" src="http://dailyduino.com/wp-content/uploads/2008/08/rfid_reader_lcd11-300x200.jpg" alt="RFID Reader LCD" width="300" height="200" /></a><p class="wp-caption-text">RFID Reader LCD</p></div>
<p>If she knew how to solder, she could probably put one of these LCD&#8217;s together.  I am using 2 LCD&#8217;s from <a href="http://moderndevice.com/LCD.shtml" target="_self">Modern Device</a> and their Serial LCD Board to drive them.  Its as easy as adding a second serial output to your projects to add in an LCD.</p>
<p>There are a few other things you have to send on that serial connection and they are well documented at the bottom of the the above link.  There is also a test function on the Serial Board to make sure you hooked everything up properly.  The board will run either LCD, but you have to have different headers installed and a different resistor for the backlight.  No resistor, just a jumper wire for the 16&#215;2 and a 15 ohm for the 20&#215;4.</p>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 310px"><a href="http://dailyduino.com/wp-content/uploads/2008/08/serial_lcd_board.jpg"><img class="size-medium wp-image-69" title="serial_lcd_board" src="http://dailyduino.com/wp-content/uploads/2008/08/serial_lcd_board-300x145.jpg" alt="LCD117 Serial LCD Board" width="300" height="145" /></a><p class="wp-caption-text">LCD117 Serial LCD Board</p></div>
<p>I had some problems with one of my Serial LCD Boards, but it seems to have been a hardware problem, I resoldered everything and it worked.  Paul at Modern Device has a forum set up where he will help you with any problem.  It&#8217;s very cool to have a company that sells things at good prices and will help you with their products.</p>
<div id="attachment_66" class="wp-caption aligncenter" style="width: 210px"><a href="http://dailyduino.com/wp-content/uploads/2008/08/40_lcd1.jpg"><img class="size-medium wp-image-66" title="40_lcd1" src="http://dailyduino.com/wp-content/uploads/2008/08/40_lcd1-200x300.jpg" alt="20x4 LCD" width="200" height="300" /></a><p class="wp-caption-text">20x4 LCD</p></div>
<p>Here is some example code to send data to the 16&#215;2 LCD (just like the RFID Reader)</p>
<blockquote><p>#include &lt;SoftwareSerial.h&gt;</p>
<p>#define rxPin 4<br />
// rxPin is immaterial &#8211; not used &#8211; just make this an unused Arduino pin number<br />
//the txPin is an unused digital pin, you can use analog pins for digital pins<br />
#define txPin 14 // pin 14 is analog pin 0, on a BBB just use a servo cable <img src='http://dailyduino.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);</p>
<p>void setup(){</p>
<p>pinMode(txPin, OUTPUT);<br />
mySerial.begin(9600);    // 9600 baud is chip comm speed</p>
<p>mySerial.print(&#8220;?G216&#8243;); // set display geometry,  2 x 16 characters in this case<br />
delay(100);               // pause to allow LCD EEPROM to program</p>
<p>mySerial.print(&#8220;?Bff&#8221;);  // set backlight to 40 hex<br />
delay(100);              // pause to allow LCD EEPROM to program</p>
<p>mySerial.print(&#8220;?s6&#8243;);   // set tabs to six spaces<br />
delay(1000);              // pause to allow LCD EEPROM to program</p>
<p>}</p>
<p>void loop(){</p>
<p>mySerial.print(&#8220;?c0&#8243;);          // turn cursor off<br />
delay(300);                //without the delay, the LCD will crash</p>
<p>mySerial.print(&#8220;?f&#8221;);                   // clear the LCD<br />
delay(100);<br />
delay(3000);</p>
<p>mySerial.print(&#8220;?x00?y0&#8243;);              // cursor to first character of line 0</p>
<p>mySerial.print(&#8220;LCD117 test&#8221;);</p>
<p>delay(3000);</p>
<p>mySerial.print(&#8220;?x00?y1&#8243;);          // move cursor to beginning of line 1<br />
mySerial.print(&#8220;moderndevice.com&#8221;);     // crass commercial message</p>
<p>delay(6000);                          // pause three secs to admire</p>
<p>mySerial.print(&#8220;?f&#8221;);                   // clear the LCD</p>
<p>mySerial.print(&#8220;?x00?y0&#8243;);          // move cursor to beginning of line 0</p>
<p>mySerial.print(&#8221; LCD 117 chip by&#8221;);         // displys LCD #117 on the screen</p>
<p>mySerial.print(&#8220;?x00?y1&#8243;);              // cursor to first character of line 1<br />
mySerial.print(&#8221; phanderson.com&#8221;);</p>
<p>delay(3000);                          // pause three secs to admire</p>
<p>mySerial.print(&#8220;?f&#8221;);                   // clear the screen</p>
<p>delay(1000);<br />
}</p></blockquote>
<p><a href="http://dailyduino.com/wp-content/uploads/2008/08/40_lcd2.jpg"><img class="aligncenter size-medium wp-image-65" title="40_lcd2" src="http://dailyduino.com/wp-content/uploads/2008/08/40_lcd2-300x200.jpg" alt="" width="300" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/61/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

