电子科技大学现代电子系统综合实验小车工程文件代码

上传者: DR_Allen | 上传时间: 2024-11-05 13:11:06 | 文件大小: 162KB | 文件类型: ZIP
(1)小车开机运行程序,在8位数码管的最右边3位显示小车定位距离,初始值为12.5(单位:cm)并启动超声波测距,将距离值显示在最左边4位(xxx.x cm) ; (2)利用按键设置定位距离,“+”按键每次增加0.5cm,上限为15.0cm; “-”按键每次减少0.5cm,下限为10.0cm;当按下该按键时,蜂鸣器响0.1秒(按键提示音)。 (3)设定好定位距离的小车放置在障碍物1米以外的位置。利用光敏遥控启动小车,同时启动“秒表计时器” 作为小车运行时间计时,并在数码管最右边3位显示时间(要求定时中断实现);尽量保持小车直线前进,要求小车速度至少有两个速度档位,距离障碍物越近,速度越慢。小车第一次进入定位距离范围内,停止计时,要求该时间不大于3.2秒,并记录小车运行时间。 (4)小车运行过程中,数码管上始终实时显示运行时间和小车到障碍物的距离; (5)小车在距离障碍物为定位距离±0.5cm范围内停止行驶,通过速度调节和前进后退等方式使小车精确定位在目标范围,若小车位于(定位距离-0.5cm)以内 ,则声光报警,即用一个发光二极管指示灯闪烁,点亮0.1s,熄灭0.3s;用蜂鸣器响0.1

文件下载

资源详情

[{"title":"( 38 个子文件 162KB ) 电子科技大学现代电子系统综合实验小车工程文件代码","children":[{"title":"工程作业","children":[{"title":"ranging.uvopt <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"工程作业","children":[{"title":"ranging.uvopt <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"ranging.uvgui.QHTF <span style='color:#111;'> 83.29KB </span>","children":null,"spread":false},{"title":"PCF8591.h <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"Objects","children":[{"title":"ranging.build_log.htm <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"ranging.lnp <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"ranging <span style='color:#111;'> 24.32KB </span>","children":null,"spread":false},{"title":"PCF8591.obj <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"main_ranging.obj <span style='color:#111;'> 20.69KB </span>","children":null,"spread":false},{"title":"ranging.hex <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"PCF89C51.c <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"main_ranging.lst <span style='color:#111;'> 26.34KB </span>","children":null,"spread":false},{"title":"PCF8591.lst <span style='color:#111;'> 9.37KB </span>","children":null,"spread":false},{"title":"ranging.m51 <span style='color:#111;'> 35.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"ranging.uvgui.Dell <span style='color:#111;'> 83.20KB </span>","children":null,"spread":false},{"title":"PCF89C51.h <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"PCF8591.c <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"ranging.uvgui.Administrator <span style='color:#111;'> 177.40KB </span>","children":null,"spread":false},{"title":"ranging.uvproj <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false},{"title":"main_ranging.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"ranging.uvgui.QHTF <span style='color:#111;'> 83.29KB </span>","children":null,"spread":false},{"title":"PCF8591.h <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"Objects","children":[{"title":"ranging.build_log.htm <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"ranging.lnp <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"ranging <span style='color:#111;'> 24.32KB </span>","children":null,"spread":false},{"title":"PCF8591.obj <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"main_ranging.obj <span style='color:#111;'> 20.69KB </span>","children":null,"spread":false},{"title":"ranging.hex <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"PCF89C51.c <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"main_ranging.lst <span style='color:#111;'> 26.34KB </span>","children":null,"spread":false},{"title":"PCF8591.lst <span style='color:#111;'> 9.37KB </span>","children":null,"spread":false},{"title":"ranging.m51 <span style='color:#111;'> 35.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"ranging.uvgui.Dell <span style='color:#111;'> 83.21KB </span>","children":null,"spread":false},{"title":"PCF89C51.h <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"PCF8591.c <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"ranging.uvgui.Administrator <span style='color:#111;'> 177.40KB </span>","children":null,"spread":false},{"title":"ranging.uvproj <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false},{"title":"main_ranging.c <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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