Searching \ for '[PIC]: HowTo use 74HC164 and LCD with PICBASIC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/lcd/pic.htm?key=lcd
Search entire site for: 'HowTo use 74HC164 and LCD with PICBASIC'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: HowTo use 74HC164 and LCD with PICBASIC'
2002\04\04@174555 by Raymond Mouthaan

flavicon
face
Allright you guys are right about my question. After some reading and trying
I'm now able to use the 74HC164 with SHOUT on the 16F84.

Maybe this is also a stuppid question, but what do I do with the RS
(register select signal) pin of the LCD-module? When I don't use a 74HC164
and do use the PRINT command of PICBASIC this pin is controllered by the
PRINT command.

I have read the datasheet of the LCD module but I can't find out what to do
with this pin.

Please if possible explain this pin. And tell me what to do with it.

Regards,

Ray

{Original Message removed}

2002\04\04@175958 by Tony Nixon

flavicon
picon face
Raymond Mouthaan wrote:
>
> Allright you guys are right about my question. After some reading and trying
> I'm now able to use the 74HC164 with SHOUT on the 16F84.
>
> Maybe this is also a stuppid question, but what do I do with the RS
> (register select signal) pin of the LCD-module? When I don't use a 74HC164
> and do use the PRINT command of PICBASIC this pin is controllered by the
> PRINT command.
>
> I have read the datasheet of the LCD module but I can't find out what to do
> with this pin.
>
> Please if possible explain this pin. And tell me what to do with it.
>
> Regards,
>
> Ray

It should be there in the data sheet somewhere, but...

RS = low, the LCD considers the data on it's bus to be an instruction,
such as clear the display, or home the cursor.

RS = high, the LCD considers the data on it's bus to be a character,
such as displaying 'A', 'B' etc..

--
Best regards

Tony

mICros
http://www.bubblesoftonline.com
spam_OUTsalesTakeThisOuTspambubblesoftonline.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\04\04@180144 by David Duffy

flavicon
face
At 12:44 AM 05/04/2002 +0200, you wrote:
>Allright you guys are right about my question. After some reading and trying
>I'm now able to use the 74HC164 with SHOUT on the 16F84.
>
>Maybe this is also a stupid question, but what do I do with the RS
>(register select signal) pin of the LCD-module? When I don't use a 74HC164
>and do use the PRINT command of PICBASIC this pin is controlled by the
>PRINT command.

Ahhh... Now we're getting somewhere - you hadn't said that you were using
something other than plain assembler. (PICBASIC in this case)
You really need to specify this when asking - we're not mind readers!

>I have read the datasheet of the LCD module but I can't find out what to do
>with this pin.

Search the net for examples using PICBASIC with an LCD.
Google came up with a heap of stuff just now - it's out there.

>Please if possible explain this pin. And tell me what to do with it.

There's an open invitation if I ever saw one !! :-)
The RS pin on the LCD selects either the data/command mode.
Data mode is when you send actual characters to the screen.
Command mode is where you move the cursor, clear the screen,etc.
Regards...

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\04\04@181851 by Raymond Mouthaan

flavicon
face
I found some information at Google about "LCD with PICBASIC, these examples
are without the use of a 74HC164. The reason for using this IC is: less I/O
pins of the PIC are used.

So does anyone know more info and/or examples for this problem?

Regards....

{Original Message removed}

2002\04\04@191353 by Dal Wheeler

flavicon
face
You might have to get your hands dirty a bit if you want to stray too far
from a canned example.  The idea from even publishing the example is so that
someone else can take that work and extend it to do what they want with it,
which is what you seem to want to do.

It looks like you should have enough information to do the job.  What I'd do
in your situation:

Hook up the LCD as in the published example you sited; learn how the LCD is
interfaced with the port registers.  Pay attention to timing, and look at
the datasheet & the example code to learn how display initialization
happens, and how characters are sent to the display.  It's not that
complicated if you muck around for a couple of hours.  It's not wasted time
to learn this.  A look at the LCD FAQ is also not a bad idea.

www.repairfaq.org/filipg/LINK/F_LCD_HD44780.html
http://www.ee.washington.edu/circuit_archive/text/LCD2.txt

When you are comfortable with that change all the port calls to include your
serial routine (shout command).  Hint: you might have to manipulate a
temporary variable to represent the 74164 port before shifting it out
serially.

Piclist doesn't necessarily mean picbasic.  If you have a question about
picbasic; you should mention it; many of us don't use it enough (or at all)
to remember all the silly little command names.  You also might check a
picbasic forum for this kind of information.

Google turned up this:
http://www.picbasic.org/forum/

If you get lost, feel free to ask the piclist for help; but make sure you do
your homework first or you'll likely get flamed or ignored.

{Original Message removed}

2002\04\04@192839 by Bob Barr

flavicon
face
On Fri, 5 Apr 2002 09:09:39 +1000, David Duffy wrote:

>At 12:44 AM 05/04/2002 +0200, you wrote:
>>Allright you guys are right about my question. After some reading and trying
>>I'm now able to use the 74HC164 with SHOUT on the 16F84.
>>
>>Maybe this is also a stupid question, but what do I do with the RS
>>(register select signal) pin of the LCD-module? When I don't use a 74HC164
>>and do use the PRINT command of PICBASIC this pin is controlled by the
>>PRINT command.
>
>Ahhh... Now we're getting somewhere - you hadn't said that you were using
>something other than plain assembler. (PICBASIC in this case)
>You really need to specify this when asking - we're not mind readers!
>

Actually, David, "with PICBASIC" appears in the subject line. I missed
it too. :=) My mail program's message list truncates long subject
lines and I didn't catch that part of the full subject line as I read
the email either.


Regards, Bob

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\04\04@194519 by David Duffy

flavicon
face
Raymond wrote:
>I found some information at Google about "LCD with PICBASIC, these examples
>are without the use of a 74HC164. The reason for using this IC is: less I/O
>pins of the PIC are used.

There should be examples of a PIC with a 'HC164 and other examples of
a PIC with an LCD. Between them, you should have enough to get it going.
Regards...

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\04\04@211734 by David P. Harris

picon face
Hi-
There is a PicBasic Yahoogroup:  http://groups.yahoo.com/group/pbasic ---
probably a good place to ask this question too.
David

Raymond Mouthaan wrote:

{Quote hidden}

> {Original Message removed}

2002\04\04@212438 by David Duffy

flavicon
face
>On Fri, 5 Apr 2002 09:09:39 +1000, David Duffy wrote:
> >At 12:44 AM 05/04/2002 +0200, you wrote:
> >>Allright you guys are right about my question. After some reading and
> trying
> >>I'm now able to use the 74HC164 with SHOUT on the 16F84.
> >>
> >>Maybe this is also a stupid question, but what do I do with the RS
> >>(register select signal) pin of the LCD-module? When I don't use a 74HC164
> >>and do use the PRINT command of PICBASIC this pin is controlled by the
> >>PRINT command.
> >
> >Ahhh... Now we're getting somewhere - you hadn't said that you were using
> >something other than plain assembler. (PICBASIC in this case)
> >You really need to specify this when asking - we're not mind readers!

Bob replied:
>Actually, David, "with PICBASIC" appears in the subject line. I missed
>it too. :=) My mail program's message list truncates long subject
>lines and I didn't catch that part of the full subject line as I read
>the email either.

Same here - I think there's something to be said for keeping the subject
line reasonable in length. (without doing the "[PIC]: Help" type of thing)
Also, it's not a good idea to put any important details in the subject line
that you don't have in the body of the email. Too easy to miss 'em there.
Regards...

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...