newbie questions - do LCD have same supply as PIC?

Status
Not open for further replies.

newbie111

Member level 2
Joined
Nov 29, 2009
Messages
51
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
h.k
Activity points
1,609
newbie's confusion

https://www.mikroe.com/en/books/picbook/7_09chapter.htm

Hi,
I have 4 questions.


1) In the diagram, do the pic and the lcd share the same 5v dc supply?

2) Also at the end of the lcd.asm main programme,

loop ( Can I add more text in it ?)


goto loop


3) all the text in line 1 and 2 will show up one by one then repeat right?

4) Do I only need to include " lcd.inc and mikroe184.inc?


Thanks
 

Re: newbie's confusion

Hi,

Regarding the 5v, the lcd pin3 shares the same rail as the pic chip.

However the +5v to the lcd backlight at the right hand side is not what I would do.
If its a standard black on green display you do not actually need the b/l, but if you do want it on, around 4v is more suitable so use a dropper resistor - try 100ohms but you might need two use 2x 220ohm in parallel to increase the wattage of the resistor.
Depending on the backlight it could take 50 -100ma,

Yes, you can add you own code at the loop stage.

Not sure about q 3/4 as that page takes a fair bit of following - I don't like complicated things - have just sent someone some starter lcd code - have pm'ed you a copy - its for the 16f628A but am just doing the same for the 16F690 for someone else - let me know if your need it changing for a particular chip if its seems easier to use to you than that mikroe stuff.
 

    newbie111

    Points: 2
    Helpful Answer Positive Rating
Re: newbie's confusion

Hi,

Thank you so much for your codes.

I will study them.

Too bad! I actually only have two 16f690 pics in hand

i am not good at this so i have to study harder

If you could send me the codes for my pic

it would be perfect.

Thanks a lot once again.
 

Re: newbie's confusion

Hi,

Will pm you the 690 code.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…