<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Interfacing LCD via SPI.</title>
	<atom:link href="http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi</link>
	<description>A Solder Joint</description>
	<lastBuildDate>Thu, 09 Sep 2010 00:47:05 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: afzal khan</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-6095</link>
		<dc:creator>afzal khan</dc:creator>
		<pubDate>Wed, 04 Aug 2010 13:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-6095</guid>
		<description>m also having a graphic lcd  ogm 128*64, plz provide me the schematic to connect it by the serial connection i.e spi...

thank you so much</description>
		<content:encoded><![CDATA[<p>m also having a graphic lcd  ogm 128*64, plz provide me the schematic to connect it by the serial connection i.e spi&#8230;</p>
<p>thank you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: afzal khan</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-6094</link>
		<dc:creator>afzal khan</dc:creator>
		<pubDate>Wed, 04 Aug 2010 12:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-6094</guid>
		<description>sir we are using at32uc3a (atmel 32 bit ) which supported spi   bt sir at lcd therer are 16 pins/20 pin but how can we know that they will support spi .sir i have an lcd 20into4 JHD 204A  .if u have any schematic or project please provide me schematic...thanks for your reply</description>
		<content:encoded><![CDATA[<p>sir we are using at32uc3a (atmel 32 bit ) which supported spi   bt sir at lcd therer are 16 pins/20 pin but how can we know that they will support spi .sir i have an lcd 20into4 JHD 204A  .if u have any schematic or project please provide me schematic&#8230;thanks for your reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: afzal khan</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-6093</link>
		<dc:creator>afzal khan</dc:creator>
		<pubDate>Wed, 04 Aug 2010 06:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-6093</guid>
		<description>hello sir is this possible to make any lcd to support spi mode through the hardware connection....because all lcd have same pin and drivers...so is it possible to spi with do -d7 pins</description>
		<content:encoded><![CDATA[<p>hello sir is this possible to make any lcd to support spi mode through the hardware connection&#8230;.because all lcd have same pin and drivers&#8230;so is it possible to spi with do -d7 pins</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-5876</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Tue, 27 Apr 2010 17:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-5876</guid>
		<description>In order to print something, you need to clear the screen. Do this in main() -&gt; insert LCD_Home(); before while( 1 ); you shall get blank screen. To print a string, define it like strings &quot;hello&quot; and &quot;second_line&quot; at the beginning of SPI_LCD.c and then print it using LCD_send_string().

SPI_LCD.c

...
const rom char *const rom temperature = &quot;TEMP = &quot;;

....

void main( void )
...

LCD_Home();
LCD_send_string( temperature );
LCD_send_hexbyte( ReadADC(0) );

while( 1 );
}</description>
		<content:encoded><![CDATA[<p>In order to print something, you need to clear the screen. Do this in main() -> insert LCD_Home(); before while( 1 ); you shall get blank screen. To print a string, define it like strings &#8220;hello&#8221; and &#8220;second_line&#8221; at the beginning of SPI_LCD.c and then print it using LCD_send_string().</p>
<p>SPI_LCD.c</p>
<p>&#8230;<br />
const rom char *const rom temperature = &#8220;TEMP = &#8220;;</p>
<p>&#8230;.</p>
<p>void main( void )<br />
&#8230;</p>
<p>LCD_Home();<br />
LCD_send_string( temperature );<br />
LCD_send_hexbyte( ReadADC(0) );</p>
<p>while( 1 );<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-5875</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 27 Apr 2010 07:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-5875</guid>
		<description>So far i built your entire project and got the hello world sent to the screen and everything!!! good work i learned a lot

I am now trying to send a reading to the LCD say Its an ADC value is this how i would send it? Let me know where i have gone wrong, using ReadADC(0) as my value, 

void LCD_send_hexbyte ( BYTE ReadADC(0) )
{
    BYTE temp = ReadADC(0)&gt;&gt;4;            //prepare first output character
 
    if ( temp &gt; 9 ) temp+=7;        //jump to letters in ASCII table
    LCD_sendchar ( temp + 0x30 );
 
    ReadADC(0) = ReadADC(0) &amp; 0x0f;             // mask 4 high bits
    if ( ReadADC(0) &gt; 9 ) data+=7;
    LCD_sendchar ( data + 0x30 );  
}

Also what if i wanted my screen to read TEMP = ( the ADC VALUE here ) how would i manage that?</description>
		<content:encoded><![CDATA[<p>So far i built your entire project and got the hello world sent to the screen and everything!!! good work i learned a lot</p>
<p>I am now trying to send a reading to the LCD say Its an ADC value is this how i would send it? Let me know where i have gone wrong, using ReadADC(0) as my value, </p>
<p>void LCD_send_hexbyte ( BYTE ReadADC(0) )<br />
{<br />
    BYTE temp = ReadADC(0)&gt;&gt;4;            //prepare first output character</p>
<p>    if ( temp &gt; 9 ) temp+=7;        //jump to letters in ASCII table<br />
    LCD_sendchar ( temp + 0&#215;30 );</p>
<p>    ReadADC(0) = ReadADC(0) &amp; 0&#215;0f;             // mask 4 high bits<br />
    if ( ReadADC(0) &gt; 9 ) data+=7;<br />
    LCD_sendchar ( data + 0&#215;30 );<br />
}</p>
<p>Also what if i wanted my screen to read TEMP = ( the ADC VALUE here ) how would i manage that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-5604</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Thu, 08 Apr 2010 02:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-5604</guid>
		<description>VCC is VDD, VSS is GND. You need capacitors between pins 11,12 and 31,32.

AFAIK PIC18F452 doesn&#039;t have internal oscillator. You will need to build an external one. It will be hard to make it work well on a breadboard.</description>
		<content:encoded><![CDATA[<p>VCC is VDD, VSS is GND. You need capacitors between pins 11,12 and 31,32.</p>
<p>AFAIK PIC18F452 doesn&#8217;t have internal oscillator. You will need to build an external one. It will be hard to make it work well on a breadboard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinnin</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-5603</link>
		<dc:creator>Dinnin</dc:creator>
		<pubDate>Thu, 08 Apr 2010 02:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-5603</guid>
		<description>Ok i just want to clarify, I need a cap between VDD and VCC on the pic18f452, on both sides? and do i also need one between both VSS and ground? Just wondering b/c in your picture it looks like the cap is between pin 11 and 12 which is VDD and VSS. And this is different from you schematic and i dont want to mess this up since i am mid build. 
 
Also i have the pic18f452 I/P will that work for this build? I do not know the difference?

Thanks for you help sorry if the questions are trivial.</description>
		<content:encoded><![CDATA[<p>Ok i just want to clarify, I need a cap between VDD and VCC on the pic18f452, on both sides? and do i also need one between both VSS and ground? Just wondering b/c in your picture it looks like the cap is between pin 11 and 12 which is VDD and VSS. And this is different from you schematic and i dont want to mess this up since i am mid build. </p>
<p>Also i have the pic18f452 I/P will that work for this build? I do not know the difference?</p>
<p>Thanks for you help sorry if the questions are trivial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-5585</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Wed, 07 Apr 2010 17:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-5585</guid>
		<description>0.1uF capacitors are recommended by spec between VCC and ground, in case of 18F452 between both VCCs and ground (there is another VCC pin on the other side ). VCC voltage can be 5V or 3V - it depends on your LCD contrast bias more than anything else. If you have 3.3V-rated LCD(not common), use 3.3V at VCC, otherwise use 5V.</description>
		<content:encoded><![CDATA[<p>0.1uF capacitors are recommended by spec between VCC and ground, in case of 18F452 between both VCCs and ground (there is another VCC pin on the other side ). VCC voltage can be 5V or 3V &#8211; it depends on your LCD contrast bias more than anything else. If you have 3.3V-rated LCD(not common), use 3.3V at VCC, otherwise use 5V.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinnin</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-5584</link>
		<dc:creator>Dinnin</dc:creator>
		<pubDate>Wed, 07 Apr 2010 17:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-5584</guid>
		<description>I noticed a few things on the picture and your schematic and had a few questions. 

First in the picture you have what looks like a capacitor between pin 11 and 12 on the pic18 but its not in ur schematic. If there is one there what is its value?

Also how much voltage does the SPI require i noticed you have the same VCC for the LCD and the SPI is that 5V? 3V? just curious b/c i am planning on building this and wanted to do it right!</description>
		<content:encoded><![CDATA[<p>I noticed a few things on the picture and your schematic and had a few questions. </p>
<p>First in the picture you have what looks like a capacitor between pin 11 and 12 on the pic18 but its not in ur schematic. If there is one there what is its value?</p>
<p>Also how much voltage does the SPI require i noticed you have the same VCC for the LCD and the SPI is that 5V? 3V? just curious b/c i am planning on building this and wanted to do it right!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg</title>
		<link>http://www.circuitsathome.com/mcu/programming/interfacing-lcd-via-spi/comment-page-1#comment-4911</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Tue, 16 Mar 2010 22:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://wp.circuitsathome.com/?p=32#comment-4911</guid>
		<description>Microchip LCD library functions won&#039;t work with this circuit</description>
		<content:encoded><![CDATA[<p>Microchip LCD library functions won&#8217;t work with this circuit</p>
]]></content:encoded>
	</item>
</channel>
</rss>
