教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 文库大全 > 教学研究 >

微型热敏打印机使用说明strp

来源:网络收集 时间:2026-07-25
导读: 南京邮电大学 毕 业 设 计(论 文) 题 目 专 业 学生姓名 班级学号 指导教师 指导单位 日期: 基于Cortex M3的微型热敏打印机控制电路设计与实现 电气工程及其自动化 李前洋 B080504 B08050425 张腾飞 南京邮电大学自动化学院 年 03月 14日至 2012年 06月 0

南京邮电大学

毕 业 设 计(论 文)

题 目

专 业

学生姓名

班级学号 指导教师

指导单位

日期:

基于Cortex M3的微型热敏打印机控制电路设计与实现 电气工程及其自动化 李前洋 B080504 B08050425 张腾飞 南京邮电大学自动化学院 年 03月 14日至 2012年 06月 05日 2012

毕业设计(论文)原创性声明

本人郑重声明:所提交的毕业设计(论文),是本人在导师指导下,独立进行研究工作所取得的成果。除文中已注明引用的内容外,本毕业设计(论文)不包含任何其他个人或集体已经发表或撰写过的作品成果。对本研究做出过重要贡献的个人和集体,均已在文中以明确方式标明并表示了谢意。

论文作者签名:

日期: 年 月 日

摘 要

微型热敏打印机在现代生活中应用得越来越广泛、深入,随着用户需求的多样化,市场上出现了各式各样的专用微型打印机,但由于其种类繁多,针对性太强,各个厂商之间的产品互不兼容,造成了一定的资源浪费。

笔者为微型热敏打印机开发了一套完整的控制电路,编写具有专门数据接口的上位机来控制嵌入式芯片进而控制微型热敏打印机打印数据,使得相关人员在二次开发时可以专注于应用开发。本文详细地介绍了基于Cortex-M3的微型热敏打印机控制电路的设计与实现、上位机的编写、多线程技术的应用等,同时也给出了开发STM32F103系列最小系统板的具体过程,以及开发过程中的注意点等,此外作者也给出了自己在实际开发中掌握的一些技巧及开发经验。

关键词:热敏打印机;嵌入式系统;STM32;PCB设计;http://www.77cn.com.cn

ABSTRACT

Miniature thermal printer applications is more extensive in modern life, in-depth, with the persification of user’s needs, a wide variety of special micro-printer comes out in the market, but because of its wide range of targeted too, all the products are not compatible between manufacturers, resulting in a waste of resources.

I have developed for the miniature thermal printer with a complete set of control circuit, to write with a special data interface, the host computer to control the embedded chip and then control the miniature thermal printer, print data, and enables staff can focus on application development in the secondary development . This article described in detail based on the Cortex-M3-miniature thermal printer control circuit design and implementation of the host computer to write multi-threaded application, minimum system board in the development of STM32F103 series is also given specific process, as well as development attention to points in the process, in addition to the author also gives the master in the actual development of skills and development experience.

Key words:Miniature Thermal Printer;Embedded Operating System;STM32;

PCB Design;http://www.77cn.com.cn

目 录

第一章 绪论................................................................................................................... 1

1.1 课题背景.......................................................................................................... 1

1.2 嵌入式的定义.................................................................................................. 1

1.3 嵌入式的发展历史.......................................................................................... 2

1.4 嵌入式系统的应用领域.................................................................................. 4

1.5 本文结构安排.................................................................................................. 5

第二章 总体方案设计................................................................................................... 6

2.1 STM32单片机简介 ........................................................................................ 6

2.2 热敏打印机介绍.............................................................................................. 9

2.2.2 热敏打印机常规驱动控制方式......................................................... 10

2.3 系统功能及结构............................................................................................ 12

2.4 总体方案设计................................................................................................ 13

2.4.1 上位机编写软件选择......................................................................... 13

2.4.2 主控芯片选择..................................................................................... 13

2.5 本章小结........................................................................................................ 14

第三章 硬件单元设计................................................................................................. 15

3.1 最小系统板的设计........................................................................................ 15

3.1.1 最小系统板开发软件介绍................................................................. 15

3.1.2 最小系统板硬件设计......................................................................... 17

3.2 电源模块的设计............................................................................................ 20

3.3 控制电路的设计............................................................................................ 21

3.4 本章小结........................................................................................................ 22

第四章通信协议............................................................................................................. 23

4.1 RS-232串口通信协议 .................................................................................. 23

4.2 打印机控制命令............................................................................................ 24

4.3 本章小结........................................................................................................ 26

第五章 软件单元设计................................................................................................. 27

5.1 开发工具介绍......... …… 此处隐藏:13004字,全部文档内容请下载后查看。喜欢就下载吧 ……

微型热敏打印机使用说明strp.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wenku/1568142.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)