LCD HC08

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LCD HC08

8,786件の閲覧回数
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
 
ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,489件の閲覧回数
eckhard
Contributor V

Hello,

 

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

 

Eckhard

0 件の賞賛
返信

1,489件の閲覧回数
yb
Contributor IV
... or a 74HC595, which avoid to write IIC routines...
0 件の賞賛
返信

1,489件の閲覧回数
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 件の賞賛
返信

1,489件の閲覧回数
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 件の賞賛
返信

1,489件の閲覧回数
eckhard
Contributor V
Hello,

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


Eckhard
0 件の賞賛
返信