⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 txd4.htm

📁 51单片机模拟串口
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>串口扩展</title>
</head>

<body>

<p align="center"><font face="黑体" size="6" color="#0000FF"><b>如何将51系列单片机的一个串口扩展为四个串口</b></font></p>
<hr size="7" color="#800000">
<p align="center">&nbsp;&nbsp;&nbsp; <img border="0" src="TXD4.BMP" width="357" height="249"></p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"><b>工作原理如下:</b></p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">当P1.1=0,P1.0=0时,Y0=0(打开U1:A),Y1=Y2=Y3=1(关闭U1:B,U1:C,U1:D),TXD信号在TXD1端复现.</p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">当P1.1=0,P1.0=1时,Y1=0(打开U1:B),Y0=Y2=Y3=1(关闭U1:A,U1:C,U1:D),TXD信号在TXD2端复现.</p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">当P1.1=1,P1.0=0时,Y2=0(打开U1:C),Y1=Y0=Y3=1(关闭U1:B,U1:A,U1:D),TXD信号在TXD3端复现.</p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">当P1.1=1,P1.0=1时,Y3=0(打开U1:D),Y1=Y2=Y0=1(关闭U1:B,U1:C,U1:A),TXD信号在TXD4端复现.</p>     
<hr>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"><b><blink>用此方法可将51系列单片机的一个串行输出接口扩展为四个串行输出接口</blink></b></p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">特点:</p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">1)成本低廉的串口输出接口扩展电路.</p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">2)可由软件选择与某一设备通信,并可以使用不同的波特率.</p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0">3)缺点时是四个串口不能同时使用.</p>     
<hr>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"><b>以上电路仅供参考.</b></p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>     
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"><b>北京金创业科技开发中心</b></p>    
<p align="left" style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>   
  
</body>  
  
</html>  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -