China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 21:42
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » How to program to control the RS232 serial port under MS-DOS, detailed information and source code DigestI View 14,726 Replies 19
Original Poster Posted 2007-09-12 15:56 ·  中国 四川 德阳 电信
初级用户
Credits 147
Posts 13
Joined 2005-03-25 00:00
21-year member
UID 37426
Gender Male
Status Offline
Floor 2 Posted 2007-09-29 21:39 ·  中国 江苏 南京 电信
新手上路
Credits 4
Posts 2
Joined 2007-09-29 21:02
18-year member
UID 98591
Gender Female
Status Offline
Recently I'm working on RS232 stuff. Got it, thanks.
Floor 3 Posted 2008-01-20 20:20 ·  中国 陕西 西安 电信
新手上路
Credits 6
Posts 3
Joined 2007-01-14 00:55
19-year member
UID 76432
Gender Male
Status Offline
Floor 4 Posted 2008-08-28 23:15 ·  中国 湖南 长沙 联通
新手上路
Credits 4
Posts 2
Joined 2008-08-28 22:48
17-year member
UID 124435
Gender Female
Status Offline
Thanks, thank you so much. I'm a newbie, he he
Floor 5 Posted 2008-09-22 18:18 ·  中国 陕西 西安 电信
初级用户
Credits 31
Posts 13
Joined 2007-09-09 15:29
18-year member
UID 96938
Gender Male
Status Offline
Not bad, not bad. Take it home and study it.
Floor 6 Posted 2008-09-24 13:20 ·  中国 广东 深圳 电信
初级用户
★★
Credits 138
Posts 67
Joined 2007-07-04 10:11
19-year member
UID 93093
Gender Female
From 云南
Status Offline
Good!

[ Last edited by windowsvesta on 2008-9-24 at 01:22 PM ]
Floor 7 Posted 2008-12-10 08:42 ·  中国 黑龙江 哈尔滨 联通
初级用户
Credits 24
Posts 13
Joined 2008-01-07 16:13
18-year member
UID 107910
Gender Male
Status Offline
Great, very practical, thank you.
Floor 8 Posted 2008-12-28 13:12 ·  中国 陕西 西安 电信
新手上路
Credits 8
Posts 4
Joined 2008-12-27 13:25
17-year member
UID 135068
Gender Male
Status Offline
Expert, learned something from this.
Floor 9 Posted 2008-12-28 19:27 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
19-year member
UID 94024
Gender Male
Status Offline
The difficulty in designing the communication between PC and single-chip microcomputer lies not in the PC side but in the single-chip microcomputer side. The current loop method is not very good in practice (especially when the PC is designed to work in interrupt mode instead of polling mode). But if the traditional 232 interface is used, the power supply requirement of ±12 volts is obviously difficult to meet, so it is usually appropriate to use a 232 IC with a boost module (such as MAX232) for the interface.

***PS: Nowadays, as serial ports are facing elimination, developing towards USB is a trend***

[ Last edited by netwinxp on 2008-12-28 at 19:29 ]
Floor 10 Posted 2008-12-29 19:50 ·  中国 广东 江门 电信
中级用户
★★
Credits 256
Posts 124
Joined 2007-12-18 16:41
18-year member
UID 106049
Gender Male
Status Offline
I once did something about a single - chip microcomputer connected to a PC via USB, but unfortunately, the data is no longer reliable when it exceeds 5 meters. While for RS232, I once tried about 180 meters, and the communication was still okay.
Floor 11 Posted 2009-01-15 23:50 ·  中国 香港 电讯盈科有限公司
初级用户
Credits 24
Posts 10
Joined 2009-01-12 00:26
17-year member
UID 136433
Gender Male
Status Offline
Floor 12 Posted 2009-01-23 00:49 ·  中国 江西 南昌 电信
中级用户
★★
Credits 486
Posts 171
Joined 2006-02-12 13:53
20-year member
UID 50233
Status Offline
Nice
Those who do not study the past are condemned to repeat it
Floor 13 Posted 2009-02-10 14:50 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 10
Posts 4
Joined 2009-02-04 15:07
17-year member
UID 138011
Gender Male
Status Offline
It's very practical. No wonder there was no response when communicating with devices under DOS. It turns out that without using the interrupt mode, it can only reach 9200.
Floor 14 Posted 2009-04-17 01:45 ·  中国 山东 泰安 联通
新手上路
Credits 4
Posts 2
Joined 2009-04-07 23:44
17-year member
UID 142375
Gender Male
Status Offline
Good stuff, make a mark, check later
Floor 15 Posted 2009-07-08 02:05 ·  中国 广东 广州 海珠区 电信
新手上路
Credits 14
Posts 7
Joined 2009-07-04 23:41
17-year member
UID 148731
Gender Male
Status Offline
Thanks, thank you so much, I'm a newbie
Forum Jump: