Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interfacing LCD JHD162A with P89v51RD2

Status
Not open for further replies.

nitincool01

Newbie level 6
Joined
Jan 20, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,359
Hi,

I need Help!

Am using NXP P89V1rd2 Micro-controller and am trying to interface LCD display(JHD162A) with it..

But am facing some issues during my work, I need to know to which port pins RS, RW and E should be connected from LCD display.

Please provide me the info with Circuit diagram and one sample code.

Thanks & Regards,
Nitin
 

RS pin is used to select the register in the LCD ie,
when RS = 0 , used to send command to the LCD (JHD162A) controller from the P89v51RD2 (command means shift the courser ,blink etc)
When RS = 1 ,used to send Data to the LCD controller (JHD162A) from the P89v51RD2 for displaying on LCD.
RW is used to write or read the information from /to LCD controller
RW should zero when send command /data to LCD
RW one when read some information from LCD (eg: Reading Busy flag)

every command or data send to the LCD we need give a high to low signal to the E

for more LCD Tutorial for interfacing with Microcontrollers: Introduction : 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes
 

jhd162a is having 16 pins how to interface it can you please xplain indetail
 

Jhd 162A :
Pin 1- Gnd
Pin 2- Vcc
Pin 3- Vee
Pin 4- RS
Pin 5- R/W
Pin 6- En
Pin 7-14- DB0-DB7
Pin 15-LED+
Pin 16-LED-

Led+ and Led- is for Back light .
Pin 7-14 is Data pins.
Pin 6-Enable . it should be a Pulse .
pin 5-R/W - To write or Read from LCD Memory.
pin 4-RS- Register select - 1 for Data and 0 for Command .
pin 1- GND
Pin 2 and 3 - 5V and 5V with Var. Pot to Control Display..
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top