• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: PIC18F6490 LCD設定
#10
資深會員
資深會員


查看用戶資訊
先前我有做一塊手工板,結果一樣,不行

發表於: 2005/10/18 11:43
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#9
版主
版主


查看用戶資訊
換一顆新的看看。

發表於: 2005/10/17 18:02
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#8
資深會員
資深會員


查看用戶資訊
這我已經看過,裡頭的設定相當簡單,我也是著跟它一樣的設定,但結果還是一樣,硬體線路方面我對過了,沒有問題,其實接LCD只是單純晶片的腳對LCD的pin腳,很簡單,就是因為簡單,所以我不知哪裡有錯,不過我用的是PIC18LF6490,是低電壓的,我不知這有沒有影響,我是用ICD2來燒錄程式。
有一個現象是我第一次燒錄時是ok的,第二天再試時,卻發生了問題,我懷疑是不是晶片本身有問題?

發表於: 2005/10/14 22:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#7
版主
版主


查看用戶資訊

發表於: 2005/10/14 15:14
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#6
版主
版主


查看用戶資訊
要不要到Microchip美國網站,找一下PICDEM LCD的資料下來參考?裏頭有線路圖,有source code。雖然它是針對PIC18F8490,但是應該是和6490差不多的才對。

發表於: 2005/10/12 10:52
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#5
資深會員
資深會員


查看用戶資訊
能否請microchip台灣分公司代為詢問美國總公司,PIC18LF6490的LCD如何設定規劃,還是這顆chip根本就是有問題

發表於: 2005/10/12 10:27
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#4
資深會員
資深會員


查看用戶資訊
我改用MPLAB 7.21,用LCD Pixel Simulation 進行 LCD Segmnt 的軟體除錯,結果ok,但一接上硬體就不正常了,硬體我檢查過,並無接觸不良的問題,我看是I/O壞了,可是怎麼會壞呢?真是奇怪

發表於: 2005/10/8 22:58
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#3
版主
版主


查看用戶資訊
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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F6490 LCD設定
#2
資深會員
資深會員


查看用戶資訊
我今天將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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC18F6490 LCD設定
#1
資深會員
資深會員


查看用戶資訊
我用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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------