首页 课题七 单片机编程软件的使用

课题七 单片机编程软件的使用

举报
开通vip

课题七 单片机编程软件的使用课题七 单片机编程软件的使用 理实一体化课程教师教案(七) ,2012—2013学年 第 一 学期, 专业名称 高级维修电工 课程名称 高级电子单片机 授课教师 李明 郭涛 系 部 电气工程系 唐山劳动技师学院 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Fig...

课题七 单片机编程软件的使用
课题七 单片机编程软件的使用 理实一体化课程教师教案(七) ,2012—2013学年 第 一 学期, 专业名称 高级维修电工 课程名称 高级电子单片机 授课教师 李明 郭涛 系 部 电气 工程 路基工程安全技术交底工程项目施工成本控制工程量增项单年度零星工程技术标正投影法基本原理 系 唐山劳动技师学院 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 理实一体化教案首页 教学高级电子 李明 任课教师 审阅 授课时数 29 模块 单片机 郭涛 章节 单片机开发软件的使用 理论课时 15 课题 教学讲授法 演示法 练习法 启发法 项目教学法 实训课时 14 方法 基本《电子技术基础》 中国劳动社会保障出版社 合计课时 9 教材 授课10高电二 10高电一 班级 授课 时间 1(知识目标:了解KEIL编程软件,G540烧录软件及proteus仿真软件的功能与使用 教学2(能力目标:熟练操作KEIL编程软件,G540烧录软件及proteus仿真软件 目标 3(素质目标:培养学生主动探索、创新精神;增强的安全意识;提高学生的安全常识 知识。 教学重点介绍keil软件的功能与使用,学会keil与proteus的联合调试 分析 1、了解keil软件的功能与使用。 教学2、学会操作G540软件及编程精灵的使用 重点 教学Keil软件的使用 难点 教案该课题内容不是很难理解,一体化教学,需要一个长期的实施过程,要求学生们养成良说明 好的安全意识。理论教学12节,整个教学期间时刻提醒安全 注意事项 软件开发合同注意事项软件销售合同注意事项电梯维保合同注意事项软件销售合同注意事项员工离职注意事项 。 1(组织教学 2(复习旧课 3(引入新课 教学4(讲授新课、模仿练习 1(组织教学 设计 领导形象设计圆作业设计ao工艺污水处理厂设计附属工程施工组织设计清扫机器人结构设计 5(归纳 总结 初级经济法重点总结下载党员个人总结TXt高中句型全总结.doc高中句型全总结.doc理论力学知识点总结pdf 6(布置作业 7(板书设计 课题七 单片机开发软件的使用 【理论讲解】 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 旧课复习: 1、单片机的引脚 2、单片机的内部结构 3、RAM存储器的内部结构 新课引入: Proteus7.0 是目前最好的模拟单片机外围器件的工具,非常不错。可以仿真 51 系列、AVR,PIC 等常用的 MCU 及其外围电路(如LCD,RAM,ROM,键盘,马达,LED,AD/DA,部分SPI器件,部分IIC 器件等等),虽然有那么多优点和长处,但还是与实际情况有不少的差别。如果条件允许,还是买一块单片机开发板或自己做一个单片机应用系统,实实在在的学习和体会一下,仿真毕竟还是仿真,不能代替实际操作,许多实际问题是在仿真中碰不到的。当然,条件不允许,我们可以采用仿真,达到学习的目的。 正课内容: 一、 proteus的使用 1. 软件打开 双击桌面上的ISIS 7 Professional图标或者单击屏幕左下方的“开始”?“程序”?“Proteus 7 Professional” ?“ISIS 7 Professional”,出现如图1-1所示界面,随后就进入了Proteus ISIS集成环境。 2. 工作界面 Proteus ISIS的工作界面是一种标准的Windows界面,如图1-2所示。包括:标题栏、主菜单、标准工具栏、绘图工具栏、状态栏、对象选择按钮、预览对象方位控制按钮、仿真进程控制按钮、预览窗口、对象选择器窗口、图形编辑窗口。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图1-2 Proteus ISIS的工作界面 关于该软件的使用,与学习其他软件的方法没有多大区别,当然我们也不 是每个功能都使用,没必要逐一介绍,再说下面有例子,呵呵,相信自己的能 力吧。 3. 跑马灯实例设计 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图1-3 跑马灯实例 ?将所需元器件加入到对象选择器窗口。Picking Components into the Schematic 单击对象选择器按钮,如图1-4所示 图1-4 添加元器件 弹出“Pick Devices”页面,在“Keywords”输入AT89C,系统在对象库中进行搜索查 找,并将搜索结果显示在“Results”中,如图1-5所示。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre -5 搜索查找元器件 图1 在“Results”栏中的列 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf 项中,双击“AT89C52”,则可将“AT89C52”添加至对象选择器窗口。 接着在“Keywords”栏中重新输入LED,如图所示。双击“LED-BLUE”,则可将“LED-BLUE”(LED数码管)添加至对象选择器窗口,使用同样的方法,把10WATT470R电阻添加至对象选择器窗口。 经过以上操作,在对象选择器窗口中,已有了AT89C52、LED-BLUE、10WATT470R三个元器件对象,若单击AT89C52,在预览窗口中,见到AT89C51的实物图,单击其他两个器件,都能浏览到实物图。此时,我们已注意到在绘图工具栏中的元器件按钮处于选中状态。 ?放置元器件至图形编辑窗口Placing Components onto the Schematic 在对象选择器窗口中,选中AT89C52,将鼠标置于图形编辑窗口该对象的欲放位置、单击鼠标左键,该对象被完成放置,如图1-6所示。。同理,将LED-BLUE和10WATT470R放置到图形编辑窗口中。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 若对象位置需要移动,将鼠标移到该对象上,单击鼠标右键,此时我们已经注意到,该对象的颜色已变至红色,表明该对象已被选中,按下鼠标左键,拖动鼠标,将对象移至新位置后,松开鼠标,完成移动操作。 图1-6 放置到图形编辑窗口 ?放置总线至图形编辑窗口 单击绘图工具栏中的总线按钮,使之处于选中状态。将鼠标置于图形编辑窗口,单击鼠标左键,确定总线的起始位置;移动鼠标,屏幕出现粉红色细直线,找到总线的终了位置,单击鼠标左键,再单击鼠标右键,以表示确认并结束画总线操作。此后,粉红色细直线被蓝色的粗直线所替代,如图1-3蓝色线所示。 ?元器件之间的连线Wiring Up Components on the Schematic Proteus的智能化可以在你想要画线的时候进行自动检测。下面,我们来操作将电阻R1的上端连接到D1数码管下端。当鼠标的指针靠近R1上端的连接点时,跟着鼠标的指针就会出现一个“×”号,表明找到了R1的连接点,单击鼠标左键,移动鼠标(不用development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 拖动鼠标),将鼠标的指针靠近D1的下端的连接点时,跟着鼠标的指针就会出现一个“×”号,表明找到了D1的连接点,同时屏幕上出现了粉红色的连接,单击鼠标左键,粉红色的连接线变成了深绿色,那么,就完成了本次连线。 Proteus具有线路自动路径功能(简称WAR),当选中两个连接点后,WAR将选择一个合适的路径连线。WAR可通过使用标准工具栏里的“WAR”命令按钮来关闭或打开,也可以在菜单栏的“Tools”下找到这个图标。 同理,我们可以完成其它连线。在此过程的任何时刻,都可以按ESC键或者单击鼠标的右键来放弃画线。 ?元器件与总线连接 单击绘图工具栏中的导线标签按钮,使之处于选中状态。将鼠标置于图形编辑窗口的元件的一端,移动鼠标,然后连接到总线上,在接着移动鼠标到元件与总线连接线上的某一点,将会出现一个“×”号,如图所示。 图1-7 元器件与总线的连接 表明找到了可以标注的导线,单击鼠标左键,弹出编辑导线标签窗口,如图1-8所示。 在“string”栏中,输入标签名称(如P2.7),单击“OK”按钮,结束对该导线的标签标定。同理,可以标注其它导线的标签,完成连线之后如图1-3所示。注意,在标定导线标签的过程中,相互接通的导线必须标注相同的标签名。我们知道,具有相同的标号,电气是连接的,这一点在protel绘制原理图时,体现得尤为明显。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图1-8 导线标签窗口 至此,我们便完成了整个电路图的绘制。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 二(Keil C51 的使用 1. 软件的打开 双击桌面上的Keil uVision2 图标或者单击屏幕左下方的“开始”?“程序”?“Keil uVision2”,出现如图2-1所示界面,随后就进入了Keil uVision2 集成环境。 2. 工作界面 Keil uVision2的工作界面是一种标准的Windows界面,如图2-2所示,包括:标题栏、主菜单、标准工具栏、代码窗口等,如图2-2所示。 图2-2 工作界面 关于该软件的使用,与学习其他软件的方法没有多大区别,当然我们也不是每个功能都使用,没必要逐一介绍,下面举一个例子说明使用就行了,如果想详细了解,请搜索其详细使用资料。 【实操训练】 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 跑马灯实例程序设计 ?建立一个新工程 单击Project菜单,在弹出的下拉菜单中选中New Project选项,如图2-3所示。 图2-3 选择建立工程菜单 ?确定之后选择你要保存的路径,输入工程文件的名字,比如保存到“跑马灯”目录 里,工程文件的名字为“跑马灯”如下图2-4所示,然后点击保存。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图2-4 创建工程 ?随后会弹出一个对话框,要求你选择单片机的型号,你可以根据你使用的单片机来选择,KeilC51几乎支持所有的52核的单片机,由于Proteus选用AT89C52原理图,那么选择AT89C52之后,右边栏是对这个单片机的基本的说明,然后点击确定即可,如图2-5所示。 图2-5 选择单片机的型号 ?)完成上一步骤后,工程到此就已经创建起来了,其屏幕如下图2-6所示。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图2-6 已创建好的工程 ?工程虽然已经创建好,即已经建立好了一个工程来管理跑马灯这样一个 项目,但我们还没写一行程序,因此还需要建立相应的C文件或汇编文件。下 面我们就来新建一个C文件,新建之后并保存,如图2-7所示。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图2-7 新建C文件并保存 ?添加文件到工程 把刚才新建的led.c添加到工程来,其方法如图2-8所示,添加后的界面 如图2-9所示 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图2-8 添加文件到工程菜单 图2-9 添加完成后的界面 ?打开led.c文件,输入C代码,完成之后如图2-10所示 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图2-10 输入源代码 ?单击“Project”菜单,再在下拉菜单中单击“” 在下图中,单击“Output”中单击“Create HEX File” 选项,使程序编译后产生HEX代码,以便在Proteus里加载可执行代码,并单击“Target”选项,更改晶振频率(本例使用12M晶振),其如图2-11所示。 图2-11 修改晶振频率 到此,设置工作已完成,下面我们将编译、链接、转换成可执行文件(.HEX的文件)。 ?编译、链接、生成可执行文件 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图2-12 编译、链接、生成可执行文件图标 依次单击上述图2-12所示图标,如果没有语法错误,将会生成可执行文件,即本例可执行文件为“跑马灯.hex”。 三( Proteus和Keil的联调 1. 假若Keil C51与Proteus均已正确安装在D:\Program Files的目录里,把D:\Program Files\Labcenter Electronics\Proteus 7 Professional\MODELS\VDM51.dll复制到D:\Program Files\keilC\C51\BIN目录中,如果没有“VDM51.dll”文件,那么去网上下载一个。 Program Files\keilC\C51\TOOLS.INI文件,在[C51]2. 用记事本打开D:\ 栏目下加入: TDRV5=BIN\VDM51.DLL ("Proteus VSM Monitor-51 Driver") 其中“TDRV5”中的“5”要根据实际情况写,不要和原来的重复即可。 (步骤1和2只需在初次使用设置。) 3. 需要设置KeilC的选项 单击“Project菜单/Options for Target”选项或者点击工具栏的“option for ta rget”按钮,弹出窗口,点击“Debug”按钮,出现如图3-1所示页面。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图3-1 Keil uVision2 选项设置 在出现的对话框里在右栏上部的下拉菜单里选中“Proteus VSM Monitor一51 Driver”。并且还要点击一下“Use”前面表明选中的小圆点。 再点击“Setting”按钮,设置通信接口,在“Host”后面添上“127.0.0.1”,如果使用的不是同一台电脑,则需要在这里添上另一台电脑的IP地址(另一台电脑也应安装Proteus)。在“Port”后面添加“8000”。设置好的情形如图所示,然后点击“OK”按钮。最后将工程编译,进入调试状态,并运行。设置完之后,请重新编译、链接、生成可执行文件。 4(Proteus的设置 进入Proteus的ISIS,鼠标左键点击菜单“Debug”, 选中“use romote debuger monitor”, 如图3-2所示。此后,便可实现KeilC与Proteus连接调试。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图3-2 选项设置 5(Proteus里加载可执行文件 左键双击AT89C52原理图,将弹出如下图3-3,点击加载可执行文件“跑 马灯.HEX” 图3-3 选择加载可执行文件 6、KeilC与Proteus连接仿真调试 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 单击仿真运行开始按钮,我们能清楚地观察到每一个引脚的电频变化, 红色代表高电频,蓝色代表低电频。其运行情况如图3-4所示。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre 图3-4 仿真运行效果 六、归纳总结 本次课题以计算机软件的实际操作为主,在进行理论知识授课时,使用多媒体投影仪进 行演示,实际操作环节在机房授课,增加学生自己动手练习的机会。 development in order to protect a host of attractions and historical sites, as well as to maintain the economic vitality of the downtown area. Figure 5.1-5 figure 5.1.4 Washington mass transit network to support implementation of effective transport demand management policies to reduce urban traffic congestion and public transport priority was in the early 1960 of the 20th century by the planners first proposed in Paris, France, and in Europe and other major cities to operate has been the formation of the rich content system. Public transport priority consists of two aspects: one is on the bus to help. ... 5.1-7 Park and ride systems 5.1.5 typical case Hong Kong-Japan Sapporo, Sapporo is a Japan Hokkaido central parts of cities, Japan's fifth largest city. Area of 1121km2 in the city, a population of 1.921 million. In addition is the administrative center of Hokkaido, Sapporo is Hokkaido's industrial and commercial center, in 1972, hosted the 11th Winter Olympic Games. 3 JR Sapporo rail transit line 3 metro and 3 tram lines, Sapporo in the urban development process combined with Center of construction of subway construction and residential development, and support the development of the region. Prior to 1971, Sapporo, Japan Hokkaido local Centre in the urban development process, in response to the rapid growth of the city centre traffic demand, building trams. 1981 years ago for holding the winter Olympic Games as an opportunity to start building connected to the venue and the city centre
本文档为【课题七 单片机编程软件的使用】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_005190
暂无简介~
格式:doc
大小:520KB
软件:Word
页数:0
分类:生活休闲
上传时间:2017-09-01
浏览量:24