CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

LCD interface

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
vi_ni_ta



Joined: 11 Dec 2006
Posts: 7

View user's profile Send private message

LCD interface
PostPosted: Mon Dec 11, 2006 4:24 am     Reply with quote

--------------------------------------------------------------------------------

Hey people,
I am a student who is absolutely new to microcontrollers. I am asked to submit a program that display the pressure output in digital format using LCD. am asked to write the program stictly in CCS PIC C. pls help me . got the analog to digital interfacing part rite.. the LCD interface is still an unsolved mystery.. Anybody out there... help me pls...

details:
In PIC Pins
1- reset
2- analog input
9 and 10 - crystal oscillator
15,16,17 and 18- to LCD
22-a switch to choose whether output should be in psi or kilopascal
BOB_SANTANA



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 4:30 am     Reply with quote

Need more info

1. What Lcd are you using
2. what pic are you using

Regards
_________________
BOB_Santana Smile
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 4:32 pm     Reply with quote

Quote:

the LCD interface is still an unsolved mystery.. Anybody out there... help me pls...


If you really want it, it shouldn´t !!
http://www.vermontficks.org/lcdd.htm
http://www.myke.com/lcd.htm

Just to show you a couple of very good info regarding LCD control.

The project it is not an easy task for a begginer student. If I were you, I would
start dividing the task in small steps until I get and learn some skills before
to start measuring an analog value...


Humberto
vi_ni_ta



Joined: 11 Dec 2006
Posts: 7

View user's profile Send private message

LCD HELP ;-(
PostPosted: Mon Dec 11, 2006 10:59 pm     Reply with quote

the LCD i am using is a 16x2 lcd.
we will be using a Hitachi one..
and my PIC is 16F877.
vi_ni_ta



Joined: 11 Dec 2006
Posts: 7

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 11:09 pm     Reply with quote

BOB_SANTANA wrote:
Need more info

1. What Lcd are you using
2. what pic are you using

Regards


Bob, am using PIc16F877.. will pass on the code i've written... [just the adc part].. n using Hitachi 16x2 LCD display
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 11, 2006 11:34 pm     Reply with quote

Quote:

The LCD interface is still an unsolved mystery.

http://www.ccsinfo.com/forum/viewtopic.php?t=24661
littlephoc



Joined: 12 Dec 2006
Posts: 8

View user's profile Send private message

PostPosted: Wed Dec 13, 2006 7:23 am     Reply with quote

how to know the pin connection between 28pin PICF18 and LCD, I am using red picdem 2 plus. Because my PIC18F2620 has no portD, so I don't know which port and pin to use for LCD data line.
I use the lcd driver in this forum but my LCD still doesn't print any thing.
Please help me
THank you very much
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Dec 13, 2006 11:01 am     Reply with quote

Quote:

I am using red picdem 2 plus. Because my PIC18F2620 has no portD,
so I don't know which port and pin to use for LCD data line.

The Microchip PicDem2-Plus board has the four data lines for the LCD
hard wired to PIC pins RD0 to RD3. The three control lines are on
PIC pins RA1 to RA3. The LCD is really intended to work with a
40-pin PIC.

The PicDem2-Plus board has a jumper area to the right of the sockets,
with a line of holes for Ports A,B,C,D, and E. You could still use the
on-board LCD if you added four jumper wires in that area. You need
to choose some pins on your 18F2620 to use for the LCD data bus.
These pins could be on Port B or Port C. Then jumper them over to
the pads for Port D (D0 to D3). Then you need to change the #define
statements in the Flexible LCD driver, to specify the correct LCD data
bus pins, based upon how you connected the jumper wires.

It would maybe be easier just to use a 40-pin PIC. The PicDem2-Plus
comes with a 16F877 (4 MHz) and an 18F452. You could use one of
those instead of the 18F2620.
littlephoc



Joined: 12 Dec 2006
Posts: 8

View user's profile Send private message

PostPosted: Thu Dec 14, 2006 8:30 pm     Reply with quote

PCM programmer,
I have spent so much time for it until I recieve your answer. Thank you very much.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group