《微机原理》课程设计报告
时 间 2013.12 _ 学 院 自动化 _ 专业班级 _ 姓 名 ___ 学 号 合 作 者 _ 指导教师 ___ 成 绩 _______
北京科技大学自动化学院微机原理课程设计
摘 要
8086是Intel公司设计生产的CPU,是计算机发展史上的里程碑。通过学习8086CPU的工作原理,可以帮助我们理解计算机的工作原理。实践动手能力是电子信息类应用型人才必须具备的基本素质。本次微机原理课程设计,通过设计一个热电偶温度检测器,并将测量得到的数据显示到LCD屏幕上。其中使用到8086,ADC0809,8255,8279,经过一周的练习,锻炼了我们的编写程序能力,逻辑分析能力,解决问题的能力,查找文献的能力。
关键词:8086 热电偶 ADC0809
Abstract
8086 is A CPU designed by Intel and a milestone in the history of the development of the computer. Studying the working principle of 8086 CPU can help us understand the working principle of the computer. Practice ability is basic qualities of students who majored in electronic and information. The microcomputer principle course ,we designed a thermocouple temperature detector and displayed the measured data on the LCD screen. It used 8086, ADC0809, 8255827.After a week of practice, we promote our ability to write programs, logic analysis ability and problem solving skills and the ability of searching reference. Key Words:8086 thermocouple ADC0809
- 1 -
北京科技大学自动化学院微机原理课程设计
目 录
摘 要 .................................................................................................................................. 1 Abstract ..................................................................................................................................... 1 引 言 .................................................................................................................................. 1 K型热电偶传感器实验 ......................................................................................................... 2 1 实验内容 .............................................................................................................................. 2 2 实验设备 .............................................................................................................................. 2 3 实验设计原理 ...................................................................................................................... 2
3.1 热电偶原理 ............................................................................................................... 2 3.2 AD转换电路 ............................................................................................................. 3 4 设计思路 .............................................................................................................................. 4
4.1 AD转换采集数据 ..................................................................................................... 4 4.2 数据显示到数码管上 ............................................................................................... 4 4.3 数据显示到LCD上 ................................................................................................. 5 4.4 报警 ............................................................................................................................ 5 4.5 显示柱形图 ............................................................................................................... 5 5 程序流程 .............................................................................................................................. 6
5.1 主程序流程图 ........................................................................................................... 6 5.2 LCD显示程序流程图 ............................................................................................... 7 5.3 数码管显示子程序流程图 ...................................................................................... 8 5.4 报警子程序流程图 ................................................................................................... 8 5.5 柱形图显示程序流程图........................................................................................... 9
- 1 -