8051 以io模擬rs232接收 |
缺席
|
boss.tw
高階會員 發表:15 回覆:109 積分:194 註冊:2005-05-17 發送簡訊給我 |
各位大大好
小弟有一問題請教
關於 8051 一組rs232 以用掉
如果要以 io port來替代 rs232 動作,要如何來模擬?
我知道華邦77系列有雙UART晶片連到這
http://www.winbond.com/e-winbondhtm/partner/b_2_f_2.htm
http://delphi.ktop.com.tw/topic.php?topic_id=70235
但是實際上小弟有三組的需要,所以還是要用rs232模擬
且小弟要連接的目標為 gsm 模組
不知哪位大大能幫幫小弟,感謝
|
mymj
版主 發表:132 回覆:486 積分:608 註冊:2002-10-25 發送簡訊給我 |
1.mail 給我,我寄軟體rs232程式給你
2.利用max3100通訊晶片擴充通訊界面
The MAX3100 universal asynchronous receiver transmitter (UART) is the first UART specifically optimized for small microcontroller-based systems. Using an SPI™/Microwire™ interface for communication with the host microcontroller (µC), the MAX3100 comes in a compact 16-pin QSOP. The asynchronous I/O is suitable for use in RS-232, RS-485, IR, and opto-isolated data links. IR-link communication is easy with the MAX3100's infrared data association (IrDA) timing mode
|
阿信
版主 發表:111 回覆:983 積分:813 註冊:2005-03-10 發送簡訊給我 |
8051模擬RS-232有幾種不同的理論及實現方法
以下的先參考參考 89C51單片机I/O口模擬串行通信
軟件模擬串口RS232
http://www.emouze.com/download.htm Software Implementation of Asynchronous Serial I/O
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1490&filterID=396 -------------------
美好的事物 稍縱即逝
|
skype_chen1
一般會員 發表:4 回覆:11 積分:8 註冊:2004-12-21 發送簡訊給我 |
|
boss.tw
高階會員 發表:15 回覆:109 積分:194 註冊:2005-05-17 發送簡訊給我 |
|
jchuangjchuang
一般會員 發表:4 回覆:10 積分:2 註冊:2007-01-10 發送簡訊給我 |
|
xander1979520
一般會員 發表:0 回覆:3 積分:0 註冊:2007-01-30 發送簡訊給我 |
|
xander1979520
一般會員 發表:0 回覆:3 積分:0 註冊:2007-01-30 發送簡訊給我 |
Helo ~~ 您好 :
因為學校需要....我也用了 Max3100 這科 IC ...但我不知道 handshacking 的 code 怎麼寫 ,可以請叫您怎麼寫嘛 ?..我的程式是 8051 base 的 c 程式 , spi_setup , spi_Write , spi_write 的 function 都寫好了 , 現在碰到的問題是 Handshacking 的方式我不懂 , 電路圖那個 irq pin 到底要怎麼用 ?...... 而且 hardware 的板子 layout 好ㄌ 但電容好像對 , 造成它ㄉ振盪器動不起來 , 我用 1.8432Mhz , 及兩顆 22pf 的電容 , 這樣用有錯嘛 ?....麻煩您給我一些指教及建議 ===================引 用 文 章=================== 1.mail 給我,我寄軟體rs232程式給你 2.利用max3100通訊晶片擴充通訊界面 The MAX3100 universal asynchronous receiver transmitter (UART) is the first UART specifically optimized for small microcontroller-based systems. Using an SPI"/Microwire" interface for communication with the host microcontroller (?C), the MAX3100 comes in a compact 16-pin QSOP. The asynchronous I/O is suitable for use in RS-232, RS-485, IR, and opto-isolated data links. IR-link communication is easy with the MAX3100's infrared data association (IrDA) timing mode
------
aaa |
jevoswang
一般會員 發表:0 回覆:2 積分:5 註冊:2007-10-17 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |