Re: 兩組RS232
|
||||
---|---|---|---|---|
高級會員
|
請問一下關於microchip網站上面的AN555 software 他是 for PIC16XX的
,檔案下載來裡面有DVMCOMM.& CDVM.C這兩個檔案,我把它丟進去 MPLAB 8.X 進行 Build 打算 try try 看,可是它跟我說少了 windows.h 這個函數庫 ~ 請問要去哪裡找呀 ?
發表於: 2008/8/20 11:26
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
高級會員
|
請問救世主大大 Basic Stemp 是什麼 ? 是一顆 IC 嗎 ?
發表於: 2008/8/18 10:22
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
高級會員
|
我的版本沒有 "dvm.h" 這個函數庫耶,哪邊可以找到他
發表於: 2008/8/15 15:14
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
資深會員
|
參照:
可以使用Basic Stemp.... Stemp用的也是PIC晶片,但使用上很簡單。不想花時間在規劃上就用這個。
發表於: 2006/3/26 18:52
|
|||
不要問我哪裡來,我只是個流浪天涯的工程師
|
||||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
版主
|
Software UART 的設計在網站上就有了 : AN555
http://www.microchip.com/stellent/idc ... &nodeId=1490&filterID=396 自己寫也可以,發的部份直接用軟體計算BPS 直接發送或BPS交由 Timer 中斷計算。接收部分需利用RB0(INT0)的中斷,利用 Start bit 來啟動INT0中斷後將Timer中斷打開9 次將UART 訊號依序接收進來。
發表於: 2006/3/26 11:28
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
新會員
|
請問如何使用I/O+Timer來做,是否有範例程式?資料接收是否穩定? 謝謝!
發表於: 2006/3/24 9:41
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
版主
|
PIC16F628A 只有 18-pin 且俱有硬體 UART的功能,高速的UART 用硬體做,低速的用I/O + Timer的中斷簡單就可以到19200bps,這就有兩組UART 的 solution 了。
發表於: 2006/3/23 17:39
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
新會員
|
MAX3100的確不便宜,使用這一顆IC還不如選用一顆腳位較少且便宜,卻擁有SPI與UART功能的PIC microcontroller(如PIC16F87),不知是否可行?
發表於: 2006/3/22 8:28
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
新會員
|
感謝各位高手的回答,雖然我要使用兩組RS232,但是I/O使用的卻不多,使用64pin或80pin的chip似乎太浪費了,不知是否有比較簡單的方法?
發表於: 2006/3/22 7:57
|
|||
|
Re: 兩組RS232
|
||||
---|---|---|---|---|
版主
|
查一下 Product Selector Guide 找64-pin的PIC18Fxxxx系列就有了,如果用PIC18FxxJxx 新的系列那就更便宜了。
http://www.microchip.com/stellent/idc ... e=SS_GET_PAGE&nodeId=1924 2006 Product Selector Guide : http://www.microchip.com/stellent/idc ... e=SS_GET_PAGE&nodeId=1924
發表於: 2006/3/21 22:56
|
|||
|