How to hard wire the LCD...i have just finished my code...

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
zenzehar
Posts: 21
Joined: Sat Nov 01, 2008 4:00 pm

How to hard wire the LCD...i have just finished my code...

Post by zenzehar »

i have finished my code and tried to have a simulation on protues 7.4 sp3 ... i have a 16*2 LCD standard LCD ... how i can i connect it to the microcontroller ... i have connected the LCD to port B at ATMEGA8585 and i have connected it as follows:
PortB.0-->Data1
PortB.1-->Data2
PortB.2-->Data3
PortB.3-->Data4
PortB.4-->RS
PortB.5-->Enaple

MY LCD is: Hitachi ...
and i want to ask about where to connect the RW pin ... and if it's necessary to connect Data0 or not .... and if i can use any standard LCD or it must be a specific LCD of flowcode to use with ... thx and best regards

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: How to hard wire the LCD...i have just finished my code...

Post by Benj »

Hello

You probably have to wire up your LCD like this.

PortB.0-->Data4
PortB.1-->Data5
PortB.2-->Data6
PortB.3-->Data7
PortB.4-->RS
PortB.5-->Enable

RW pin tied to Ground.

Hope this helps.

zenzehar
Posts: 21
Joined: Sat Nov 01, 2008 4:00 pm

Re: How to hard wire the LCD...i have just finished my code...

Post by zenzehar »

thx master .. every thing works perfectly

Post Reply