|
I am rather new to the 68HC11 and microcontrollers in general so I am confused about connecting a parallel LCD with the Microstamp11 from Technological Arts. This version seems to have pins 0-7 for PortA and pins 0-5 for PortD only. No PortB or PortC. I believe I need to have all 8 Databus pins on the LCD connected to output ports, correct? However PA0, PA1,PA2 are input only pins, leaving me with only 5 PortA pins as output. And I need to use PD0-PD2 for E, RS, and R/W signals. Now is there some way I can still use this LCD? Link to the LCD data sheet can be found here: http://www.jameco.com/Jameco/Products/ProdDS/171715.pdf |
|
|
|
You don't necessarily need 8 bits for the LCD bus. You can use the LCD in 4-bit mode but you'll have to drive it 'manually'. You will still need the E and RS pins. I think the R/W can be hardwired in Write-always-mode and using appropriate delays you can make it work. So, do you have 4 I/O and 2 O pins available? ----- Original Message ----- From: "gucci_owns_me" <> To: < > I am rather new to the 68HC11 and microcontrollers in general so I > am confused about connecting a parallel LCD with the Microstamp11 > from Technological Arts. This version seems to have pins 0-7 for > PortA and pins 0-5 for PortD only. No PortB or PortC. I believe I > need to have all 8 Databus pins on the LCD connected to output > ports, correct? However PA0, PA1,PA2 are input only pins, leaving me > with only 5 PortA pins as output. And I need to use PD0-PD2 for E, > RS, and R/W signals. Now is there some way I can still use this > LCD? Link to the LCD data sheet can be found here: > http://www.jameco.com/Jameco/Products/ProdDS/171715.pdf |
|
|
|
I should have enough pins now. I figured out that I can use 4-bit mode, as you mentioned, and then I can send the command bytes as high and low nibbles. I haven't tested this yet, but it should be able to work. Thanks. --- In , "Tony Papadimitriou" <tonyp@a...> wrote: > You don't necessarily need 8 bits for the LCD bus. You can use the LCD in 4-bit > mode but you'll have to drive it 'manually'. You will still need the E and RS > pins. I think the R/W can be hardwired in Write-always-mode and using > appropriate delays you can make it work. > > So, do you have 4 I/O and 2 O pins available? > > tonyp@a... > > ----- Original Message ----- > From: "gucci_owns_me" <gucci_owns_me@y...> > To: < > > I am rather new to the 68HC11 and microcontrollers in general so I > > am confused about connecting a parallel LCD with the Microstamp11 > > from Technological Arts. This version seems to have pins 0-7 for > > PortA and pins 0-5 for PortD only. No PortB or PortC. I believe I > > need to have all 8 Databus pins on the LCD connected to output > > ports, correct? However PA0, PA1,PA2 are input only pins, leaving me > > with only 5 PortA pins as output. And I need to use PD0-PD2 for E, > > RS, and R/W signals. Now is there some way I can still use this > > LCD? Link to the LCD data sheet can be found here: > > http://www.jameco.com/Jameco/Products/ProdDS/171715.pdf |
|
Here's some good lcd sites. code for lcd: http://e-www.motorola.com/files/microcontrollers/doc/app_note/AN1774.pdf how lcd works: http://www.myke.com/lcd.htm http://home.iae.nl/users/pouweha/lcd/lcd.shtml |