Re: 想請問ㄧ下關於APP001上的LCD
|
||||
---|---|---|---|---|
版主
|
LCD Module 的設計方式可以參考 WAP002 Workshop 裡有關LCD Module 的說明,也可以下載 HD44780 的 Data Sheet 來參考。
發表於: 2006/5/8 18:17
|
|||
|
Re: 想請問ㄧ下關於APP001上的LCD
|
||||
---|---|---|---|---|
資深會員
|
>而4bit 分別做兩次處理(高4位元 與低4位元)
>是這樣子嗎? Yes >我是用PIC16F877的 >所以希望是用組合語言寫 >可以麻煩舉個例子 Microchip AN587 或 教育訓練 W201 Lab2.asm & lcd.asm >LCD datasheet >其中他是有提到4 bit operation (page 6) >最右下角有提到 >RS R/W D7 D6 D5 D4 >1 0 0 1 0 1 >1 0 0 0 1 1 >後面D7~D4 0101 0011 = 53 ===> S >問題是兩行要怎麼打? >傳兩次嗎?? 嗯 >他怎麼知道我船的事第一次還是第二次?? Power ON (8-bit mode) 後第一個 00 0010 (LCD 收到的是 00 0010 xxxx) 就告訴 LCD 開始用 4-bit mode 了!
發表於: 2006/5/7 15:54
|
|||
|
Re: 想請問ㄧ下關於APP001上的LCD
|
||||
---|---|---|---|---|
初級會員
|
謝謝您的回應
我不太懂我所說的4bit問題?...是真的扺用4bit來表示? 另外BCD 轉 ASCII 不知道是不是我想的這樣 假設65(10進位) 0110 0101 -> 65 -> A 而4bit 分別做兩次處理(高4位元 與低4位元) 是這樣子嗎? 其實我比較想知道該如何把字串顯示到LCD上 我是用PIC16F877的 所以希望是用組合語言寫 可以麻煩舉個例子 例如顯示 Hello World 謝謝您...... 另外...下面連結應該是APP001版子上LCD的datasheet吧? LCD datasheet 其中他是有提到4 bit operation (page 6) 最右下角有提到 RS R/W D7 D6 D5 D4 1 0 0 1 0 1 1 0 0 0 1 1 後面D7~D4 0101 0011 = 53 ===> S 問題是兩行要怎麼打? 傳兩次嗎?? 他怎麼知道我船的事第一次還是第二次?? 任何意見都可回應......非常感謝您........
發表於: 2006/5/7 0:54
|
|||
|
Re: 想請問ㄧ下關於APP001上的LCD
|
||||
---|---|---|---|---|
初級會員
|
不好意思...
我有看到電路圖了... 但問題更大了 為什麼DB0~DB3是空接?? 不是用8個bits來將ASCII做轉換嗎? 這樣只剩4個bits? 如何表示呢? 知道的大大拜託回ㄧ下囉 謝謝
發表於: 2006/5/6 22:57
|
|||
|
想請問ㄧ下關於APP001上的LCD
|
||||
---|---|---|---|---|
初級會員
|
問題1.
我看書上有LCD的接腳說明 有點疑問 RS是接PIC哪一個腳 R/W呢? 問題2. 我看電路圖上(約在正中間處) 畫一個DIP 3關接到LCD 不太懂圖的意思 如DIP左邊ERD0 右邊RD0 以此類推 這是什麼意思? 我若要在LCD上顯示 開關推到右邊對吧? 謝謝您的回答
發表於: 2006/5/6 0:21
|
|||
|