Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
資深會員
|
先前我有做一塊手工板,結果一樣,不行
發表於: 2005/10/18 11:43
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
版主
|
換一顆新的看看。
發表於: 2005/10/17 18:02
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
版主
|
http://www.microchip.com/stellent/idc ... Id=1406&dDocName=en021939
PICDEM LCD demo program & Circuit here.
發表於: 2005/10/14 15:14
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
版主
|
要不要到Microchip美國網站,找一下PICDEM LCD的資料下來參考?裏頭有線路圖,有source code。雖然它是針對PIC18F8490,但是應該是和6490差不多的才對。
發表於: 2005/10/12 10:52
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
資深會員
|
能否請microchip台灣分公司代為詢問美國總公司,PIC18LF6490的LCD如何設定規劃,還是這顆chip根本就是有問題
發表於: 2005/10/12 10:27
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
資深會員
|
我改用MPLAB 7.21,用LCD Pixel Simulation 進行 LCD Segmnt 的軟體除錯,結果ok,但一接上硬體就不正常了,硬體我檢查過,並無接觸不良的問題,我看是I/O壞了,可是怎麼會壞呢?真是奇怪
發表於: 2005/10/8 22:58
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
版主
|
PIC18F6490 是蠻新的元件,建議使用 MPLAB IDE V7.21 較新的版本,不曉的是不是硬體接觸不良問題還是 I/O 腳掛了?可不可以裡用 MPLAB IDE V7.21 所提供的 LCD Pixel Simulation 進行 LCD Segmnt 的軟體除錯,如果軟體模擬下的 LCD Pixel 都正常的話那就是硬體的問題了。
可以在MPLAB IDE 下選選元件為 PIC18F4690 , 在 View --> 開啟 LCD Pixel 視窗。
發表於: 2005/10/7 16:18
|
|||
|
Re: PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
資深會員
|
我今天將RC2設定為一般的I/O使用,發現其Hi電位為2.4V,Lo電位為0.3V;同樣將RC5設為一般I/O使用則為正常Hi->5V,Lo->0V,不知為什麼會如此
修改內容如下 PORTCbits.RC2=0; LATCbits.LATC2=0; TRISCbits.TRISC2=0; PORTCbits.RC5=0; LATCbits.LATC5=0; TRISCbits.TRISC5=0; LCDSE1=0b11001111;
發表於: 2005/10/6 10:18
|
|||
|
PIC18F6490 LCD設定
|
||||
---|---|---|---|---|
資深會員
|
我用MPLAB 6.61,mc18 ver2.4
設定完以下的程式碼後,其中SEG13(RC2),SEG15(RA5),SEG17(RA3)其波形不正確,所以這幾段的LCD都不亮 請問誰能告訴我,哪裡有錯,以下是設定碼 LCDPS=0b00000011; LCDSE0=0xff; LCDSE1=0xff; LCDSE2=0xff; LCDSE3=0xff; LCDCON=0b11001011; LCDDATA0=0xff; LCDDATA1=0xff; LCDDATA2=0xff; LCDDATA3=0xff; LCDDATA6=0xff; LCDDATA7=0xff; LCDDATA8=0xff; LCDDATA9=0xff; LCDDATA12=0xff; LCDDATA13=0xff; LCDDATA14=0xff; LCDDATA15=0xff; LCDDATA18=0xff; LCDDATA19=0xff; LCDDATA20=0xff; LCDDATA21=0xff;
發表於: 2005/10/5 15:22
|
|||
|