中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 00:49
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » How to program to control the RS232 serial port under MS-DOS, detailed information and source code
Printable Version  15,435 / 19
Floor1 BA_WANG_MAO Posted 2007-09-12 15:56
初级用户 Posts 13 Credits 147
Floor2 dustyair Posted 2007-09-29 21:39
新手上路 Posts 2 Credits 4
Recently I'm working on RS232 stuff. Got it, thanks.
Floor3 DLOVER Posted 2008-01-20 20:20
新手上路 Posts 3 Credits 6
Floor4 cmangel Posted 2008-08-28 23:15
新手上路 Posts 2 Credits 4
Thanks, thank you so much. I'm a newbie, he he
Floor5 qunce Posted 2008-09-22 18:18
初级用户 Posts 13 Credits 31
Not bad, not bad. Take it home and study it.
Floor6 windowsvesta Posted 2008-09-24 13:20
初级用户 Posts 67 Credits 138 From 云南
Good!

[ Last edited by windowsvesta on 2008-9-24 at 01:22 PM ]
Floor7 586486 Posted 2008-12-10 08:42
初级用户 Posts 13 Credits 24
Great, very practical, thank you.
Floor8 lvoids Posted 2008-12-28 13:12
新手上路 Posts 4 Credits 8
Expert, learned something from this.
Floor9 netwinxp Posted 2008-12-28 19:27
高级用户 Posts 366 Credits 741
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 ]
Floor10 Sufone Posted 2008-12-29 19:50
中级用户 Posts 124 Credits 256
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.
Floor11 kevin0175 Posted 2009-01-15 23:50
初级用户 Posts 10 Credits 24
Floor12 henrya2 Posted 2009-01-23 00:49
中级用户 Posts 171 Credits 486
Nice
Floor13 njxst1982 Posted 2009-02-10 14:50
新手上路 Posts 4 Credits 10
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.
Floor14 cnvlen Posted 2009-04-17 01:45
新手上路 Posts 2 Credits 4
Good stuff, make a mark, check later
Floor15 influx Posted 2009-07-08 02:05
新手上路 Posts 7 Credits 14
Thanks, thank you so much, I'm a newbie
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023