网学网为广大网友收集整理了,单片机的打印机的驱动设计,希望对大家有所帮助!
字数:12861.页数:31 论文编号:JD351
[摘 要]:本单片机应用系统名为流动注射仪控制器。系统由数据采集部分,主机电路部分,人机通信部分和控制输出部分四部分组成。数据采集部分主要是从模拟信号源中采集信号并将之转换为数字信号送计算机处理。主机电路主要是将单片机与扩展芯片正确地连接起来,从而完成单片机存储器和I/O口的扩展,组成一个智能部件。人机通信部件主要是实现简单的人机对话,单片机可通过人机通信部件接收各种命令和数据,并且给出运算和处理的结果,同时也可以通过人机通信部件实时地了解整个单片机的工作情况。人机通信部件主要有键盘、显示器、打印机等。控制输出部分主要是实现对控制对象的驱动。我所主要研究的是人机通信部件的打印机这一部分,主要研究如何由单片机通过8155可编程接口芯片驱动打印机打印字符和图形等。
关键词:数据采集 人机通信 主机电路 控制输出
Abstract: This SCM application system is named “controller of flow injection”. The system is made up of four parts: one is data acquisition, others are main engine circuit, human-machine communication, output controller. Data acquisition is to invert analogy signal to digital signal, and then send it to the computer. Main engine circuit is to connect SCM with all kinds of extended chips correctly, then the memory and I/O extension are completed, all the connected components make the intelligence and ability part. Human-machine communication is to achieve the aim of communication between human and machine, the SCM can receive all kinds of orders and datas through the human-machine interface and can give the results of calculating and operating. In addition, we can know all the working conditions of SCM by the communication part. These parts are keyboard, indicator, printer etc. Output controller is to drive the controlled object. My task is to drive the printer to print characters and graphics with 8155 by SCM.
Key words: data acquisition main engine circuit human-machine communication
output controller
目录
第一章 绪 论 3
第二章 单片机应用系统 5
2.1 单片机应用系统概述 5
2.2 应用系统实例 7
2.2.1 数据采集 7
2.2.2 主机电路 8
2.2.4 后向通道 11
第三章 单片机的I/O扩展 13
第四章 打印机 19
4.1 打印机概述 19
4.1.1 打印机的分类 19
4.1.2 打印机的技术指标 19
4.2 PP-40打印机 20
4.2.1 打印原理 20
4.2.2 PP-40接口信号 21
4.2.3 PP-40操作方式 21
第五章 PP-40与单片机的接口 26
致 谢 30
参考文献 31