基于串行口的数据传输实验程序(含Proteus仿真)

上传者: s1174670658 | 上传时间: 2024-05-10 22:54:41 | 文件大小: 109KB | 文件类型: ZIP
实验内容:基于单片机的数据传输系统中,有甲、乙两个单片机,利用串口进行数据传输。 1、甲机:根据需要随时检测系统中3个开关的状态并进行显示,开关闭合,对应的指示灯LED点亮;开关断开,对应的指示灯LED灭。利用外中断0实现随时检测开关状态。将开关状态传送至乙机。 (1)利用外中断1启动/停止发送数据。 (2)定时1s发送一次数据。 2、乙机:收到甲机传送过来的开关状态,利用3位发光二极管进行显示,开关闭合,对应的指示灯LED点亮;开关断开,对应的指示灯LED灭。 当3个开关都闭合时,数码管显示On; 其他情况时,显示OF。

文件下载

资源详情

[{"title":"( 32 个子文件 109KB ) 基于串行口的数据传输实验程序(含Proteus仿真)","children":[{"title":"基于串行口的数据传输实验程序","children":[{"title":"甲","children":[{"title":"甲.uvopt <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"甲.c <span style='color:#111;'> 743B </span>","children":null,"spread":false},{"title":"甲.uvproj <span style='color:#111;'> 14.10KB </span>","children":null,"spread":false},{"title":"Objects","children":[{"title":"甲.build_log.htm <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"甲.lnp <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"甲.hex <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"甲 <span style='color:#111;'> 4.82KB </span>","children":null,"spread":false},{"title":"STARTUP.obj <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"甲.obj <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"STARTUP.A51 <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"甲.uvgui.戴尔 <span style='color:#111;'> 88.86KB </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"甲.m51 <span style='color:#111;'> 7.57KB </span>","children":null,"spread":false},{"title":"STARTUP.lst <span style='color:#111;'> 13.82KB </span>","children":null,"spread":false},{"title":"甲.lst <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"乙","children":[{"title":"乙.uvopt <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"Objects","children":[{"title":"乙.lnp <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"乙.obj <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"乙 <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"STARTUP.obj <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"乙.build_log.htm <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"乙.hex <span style='color:#111;'> 957B </span>","children":null,"spread":false}],"spread":true},{"title":"乙.uvproj <span style='color:#111;'> 14.10KB </span>","children":null,"spread":false},{"title":"乙.c <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":"STARTUP.A51 <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"乙.lst <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"乙.m51 <span style='color:#111;'> 6.90KB </span>","children":null,"spread":false},{"title":"STARTUP.lst <span style='color:#111;'> 13.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"乙.uvgui.戴尔 <span style='color:#111;'> 88.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"仿真","children":[{"title":"新工程.pdsprj <span style='color:#111;'> 19.27KB </span>","children":null,"spread":false},{"title":"Last Loaded 新工程.pdsbak <span style='color:#111;'> 19.19KB </span>","children":null,"spread":false},{"title":"Backup Of 新工程.pdsbak <span style='color:#111;'> 10.31KB </span>","children":null,"spread":false},{"title":"新工程.pdsprj.DESKTOP-MO4104M.戴尔.workspace <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明