Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

I O Port driving capacity

2005-04-13 by Owen Mooney

I have driven a 4x20 display off an lpc2106 without any problem. 

You only need 7 GPIO lines for these: DB4-DB7, E, data/cmd, and r/w. Because you can drive these devices in 4 bit mode - That way you use less micro lines and PCB real estate.

Another useful trick is sharing the 4 data lines with a keypad driver - possible because these line are usually 
in high impedance. 

The only interfacing hardware I used between the LCD module and the 2106 were 4 pull up resistors on the data lines - but this was nencessary for the keypad circuit not the LCD. 

You've probably got a code bug.

Have fun!

Owen Mooney


 
Message: 19        
   Date: Wed, 13 Apr 2005 08:48:37 +0100 (BST)
   From: rohan patil <iamrohanpatil@...>
Subject: 
I O Port driving capacity
  i m final year student of electronics engg

 i  m trying to interface 16x2 lcd display with lpc
2106 

io ports are connected as follows

D0-P0.21.........D7-P0.28
lcd enable-p0.29    RS-p0.30
R/W is grounded

i have sucessfully implimented clear disply command
but i m not able to write data

is it the problem of driving capcity or voltage levels

please give solution.......

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.