LCD HC08

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LCD HC08

8,666 Views
ppcco
Contributor I
Hi, I need a routine writed in c to control an LCD 2*16, I'm using HC908QT4, somebody can help me?
 
Regards
 
Labels (1)
0 Kudos
Reply
5 Replies

1,369 Views
eckhard
Contributor V

Hello,

 

a pcf8574 with a software I2C interface will do the job using two I/O Pins.

 

Eckhard

0 Kudos
Reply

1,369 Views
yb
Contributor IV
... or a 74HC595, which avoid to write IIC routines...
0 Kudos
Reply

1,369 Views
bigmac
Specialist III

Hello ppco,

If your LCD display is the conventional parallel interface type, there won't be sufficient I/O available on the QT4 device for simple direct connection of the display - as a minimum you would likely need the QY4 device.

With 4-bit parallel (nybble) interface, you will need a minimum of 6 lines from the device, all output capable.  With 8-bit parallel interface a minimum of 10 lines are needed.  The code is somewhat more complex for the 4-bit mode.

The number of pins required could potentially be reduced with an intervening shift register device between the MCU and the display - requiring a more complex circuit configuration and again, more complex code.

Regards,

Mac

 

0 Kudos
Reply

1,369 Views
Encoder
Contributor I
"If your LCD display is the conventional parallel interface type, there won't be sufficient I/O available on the QT4 device for simple direct connection of the display - as a minimum you would likely need the QY4 device"
 
Definitely right!!
The other suggestions are only theoretical: any addition of an external periferal like a shift register or an iic translator upsets any small difference in price between QT4 and QY4, far increasing difficulty in programming and complicating the hardware.
0 Kudos
Reply

1,369 Views
eckhard
Contributor V
Hello,

what language are you using. For C look at AN2940 and for assembler look at AN1745.


Eckhard
0 Kudos
Reply