線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:7560
推到 Plurk!
推到 Facebook!

8051 以io模擬rs232接收

缺席
boss.tw
高階會員


發表:15
回覆:109
積分:194
註冊:2005-05-17

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-05-17 14:32:57 IP:202.39.xxx.xxx 未訂閱
各位大大好 小弟有一問題請教 關於 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

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-05-17 18:36:04 IP:203.67.xxx.xxx 未訂閱
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

發送簡訊給我
#3 引用回覆 回覆 發表時間:2005-05-17 19:10:17 IP:211.21.xxx.xxx 未訂閱
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

發送簡訊給我
#4 引用回覆 回覆 發表時間:2005-05-18 00:04:25 IP:219.84.xxx.xxx 未訂閱
mymj 版主 我也須要此232的程式 emial: skype_chen@yahoo.com.tw
boss.tw
高階會員


發表:15
回覆:109
積分:194
註冊:2005-05-17

發送簡訊給我
#5 引用回覆 回覆 發表時間:2005-05-18 13:20:26 IP:202.39.xxx.xxx 未訂閱
不好意思這麼晚回
請問mymj 版主rs232程式
是什麼程式
編輯記錄
boss.tw 重新編輯於 2010-01-12 21:37:22, 註解 無‧
jchuangjchuang
一般會員


發表:4
回覆:10
積分:2
註冊:2007-01-10

發送簡訊給我
#6 引用回覆 回覆 發表時間:2007-01-29 16:25:15 IP:211.21.xxx.xxx 訂閱
Deal all:
請問是否有c code的 I/O port 來模擬UR的呢?
Jan 29,2007,
jchaungjchuang.
xander1979520
一般會員


發表:0
回覆:3
積分:0
註冊:2007-01-30

發送簡訊給我
#7 引用回覆 回覆 發表時間:2007-01-30 14:30:00 IP:203.75.xxx.xxx 訂閱
------
aaa
xander1979520
一般會員


發表:0
回覆:3
積分:0
註冊:2007-01-30

發送簡訊給我
#8 引用回覆 回覆 發表時間:2007-01-30 14:37:14 IP:203.75.xxx.xxx 訂閱
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

發送簡訊給我
#9 引用回覆 回覆 發表時間:2008-03-22 03:19:26 IP:220.133.xxx.xxx 訂閱
1. 找有2個 uart 的 8051
2.8051 另一顆 AT89C2051
8051 透過 SPI 叫 AT89C2051 用它的 UART 對外

系統時間:2024-05-13 13:14:19
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!