05设计说明书.doc

基于安卓和单片机的LED显示控制系统的设计说明书论文

收藏

压缩包内文档预览:(预览前20页/共34页)
预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图
编号:10247951    类型:共享资源    大小:21.26MB    格式:ZIP    上传时间:2018-06-28 上传人:小*** IP属地:福建
50
积分
关 键 词:
基于 以及 单片机 led 显示 控制系统 设计 说明书 仿单 论文
资源描述:
基于安卓和单片机的LED显示控制系统的设计说明书论文,基于,以及,单片机,led,显示,控制系统,设计,说明书,仿单,论文
内容简介:
毕 业 设 计(论 文)开 题 报 告设计(论文)题目: 基于安卓和单片机的 LED 显示控制系统的设计 学生姓名: 任炜杰 学 号: 1404401011 专 业: 机械设计制造及其自动化 所在学院: 机电工程学院 指导教师: 刘祥建 职 称: 副教授 年 月 日 开题报告填写要求1开题报告(含“文献综述”)作为毕业设计(论文)答辩委员会对学生答辩资格审查的依据材料之一。此报告应在指导教师指导下,由学生在毕业设计(论文)工作前期内完成,经指导教师签署意见及所在专业审查后生效;2开题报告内容必须用黑墨水笔工整书写或按教务处统一设计的电子文档标准格式打印,禁止打印在其它纸上后剪贴,完成后应及时交给指导教师签署意见;3“文献综述”应按论文的框架成文,并直接书写(或打印)在本开题报告第一栏目内,学生写文献综述的参考文献应不少于 15 篇(不包括辞典、手册);4有关年月日等日期的填写,应当按照国标 GB/T 740894数据元和交换格式、信息交换、日期和时间表示法规定的要求,一律用阿拉伯数字书写。如“2004年 4 月 26 日”或“2004-04-26”。5、开题报告(文献综述)字体请按宋体、小四号书写,行间距 1.5 倍。毕 业 设 计(论文) 开 题 报 告 1结合毕业设计(论文)课题情况,根据所查阅的文献资料,每人撰写不少于1000 字左右的文献综述: 一、前言 LED 全称为“Light emitting diode” ,是一种信息发布的重要载体。因其具有亮度高、功耗小、易于集成、驱动简单等很多显著优点,被广泛应用于医院、金融系统、运输部门等社会各个领域。LED 显示屏发展较快,其无论在成本和生产的社会效益等方面都有其独特的优势。本文初步介绍了有关单片机的基本结构和指令系统以及 LED 的发光原理和特点,重点阐述了单片机的程序设计方法与 LED 点阵原理,设计了一个由 80C51 单片机控制的 88 LED 点阵显示,可滚动显示“XINGTAI UNIVERSITY”字样,并利用 Proteus 软件进行仿真。二、研究意义如今随着科技进步和技术的开发,单片机应用系统的程序均是借助微型计算机来完成,使之更加的智能化,精确化。本论文首先介绍了单片机的特点和发展历史,然后简单介绍了 80C51 系列单片机的基本结构以及LED 的发光原理和特点,着重地阐述了单片机的程序设计方法与 LED 点阵显示系统的工作原理,运用 C 语言来编写源程序,并且利用 Proteus 仿真软件进行仿真,设计出了一个基于 80C51 单片机的 88 LED 点阵显示屏,可以实现“XINGTAI UNIVERSITY”字样的滚动显示。通过本次论文设计,不仅巩固了我的专业知识,而且使我对单片机、LED 及 C 语言等有了更深一层次的理解,但这只是基本的 LED 点阵应用,以后还需要学习通过 88 LED 点阵进行扩展,如大屏幕显示技术等等。经过本次设计使我对大学所学知识有了更为深刻的理解,使我真正体会到了理论与实践相结合的意义,让我能够讲书本所学的知识运用的实际的生活中。三、研究现状 单片机技术发展十分迅速,产品种类琳琅满目。我们纵观整个单片机技术发展过程,可简述为: 1971 英特尔公司开发的世界上第一个 4 位微处理器;英特尔霍夫成功研制出世界上第一个 4 位微处理器芯片的英特尔 4004,标志着第一代微处理器和微机时代开始。由于微处理器的发明,有英国经济学家杂志的一个“最有影响力的第二次世界大战以来的七个科学家” 。 1971 年 11 月,英特尔推出了监控-4 微机系统(包括 4001 的 ROM芯片,4002 的内存芯片,4003 个移位寄存器芯片和单片机 4004)4004 含有2300 个晶体管,尺寸 34mm 的计算性能远超过一年的,最初售价为 200 美元。1972 年 4 月,开发的第一个 8 位微处理器英特尔 8008。由于 8008 是一个 P 沟道 MOS 微处理器,因此仍属于第一代微处理器。 1973 英特尔公司开发的一个8 位微处理器 8080;1973 年 8 月,Hough 等人,开发了一个 8 位微处理器英特尔 8080,取代 P 沟道 MOS 电路,第二代微处理器就此诞生了。 8080 芯片的时钟速度比 8008 在 2MHz 运行速度的 10 倍,使用 64KB 内存,使用 6000 个晶体管的基础上,6 微米技术,处理速度 0.64mips(百万条指令每秒) 。 1975 年 4 月,MITS Altair 8800 发布了第一个通用,售价为 375 美元,与 1KB 的记忆。这是世界上第一个微型计算机。 1976 年 Intel 公司研制出了 MCS-48 系列 8 位的单片机,这也是单片机的问世。 1976 年开发出 Z80 微处理器,广泛应用于微型计算机和工业自动控制设备。当时,Zilog、Motorola 和 Intel 三家公司在微处理器的领域三足鼎立。 20 世纪 80 年代初,英特尔公司在 MCS-48 系列单片机的基础上,推出了 MCS-51 系列 8 位高档单片机。MCS-51 系列的单片机无论是片内的 RAM 容量,I/O 口功能,系统扩展的方面都有了大的提高4。 四、研究内容 1.掌握单片机工作原理、软/硬件资源 2.掌握中文液晶显示屏的结构及工作原理 3.完成系统硬件设计 4.完成系统软件设计 参考文献: 1 李维諟、郭强等, 液晶显示应用手册, 电子工业出版社, 北京,2002 2 刘永智、杨开愚等, 液晶显示技术,电子科技大学出版社,成都,2000 3 郭强,液晶显示应用技术,电子工业出版社,北京,2000 4 范志新,液晶器件工艺基础,北京邮电大学出版社,北京,2000 5 施善定等,液晶与显示应用,华东化工学院出版社,上海,1993 6 李宏、张家田等,液晶显示器件应用技术,机械工业出版社,北京,2004 7 赵秀珍、单永磊,单片微型计算机原理及其应用,中国水力出版社,北京,2001 8 杨光友、朱宏辉,单片微型计算机原理及接口技术,中国水利水电出版社,北京,2002 9 苏伟斌,8051 系列单片机应用手册,科学出版社,北京,1997 10 胡汉才,单片机原理及其接口技术,清华大学出版社,北京,1999 11 王承发 刘岩,微机接口技术,高等教育出版社,北京,1996 12 耿长清,单片机应用技术,化学工业出版社,北京,1996 13 徐爱卿等,单片微型计算机及其应用,北京航空学院出版社,北京,1986 14 余永权,FLASH 单片机原理及应用,电子工业出版社,北京,1997 15 江世明.基于 Proteus 的单片机应用技术M.北京:电子工业出版社,2009 毕 业 设 计(论文) 开 题 报 告 2本课题要研究或解决的问题和拟采用的研究手段(途径): 本课题要研究或解决的问题和拟采用的研究手段(途径): 1. 本课题要研究或解决的问题 (1)整体电路的设计 (2)硬件部分的设计跟配合 (3)软件部分的调试跟编写 (4)仿真设计 (5)电路板的设计跟印刷 2. 研究方法、途径和步骤(1)研究方法和途径 1)查阅资料,翻译英文资料认真研究获得的有关单片机和与 LED 有关的专著、学术期刊和学位论文,从中间获取当代单片机的前沿资料和先进技术,并且借鉴其设计方法,用于自己的设计当中;对于英文文献资料应该对其进行翻译,结合课题,对其进行利用。 2)熟练掌握设计所需的内容复习以前所学设计有关的专业知识,并熟练的运用到设计中去。还要学习一些设计中所用到的其它方面的知识,如:利用 Proteus 进行二维图的绘制和利用 Proteus VSM 仿真等软件进行单片机控制并了解 led 显示特性等。 (2)设计步骤 1.单片机控制板电路设计要求 2.单片机控制板原理框图及功能 3.单片机对非编码键盘接口设计 4.单片机对液晶显示器的控制 5.液晶显示系统软件设计 6.液晶显示软件流程图 7.硬件调试分析 8.试验调试 毕 业 设 计(论文) 开 题 报 告 指导教师意见:1对“文献综述”的评语:文献综述部分内容较完整,能够结合课题对该领域研究现状进行较好的了解,排版格式需进一步规范。2对本课题的深度、广度及工作量的意见和对设计(论文)结果的预测:本课题工作量适中,涉及本专业主要课程内容,能较好锻炼学生的综合设计能力。学生能够较好的理解课题要研究或解决的问题,拟采用的研究方法和研究步骤较合理。3.是否同意开题: 同意 不同意指导教师: 2016 年 03 月 09 日所在专业审查意见:同意 负责人: 2016 年 03 月 09 日毕 业 设 计(论 文)开 题 报 告设计(论文)题目: 基于安卓和单片机的 LED 显示控制系统的设计 学生姓名: 任炜杰 学 号: 1404401011 专 业: 机械设计制造及其自动化 所在学院: 机电工程学院 指导教师: 刘祥建 职 称: 副教授 年 月 日 开题报告填写要求1开题报告(含“文献综述”)作为毕业设计(论文)答辩委员会对学生答辩资格审查的依据材料之一。此报告应在指导教师指导下,由学生在毕业设计(论文)工作前期内完成,经指导教师签署意见及所在专业审查后生效;2开题报告内容必须用黑墨水笔工整书写或按教务处统一设计的电子文档标准格式打印,禁止打印在其它纸上后剪贴,完成后应及时交给指导教师签署意见;3“文献综述”应按论文的框架成文,并直接书写(或打印)在本开题报告第一栏目内,学生写文献综述的参考文献应不少于 15 篇(不包括辞典、手册);4有关年月日等日期的填写,应当按照国标 GB/T 740894数据元和交换格式、信息交换、日期和时间表示法规定的要求,一律用阿拉伯数字书写。如“2004年 4 月 26 日”或“2004-04-26”。5、开题报告(文献综述)字体请按宋体、小四号书写,行间距 1.5 倍。毕 业 设 计(论文) 开 题 报 告 1结合毕业设计(论文)课题情况,根据所查阅的文献资料,每人撰写不少于1000 字左右的文献综述: 一、前言 LED 全称为“Light emitting diode” ,是一种信息发布的重要载体。因其具有亮度高、功耗小、易于集成、驱动简单等很多显著优点,被广泛应用于医院、金融系统、运输部门等社会各个领域。LED 显示屏发展较快,其无论在成本和生产的社会效益等方面都有其独特的优势。本文初步介绍了有关单片机的基本结构和指令系统以及 LED 的发光原理和特点,重点阐述了单片机的程序设计方法与 LED 点阵原理,设计了一个由 80C51 单片机控制的 88 LED 点阵显示,可滚动显示“XINGTAI UNIVERSITY”字样,并利用 Proteus 软件进行仿真。二、研究意义如今随着科技进步和技术的开发,单片机应用系统的程序均是借助微型计算机来完成,使之更加的智能化,精确化。本论文首先介绍了单片机的特点和发展历史,然后简单介绍了 80C51 系列单片机的基本结构以及LED 的发光原理和特点,着重地阐述了单片机的程序设计方法与 LED 点阵显示系统的工作原理,运用 C 语言来编写源程序,并且利用 Proteus 仿真软件进行仿真,设计出了一个基于 80C51 单片机的 88 LED 点阵显示屏,可以实现“XINGTAI UNIVERSITY”字样的滚动显示。通过本次论文设计,不仅巩固了我的专业知识,而且使我对单片机、LED 及 C 语言等有了更深一层次的理解,但这只是基本的 LED 点阵应用,以后还需要学习通过 88 LED 点阵进行扩展,如大屏幕显示技术等等。经过本次设计使我对大学所学知识有了更为深刻的理解,使我真正体会到了理论与实践相结合的意义,让我能够讲书本所学的知识运用的实际的生活中。三、研究现状 单片机技术发展十分迅速,产品种类琳琅满目。我们纵观整个单片机技术发展过程,可简述为: 1971 英特尔公司开发的世界上第一个 4 位微处理器;英特尔霍夫成功研制出世界上第一个 4 位微处理器芯片的英特尔 4004,标志着第一代微处理器和微机时代开始。由于微处理器的发明,有英国经济学家杂志的一个“最有影响力的第二次世界大战以来的七个科学家” 。 1971 年 11 月,英特尔推出了监控-4 微机系统(包括 4001 的 ROM芯片,4002 的内存芯片,4003 个移位寄存器芯片和单片机 4004)4004 含有2300 个晶体管,尺寸 34mm 的计算性能远超过一年的,最初售价为 200 美元。1972 年 4 月,开发的第一个 8 位微处理器英特尔 8008。由于 8008 是一个 P 沟道 MOS 微处理器,因此仍属于第一代微处理器。 1973 英特尔公司开发的一个8 位微处理器 8080;1973 年 8 月,Hough 等人,开发了一个 8 位微处理器英特尔 8080,取代 P 沟道 MOS 电路,第二代微处理器就此诞生了。 8080 芯片的时钟速度比 8008 在 2MHz 运行速度的 10 倍,使用 64KB 内存,使用 6000 个晶体管的基础上,6 微米技术,处理速度 0.64mips(百万条指令每秒) 。 1975 年 4 月,MITS Altair 8800 发布了第一个通用,售价为 375 美元,与 1KB 的记忆。这是世界上第一个微型计算机。 1976 年 Intel 公司研制出了 MCS-48 系列 8 位的单片机,这也是单片机的问世。 1976 年开发出 Z80 微处理器,广泛应用于微型计算机和工业自动控制设备。当时,Zilog、Motorola 和 Intel 三家公司在微处理器的领域三足鼎立。 20 世纪 80 年代初,英特尔公司在 MCS-48 系列单片机的基础上,推出了 MCS-51 系列 8 位高档单片机。MCS-51 系列的单片机无论是片内的 RAM 容量,I/O 口功能,系统扩展的方面都有了大的提高4。 四、研究内容 1.掌握单片机工作原理、软/硬件资源 2.掌握中文液晶显示屏的结构及工作原理 3.完成系统硬件设计 4.完成系统软件设计 参考文献: 1 李维諟、郭强等, 液晶显示应用手册, 电子工业出版社, 北京,2002 2 刘永智、杨开愚等, 液晶显示技术,电子科技大学出版社,成都,2000 3 郭强,液晶显示应用技术,电子工业出版社,北京,2000 4 范志新,液晶器件工艺基础,北京邮电大学出版社,北京,2000 5 施善定等,液晶与显示应用,华东化工学院出版社,上海,1993 6 李宏、张家田等,液晶显示器件应用技术,机械工业出版社,北京,2004 7 赵秀珍、单永磊,单片微型计算机原理及其应用,中国水力出版社,北京,2001 8 杨光友、朱宏辉,单片微型计算机原理及接口技术,中国水利水电出版社,北京,2002 9 苏伟斌,8051 系列单片机应用手册,科学出版社,北京,1997 10 胡汉才,单片机原理及其接口技术,清华大学出版社,北京,1999 11 王承发 刘岩,微机接口技术,高等教育出版社,北京,1996 12 耿长清,单片机应用技术,化学工业出版社,北京,1996 13 徐爱卿等,单片微型计算机及其应用,北京航空学院出版社,北京,1986 14 余永权,FLASH 单片机原理及应用,电子工业出版社,北京,1997 15 江世明.基于 Proteus 的单片机应用技术M.北京:电子工业出版社,2009 毕 业 设 计(论文) 开 题 报 告 2本课题要研究或解决的问题和拟采用的研究手段(途径): 本课题要研究或解决的问题和拟采用的研究手段(途径): 1. 本课题要研究或解决的问题 (1)整体电路的设计 (2)硬件部分的设计跟配合 (3)软件部分的调试跟编写 (4)仿真设计 (5)电路板的设计跟印刷 2. 研究方法、途径和步骤(1)研究方法和途径 1)查阅资料,翻译英文资料认真研究获得的有关单片机和与 LED 有关的专著、学术期刊和学位论文,从中间获取当代单片机的前沿资料和先进技术,并且借鉴其设计方法,用于自己的设计当中;对于英文文献资料应该对其进行翻译,结合课题,对其进行利用。 2)熟练掌握设计所需的内容复习以前所学设计有关的专业知识,并熟练的运用到设计中去。还要学习一些设计中所用到的其它方面的知识,如:利用 Proteus 进行二维图的绘制和利用 Proteus VSM 仿真等软件进行单片机控制并了解 led 显示特性等。 (2)设计步骤 1.单片机控制板电路设计要求 2.单片机控制板原理框图及功能 3.单片机对非编码键盘接口设计 4.单片机对液晶显示器的控制 5.液晶显示系统软件设计 6.液晶显示软件流程图 7.硬件调试分析 8.试验调试 毕 业 设 计(论文) 开 题 报 告 指导教师意见:1对“文献综述”的评语:文献综述部分内容较完整,能够结合课题对该领域研究现状进行较好的了解,排版格式需进一步规范。2对本课题的深度、广度及工作量的意见和对设计(论文)结果的预测:本课题工作量适中,涉及本专业主要课程内容,能较好锻炼学生的综合设计能力。学生能够较好的理解课题要研究或解决的问题,拟采用的研究方法和研究步骤较合理。3.是否同意开题: 同意 不同意指导教师: 2016 年 03 月 09 日所在专业审查意见:同意 负责人: 2016 年 03 月 09 日毕 业 设 计(论 文)外 文 参 考 资 料 及 译 文译文题目: 基于 AT89C52 单片机的 LED 显示屏控制系统的设计学生姓名: 任炜杰 学 号: 1404401011 专 业: 机械设计制造及其自动化 所在学院: 机电工程学院 指导教师: 刘祥建 职 称: 副教授 2016 年 3 月 6 日外文原文Design of LED Display Control System Based onAT89C52 Single Chip MicrocomputerInstitute of Machinery, on 5 February 2004Maurice WilkesABSTRACT :THIS paper introduces display design process about hardware and software based on AT89C52 single chip microcomputer. We use a simple external circuit to control the display screen,which size is 32 192. The display screen also can display the size of the six 32 32 dot matrix Chinese characters by a dynamic scan mode, and can be divided into two small display screens, which can display twenty-four Chinese characters whose size is 1616. We can modify the code to change the content of the display, subtitles can achieve scrolling function and the scroll speed can be adjusted according to requirements, subtitles can also achieve pause function. The Chinese character code stored in external data memory, the capacity of data memory is expanded according to the requirements of Chinese characters we want to show. This display screen has advantages of small volume, few hardware and simple circuit structure.KEY WORDS: LED, Chinese Character Display, AT89C52I. INTRODUCTIONLED display has become an important symbol of the city lighting, modernization and information society with continuous improvement and beautification of peoples living environment. LED lights can be seen in the large shopping malls, railway station, docks, underground station, and a variety of management window and so on. LED business has become a fast-growing new industry, a huge market space and bright prospects. The text, pictures, animation and video are displayed by LEDs light, and content can be changed. Some components are the display devices of the modular structure, and which usually consists of a display module, control system and power system. The display module is constituted by the lattice structure which consists of LED, and is responsible for light-emitting display; the screen can display text, pictures, video and so on by control system which can control light or dark of LED in the corresponding region; Power system is responsible for transforming input voltage an d current into voltage and current which the screen needs. LED dot matrix display extracted display character font through PC, and sent to the micro controller, then displayed in the dot matrix screen, which mainly used for display of indoor and outdoor characters. LED dot matrix display can be divided into graphic display, image display and video display by displayed content. Compared with the image display,the characteristics of graphic display is no difference in gray color whether it is monochrome or color display. Therefore, graphic display also fails to reflect the richness of color, and video display can not only show exercise, clear and full-color images but also show television and computer signals. Although there are some differences between the three, but the most basic principles are similar.II. System Overall Structure DesignSingle Chip Microcomputer (SCM) models were selected according to the target, function, reliability, cost, accuracy and speed of the control system. According to the actual situation of the subject, the choice of SCM models mainly considered from the following two aspects: First, SCM has strong anti-interference ability; Second, SCM has a higher cost-effective. Due to MCS-51 is widely used in China, has more information and can compatible with the more peripheral chips too, in particular, ATMEL Corporation, introduced a new generation micro controller in 2003, that is 89S series, and its typical products with high performance and low cost micro controller is AT89C52. AT89C52 is a low voltage, high-performance CMOS 8-bit micro controller, the chip includes 8 KB read-only program memory (PEROM) which erase can be repeated, 256byte random access data memory (RAM), devices adopt high-density nonvolatile memory technology to produce, compatible with the standard MCS-51 instruction set and the 8052 products, while the chip built-in general-purpose 8-bit central processing (CPU). Flash storage unit, can be applied to the more complex control applications.The system was realized by the circuitry which is made up of AT89C52 chip, Clock circuit, reset circuit, column scan driver circuit, line drive circuit and the six 32 32 LED dot matrix, the overall structure of LED characters display is shown in Fig.1. A display unit is composed of dot matrix and two 74HC154. Line data signal is divided into two parts, which is given by the two 8255A respectively, but the 8255A data are from the P0 port the master controller AT89C52. The column scanning signal of each character was given by the two 74HC154, the 74HC154 12 pieces and was divided into six groups. The input signal of 74HC154 was given by the P1.0 P1.3 of AT89C52. External data memory 6264 connected with the AT89C52 the P0 port.III. SYSTEM HARDWARE CIRCUIT DESIGNA .Circuit Design of MCU Control SystemThe size of Chinese characters is 32 32, but micro controller has 32 I/O port, and cant meet design requirements, so the I/O port must expand, the data port expansion was implemented by two 8255A. The data port expansion is shown in Fig.2, 74HC373 is the address latch, and latch low eight address, the low eight address signals of 6264 provided by it, but the high eight address signals of 6264 provided by P2.0 P2.4, Internal port of 8255A was chosen by A0 and A1. 74HC139 is 2-4 decoder, whose input signals are provided by P2.6 and P2.7 of SCM, and provided strobe for the external I / O devices, because the system has more than one external device, make sure that they can not be gated, so that their addresses is the only and do not repeat. The clock circuit of AT89C52 composed of 18, 19feet from the clock side (XTALI and XTAL2), and 12MHz crystal, capacitor C1 and C2.B .The Circuit Design of Display Memory UnitThe size of Chinese characters is 3232 in the design, each character composed of four parts which each part composed of four LED matrix which the size is 8 8, circuit decomposition map of display unit. In addition because the Chinese character for each display needs 128 bytes storagespace, but AT89C52 micro controller chip is only 256 bytes data memory, it is far less than the design requirements, so we the expanded storage space by 8K 8 external data memory 6264.C. The communicate Design of P cInte1 8255A is a universal programmable parallel input/output interface chip. Its function can be set through the software program, and has a strong versatility. It can be directly through the CPU data bus connected to external devices, easy to use and flexible. Inte18255A interface chip has three 8-bit parallel input and output ports, programming methods can be used to set three ports as input ports or output ports. Chips work have the basic input and output, strobe input/output and bi-directional input / output. When the data were transmitted by data bus of CPU, its can choose to unconditionally transfer, query transmission or interrupt transmission. During Inte18255A chip three-port, the port C can be used as not only the data port, but also the control port. When the port C is taken as a data port, it can be used as not only 8-bit data port, but also separately as two 4-bit data port, and each bit of the port C can be operated, can set a particular bit to input or output, so provide convenient conditions for bits control.D. Serial Communication Interface CircuitPC and SCM are linked via a serial communication interface. In order to implement serial communication function between MCU and PC, and serial interface level of SCM will be changed into standard RS-232C level. MCU and PC, taking into account the short distance communication, and micro controller is mainly responsible for receiving commands and data, so the PC is directly connected with the micro controller, this is the simplest connection method. the signals which is from P a c s TXD-side were changed into a current signal through the communication circuit, the infrared light emitting diodes of op to have current when a signal occurs, the light signals which is emitted by diode projected onto the and photo transistor, converted to electric signal, then input to the micro controller RXD side so photoelectric conversion is implemented, and electrical is completely isolated to avoid the feedback and interference which is produced by output side. IV. SOFTWARE DESIGNThe entire software design mainly composes of display program and communication program. The Chinese characters to be displayed on the screen, character and other data for transmission control and display functions were achieved by dynamic scan. Real time communication parts which communicate with PC receive data information by SCM serial disruption, so real-time data information transmission with PC was implemented. The host computer software was implemented by Visual Basic. In the standard serial communication, MSCOMM which is the power communication control is provided by VB, it can set the serial communication of data sent and received, and the serial communication port.Status, message formats and protocols are set, directly send data by Pa c s RS-232/RS-485 serial ports. In order to realized to PC reliable communication with SCM, and ensure that both sides have the same data format and baud rate, this design uses RS-232 communications, a 10 bits data format, 9600bit / s baud rate. Software program composed of the beginning, initialization, display program, front, which the main.Character code stored in the static memory 6264, and the SCM will wait for signal is given, that is, the input signal of SCM pin P3.0. When P3.0 is from low to high, display program begin to be run. First, control words written to 8255A control port, 8255A work in the form of mode 0 in the design. After control word was finished, the data will be displayed which is transferred to the 8255A from the 6264, the display data is output for four times because the line width of the characters screen is 32, a row of data is input and transported from top to bottom each, signal of the first rows which is controlled by SCM is gated after data transmission is over, so the first column data is displayed, then call delay procedures to display the contents of the stable. The next column of data is read after delay procedures is over, and the next row is gated, so that the second column of data is also displayed, and so on, because the serene size is 32 192, 192 row are shown, and 192 rows constitute an image. Then, scanning begin from the first column, and the starting address of display date backward shift on the basis of the original, which has an address overflow issues, it will assign start address to the address pointer when the data address is overflow, the display data content will be constantly repeated. Flow chart of communication with PC and 4 SCM is shown in Figure 10. Real-time communication parts which communicate with PC receive data information by SCM serial disruption, so real-time data information transmission with PC was implemented.CONCLUSIONLED display system that was designed adopted the host computer and slave structure, the host computer is PC, and communicated with slave computer display system through the serial communication interface, which can implement string modification, display mode settings, time setting and other functions; The slave mainly implement display of LED dot matrix display screen. This was controlled by SCM. Chinese character display is 3232 dot matrix model, and to achieve real-time screen display changes, and have to display the current time and date functions. The design of LED dot matrix display control system has a simple circuit, stability, low power consumption, long life, easy to display characteristics, and include the LED display basic principles and procedures. As long as the micro controller I/O interface is expanded, and increase the number of LED dot matrix and related chips, you can design a larger are and more tricks of the LED display. This article has some reference value of theory and practice. As the core control unit of the system, that it AT89C52, has lower frequency, in the future, in order to achieve LED video display in real time, and the display image can be compressed, which will increase the burden on the system. We can take advantage of high-speed DSP as the core control unit, and solve the above mentioned problems.基于 AT89C52 单片机的 LED 显示屏控制系统的设计机械研究所,2004 年 2 月毛里斯威尔克斯摘要:本文介绍了显示器的硬件与软件设计过程基于 AT89C52 单片机。我们用一个简单的外部电路控制显示屏,它的尺寸是 32192。显示器屏幕也可以通过动态扫描方式显示六个 3232 点阵汉字的大小,可分为两个小显示屏,可显示二十四个汉字的大小是 1616。我们可以通过修改代码来改变显示的内容,可以实现滚动字幕的功能和滚动速度可根据需要调节,字幕也可以实现暂停功能。存储在外部数据存储器的汉字编码,数据存储器的容量是根据汉字我们想要显示的扩展。这种显示屏具有体积小,硬件和电路结构简单。关键词:LED,汉字显示,AT89C52 单片机一、引言LED 显示已成为城市照明的一个重要标志,现代化和信息化的经过不断的发展和人民生活环境美化社会。LED 灯可在大型购物商场,看到火车站,码头,地铁站,和一个管理窗口等品种。LED 业务已经成为一个快速增长的新产业,巨大的市场空间和光明的前景。文本,图片,动画和视频是由 LED 发光显示,内容是可以改变的。一些部件的显示设备的模块化结构,它通常是由显示模块,控制系统和电源系统。显示模块是由晶格结构由 LED 构成,并负责发光显示;屏幕可以显示文字,图片,视频等的控制系统能控制光线或黑暗的 LED 在相应的区域;电力系统负责将输入电压和电流转换成电压和电流该屏幕需要。LED点阵显示屏中显示字体通过 PC,并发送到单片机,然后显示在显示屏,主要用于室内和室外的字符显示。LED 点阵显示屏可以分为图形显示,所显示的内容的图像显示和视频显示。以图像显示相比,图形显示的特点是灰色的颜色是黑白或彩色显示没有区别。因此,图形显示也未能反映丰富的色彩,和视频显示不仅可以锻炼,清晰和全彩色图像也显示电视和计算机信号。虽然有三之间的一些差异,但最基本的原理是相似的。二、系统的总体结构设计单片机(SCM)模型,根据目标,功能,可靠性,成本的选择,控制系统的精度和速度。根据课题的实际情况,选择单片机的模型主要考虑从以下两个方面:第一,供应链管理具有较强的抗干扰能力;第二,单片机具有较高的性价比。由于 MCS-51 是广泛应用于中国,有更多的信息并能与更多的外围芯片,特别是兼容的,爱特梅尔公司,推出了新一代的微控制器在 2003,即 89s 系列,具有高性能、低成本的典型产品是以 AT89C52 单片机。单片机是一种低电压,高性能 CMOS 8 位单片机,该芯片包括 8kb 的只读程序存储器(PEROM),可重复擦写,256 字节的随机存取数据存储器(RAM),设备采用高密度非挥发性存储器技术制造,与标准的 MCS-51 指令集和 8052 兼容的产品,而芯片内置的通用 8 位中央处理器(CPU)。快闪存储单元,可以应用于更复杂的控制应用。该系统由电路由单片机 AT89C52 为核心,实现了时钟电路,复位电路,扫描驱动电路的列,行驱动电路和六个 3232 LED 点阵 LED 字符显示,的总体结构如图 1 所示。显示单元组成的点阵和两个 74HC154。线数据信号分为两个部分,这是由两个 8255A 分别给出,但 8255A 的数据是从 P0 口主控制器AT89C52。每个字符的列扫描信号是由两个 74HC154 给定,由 74HC154 12 件,分为六组。的输入信号是由 74HC154 AT89C52 单片机 P1.0 P1
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:基于安卓和单片机的LED显示控制系统的设计说明书论文
链接地址:https://www.renrendoc.com/p-10247951.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!