设计(论文)专用纸1昆明理工大学毕业论文基于单片机的排队叫号系统设计姓名:学号:指导老师:设计(论文)专用纸2毕业设计(论文)任务书应用技术学院院电子信息工程专业2008级学生姓名:毕业设计(论文)题目:基于单片机的排队叫号系统设计毕业设计(论文)内容:本课题是以单片机为主控器设计排队叫号系统,具体要求如下:1、可以通过按键取号,并在LCD上显示排队的号码以及当前等待的人数;2、通过按键叫号,在LCD上显示被叫号码,并通过扬声器发声提示客户;课题包含硬件设计和软件设计两大部分,其中硬件部分要完成原理电路图的设计及制作,确定整个系统所用元器件的参数或型号规格,给出元器件明细表;软件部分包括的单片机程序设计,最后完成整机的调试运行,并做出模型进行演示。毕业设计(论文)指导教师(签字):主管教学院(部)长(签字):年月日设计(论文)专用纸1基于单片机的排队叫号系统设计学校:昆明理工大学学院:应用技术学院专业:电子信息工程级别:2008级学号:学生姓名:指导教师单位:应用技术学院指导教师姓名:指导教师职称:讲师设计(论文)专用纸2QueueNo.CallingSystemDesignBasedonSCMSchool:KunmingUniversityofscienceandtechnologyFaculty:FacultyofAppliedTechnologySpeciality:ElectronicandInformationEngineeringGrade:2008StudentID:200811513220Author:YinRongXueOrganizationofdirectingteacher:FacultyofAppliedTechnologyDirector:DuLiXiaProfessionaltitleofdirector:Lecture设计(论文)专用纸1目录目录................................................................................................................1摘要................................................................................................................1Abstract..........................................................................................................2正文........................................................................................................................4一、总体方案设计................................................................................................4二、系统硬件电路设计........................................................................................5单片机介绍:........................................................................................51、单元电路设计..................................................................................61.0、单片机电路...................................................................................61.0.0、最小系统电路图:....................................................................61.0.1、单片机工作指示电路................................................................71.1、按键检测:...................................................................................81.1.0、按键检测原理:........................................................................81.1.1、按键检测电路图:....................................................................81.2、单片机通信:...............................................................................91.2.0、单片机和单片机通信................................................................91.2.1、单片机与语音模块通信............................................................91.3、LCD显示电路............................................................................101.3.0、LCD1602引脚介绍.................................................................101.3.1、LCD1602指令介绍.................................................................11设计(论文)专用纸21.3.2、LCD电路接线图.....................................................................121.4、语音模块驱动电路.....................................................................131.4.0、语音模块介绍..........................................................................131.4.1、功能结构图..............................................................................141.4.2、引脚定义..................................................................................151.4.3、编程指令..................................................................................151.4.4、SX6228A电路图.....................................................................16三、系统软件设计....................................................................................181、按键检测部分程序........................................................................182、LCD显示部分程序.......................................................................193、单片机通信部分程序....................................................................233.0、双机通信.....................................................................................233.1、单片机对SX6228A通信...........................................................24四、调试过程............................................................................................26设计(论文)专用纸1摘要随着电子技术的发展,由于各行各业的信息化、智能化建设越来越普及,整个社会对各个行业的办事效率的要求也越来越高。从进门开始就要求井序有然,排队成了最好的解决方法。此设计是基于单片机设计的排队叫号系统,主要是采用按键控制取号、按键叫号、LCD显示并播报语音。其中设计通过两块单片机实现,一块作为客户机供客户按键取号,一块作为服务机供服务人员按键叫号,两块机子间采用串口通信实现数据通讯,服务机并兼有语音播报号码功能,语音播报采用集成SX6288A中文语音合成模块,显示采用LCD1602A。关键词:单片机串口通信语音模块LCD设计(论文)专用纸2AbstractWiththedevelopmentofelectronictechnology,becausepeoplefromallwalksoflifeisbecomingmoreandmorepopularandintelligenceinformationconstruction,thewholesocietytovariousindustriestohandleaffairstheefficiencyrequirementsmoreandmoreisalsohigh.Fromthedoorbegantorequirewellsequencehavehowever.Queuingbecamethebestsolution.Thisdesignisbasedonsinglechipcomputerdesignofqueuingsystem,mainlyisthekeycontroltakenumber,buttonyourturn,LCDdisplayandthespeech.Thedesignthroughtwopiecesofsinglechipmicrocomputer,oneasaclientforcustomerstotakenumberkeys,apieceofasaservicetothemachineforservicepersonnelbuttonyourturn,serialcommunicationbeusedtorealizationdatacommunicationbetweenoftwopiecesofmachine,servicemachineandwithspeechbroadcastnumberfunction.VoicebroadcastisintegrationSX6288AChinesespeechsy