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


Browsing this Thread:   1 Anonymous Users






Re: GP4 can not output
#9
版主
版主


查看用戶資訊
PIC不會把輸出電流限在25mA;而是,若輸出電流大於25mA,它可能就有點得內傷了。就算當下看起來沒壞,也難保日後不出問題。同時,您可以量一下,電流變大時,輸出電壓也會稍低於Vcc。也許,這可以算是限流吧?????? Data Sheet應該有寫到,輸出電流多少時,它可以保證輸出電壓只會比Vcc低多少。

所以,正確使用時,是要串一個限流電阻沒錯。

使用IC時,一定要符合規格。否則到時IC壞了,怪不得別人。

另外,右上方的「搜尋區塊」應該可以找到討論區內的資料吧!

發表於: 2005/4/16 23:28
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: GP4 can not output
#8
中級會員
中級會員


查看用戶資訊
問個簡單的問題
一般output電流為20mA
當我接一個光藕合器pc725v在pic12f675 GP2時ok
但後來我將移到GP5,一次側卻不會動(應該燒掉了)
我的疑問是,Ioh max 25mA是指不管接到多大負載都是25mA
pic本身就會限流?
還是說當大負載時得接一個200歐姆把它限制在5V 25mA?


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


Re: GP4 can not output
#7
資深會員
資深會員


查看用戶資訊
建議多使用CCS HELP...
1.設PORTA全為0.
output_a(0X00);
2.設A0為0.
output_low(PIN_A0);

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


Re: GP4 can not output
#6
中級會員
中級會員


查看用戶資訊
明白了謝謝

再請教一個問題
我在CCS中使用OUTPUT()
但這函數似乎只控制TRIS來切換正電壓(H)/高阻抗(L)
當需要接地(L)時,該如何在CCS控制呢?

另外,這討論區好像沒有搜尋的功能,希望有機會可以新增
謝謝~

發表於: 2005/4/11 23:06
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: GP4 can not output
#5
版主
版主


查看用戶資訊
PIC12F629 的 Data Sheet 是這樣描述的 :
FOSC2:FOSC0Oscillator Selection bits

    111 
RC oscillatorCLKOUT function on GP4/OSC2/CLKOUT pinRC on GP5/OSC1/CLKIN
    110 
RC oscillatorI/function on GP4/OSC2/CLKOUT pinRC on GP5/OSC1/CLKIN
    101 
INTOSC oscillatorCLKOUT function on GP4/OSC2/CLKOUT pinI/function on GP5/OSC1/CLKIN
    100 
INTOSC oscillatorI/function on GP4/OSC2/CLKOUT pinI/function on GP5/OSC1/CLKIN
    011 
ECI/function on GP4/OSC2/CLKOUT pinCLKIN on GP5/OSC1/CLKIN
    010 
HS oscillatorHigh speed crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN
    001 
XT oscillatorCrystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN
    000 
LP oscillatorLow power crystal on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN


就跟 Mickkeys_Wu 說的方式,將振盪模式設為 "100" 的模式。

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


Re: GP4 can not output
#4
資深會員
資深會員


查看用戶資訊
將你的INTRC改成INTRC_IO即可.

發表於: 2005/4/11 9:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: GP4 can not output
#3
中級會員
中級會員


查看用戶資訊
應該是內部RC振盪~

我的#fuses INTRC,WDT,NOPROTECT, NOMCLR

在SIM
設TRIS=0,TRIS會變成0x08
而設GP4=1,GP4依舊是0

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


Re: GP4 can not output
#2
資深會員
資深會員


查看用戶資訊
請問您是用怎樣的振盪方式?

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


GP4 can not output
#1
中級會員
中級會員


查看用戶資訊
請問pic12f629 我知道GP3 INPUT ONLY,但GP4為什麼也無法輸出呢?
我是用CCS COMPILE,會不會FUSES沒設定完整?

另外請教幾個Fuses
PUT,NOPUT
RC,EC,RC_IO,INTRC_IO
BROWNOUT,NOBROWNOUT
這幾個我都沒設,因為我不知這些做什麼用的~"~

發表於: 2005/4/10 21:42
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... ]

教育訓練中心

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