• 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
#5
資深會員
資深會員


查看用戶資訊
開關就是兩個接點接在一起,真的有100個開關及LED,他是處理完用usb傳出去,雖然我寫用PIC16F877,這只是隨便拿個MCU來問而已

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


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


查看用戶資訊
應該從你要的問題上分析你的需求是否真的需要如此多的開關。
以及100個LED必要性,100個LED是否有替代方案?

因為不知道你講的「開關」對應到真實物體是什麼?

uC只是負責資料處理,真實硬體可以用其他方案替代。

在某些應用中,只要邏輯閘就行了,連uC都可以免了。

因為你的問題算是開放式問題,所以真正要如何用?要問您自己可能會比較清楚。

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


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


查看用戶資訊
10*10矩陣只能做input的部份,若加入LED的部份則不夠,且還需考慮LED夠不夠亮的問題,因為有可能duty cycle才1/10而已

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


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


查看用戶資訊
用10*10矩陣結構,共20隻腳,用掃描的方式,即可同時做到開關輸入及LED輸出。實際上是分時多工,但至少人感覺起來是同時的。

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


PIC16F877 and 100 iput and 100 output
#1
資深會員
資深會員


查看用戶資訊
若有100個開關及100個LED,需可判讀其中一個開關動作及可單獨讓其中一個LED亮,當然也須可判讀多個開關動作及多個LED同時亮,若搭配PIC16F877,請問用什麼方式可以以最省成本的方式來達到這個要求,謝謝各位賜教

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

教育訓練中心

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