• 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: PIC16F877 遇到問題-4 - A/D
#6
管理員
管理員


查看用戶資訊
Hi,

PICmicro 的一些參數規範必須遵守 , 以便讓各模組正常工作.
以 PIC17F877 的 A/D 為例 , 在 Data Sheet 的 Table 15-2
有下列重要的訊息:

Vref+ 的最小值要 AVDD - 2.5V
Vref+ 與 Vref- 的最小壓差 = 2.0 V

我想這是為何轉換結果怪異的原因之一 ! 另外要調整 Sample Frequency 轉換時間的方法如下 :

1. 調整 ADCON0 的 Bit6 & Bit7 ( ADCS0 & ADCS1 ) 就可調
整 TAD , 如此可控制轉換時間 ( 10 bit 解析度需 12 個
TAD ) . 但要注意 TAD 不可小於 1.6 uS.

2. 當轉換完成時取樣保持電路自動會 "ON" , 一直到設定了
ADCON0.GO 開始轉換時才停止取樣 ; 所以取樣多久通常靠
自己的程式控制啦 ! 但要注意 , 切換 Channel 後的取樣時間
要夠才不會有串音 ( Cross-Talk ) 的怪現象喔 :)

希望您盡快成功

發表於: 2005/3/6 23:42
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 遇到問題-4 - A/D
#5
新會員
新會員


查看用戶資訊
how to change the sampe frequency??

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


Re: PIC16F877 遇到問題-4 - A/D
#4
高級會員
高級會員


查看用戶資訊
放慢取樣頻率看看!!!

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


Re: PIC16F877 遇到問題-4 - A/D
#3
新會員
新會員


查看用戶資訊
Wada大大

請教一下有何不同
小弟不董ㄟ
可以告訴我嗎 謝謝

發表於: 2004/11/9 14:22
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F877 遇到問題-4 - A/D
#2
初級會員
初級會員


查看用戶資訊
請問是877還是877A
不一樣喔

發表於: 2004/11/9 1:37
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC16F877 遇到問題-4 - A/D
#1
新會員
新會員


查看用戶資訊
一台LEAP PSTART,一顆PIC16F877-20/p,振盪器4MHz,新手學PIC

使用 可變電阻調整電壓 3~2 V ,希望轉為 A/D為8 bit 0x00 ~0xFF
因此,利用電阻分壓 3 v 接至 Vref+ , 電阻分壓 2v 接至 Vref- ,但得到的結果不正確,結果只在調整可變電阻 接近 3v時才有數位輸出,是我使用的電阻分壓產生3v,2v的電阻有問題嗎??
謝謝高手們幫忙

發表於: 2004/11/8 23: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... ]

教育訓練中心

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