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


Browsing this Thread:   1 Anonymous Users




(1) 2 »


Re: PIC16F877 and 100 iput and 100 output
#15
資深會員
資深會員


查看用戶資訊
感謝版主提供,學到了一個好方法,感恩阿

發表於: 2006/4/29 21:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#14
資深會員
資深會員


查看用戶資訊
這個方式我沒有想過耶!學到一招囉!


發表於: 2006/4/29 12:12
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#13
版主
版主


查看用戶資訊
縮圖

大家參考參考吧!

發表於: 2006/4/29 9:20
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#12
資深會員
資深會員


查看用戶資訊
忘記把RB4接限流電阻和提升電阻...感恩囉!

發表於: 2006/4/28 23:04
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#11
版主
版主


查看用戶資訊
參照:

nephi 寫到:
請問大大,您的意思是RB0~RB3需兼當輸入偵測及輸出嗎?
可是這樣的話,當按鍵按住了之後,和按鍵一起的LED就不能亮了呀??


有概念哦!只要在按鍵旁串個稍大的電阻,即可讓按鍵對LED的影響降到最低。

發表於: 2006/4/28 22:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#10
新會員
新會員


查看用戶資訊
請問大大,您的意思是RB0~RB3需兼當輸入偵測及輸出嗎?
可是這樣的話,當按鍵按住了之後,和按鍵一起的LED就不能亮了呀??

發表於: 2006/4/28 21:44
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#9
資深會員
資深會員


查看用戶資訊
縮圖

RB4-7 是 Output
RB0-3 是 Input


發表於: 2006/4/28 19:18
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#8
版主
版主


查看用戶資訊
線路不方便給,因為那屬於客戶的。
但是可以解釋一下它的觀念:

以4*4為例。做成16個按鍵,想必您會了。假設掃描按鍵時,RB0~RB3為輸入,並用電阻PULL-HIGH;RB4~RB7為輸出。

如果您在每個按鍵旁,並接一個LED+電阻,方向為RB4~7=>RB0~3導通。則當某一瞬間,某一個RB0~RB3的腳為輸出LOW,某一個RB4~RB7輸出HIGH,那某一個LED就亮了。

想想看,畫畫看,試試看吧!

發表於: 2006/4/28 17:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#7
資深會員
資深會員


查看用戶資訊
能提供參考電路給我參考一下嗎(你說的4*8)?我的mail:garyyang1616@msn.com
謝謝

發表於: 2006/4/28 17:22
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 and 100 iput and 100 output
#6
版主
版主


查看用戶資訊
10*10可以同時做到100 IN/100 OUT,真的。

我曾用4*8做出32個按鍵及32個LED。

亮度則是見仁見智。但就算1/10 duty,提高瞬間電流,也會看起來夠亮。

發表於: 2006/4/28 17:08
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... ]

教育訓練中心

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