六路抢答器实训总结.docx
文本预览下载声明
六路抢答器实训总结
篇一:XX年6位抢答器单片机实训报告 电气工程及自动化学院 单片机原理及应用 实训报告 题目:学院: 班级: 姓名: 学号:专 业:指导老师:xxxxxxxxxx 日期: 摘要 随着科学技术的发展和普及,单片机的应用越来越广泛,其中抢答器的作用也越来 越重要。本组设计 出以单片机为核心的六路抢答器,采用了液晶与数码管结合显示,声 光报警,并手动复 位的设计思想。当主持人按下按键,允许抢答,此时定时器10秒倒 计时,一旦有选手 按键抢答,它能根据不同的抢答输入信号,经过单片机的控制处理并 产生与输入信号相 对应的输出信号,通过lcd1602液晶显示相应的路数,然后蜂鸣器报 警、点亮对应led 灯并等待主持人发出答题信号,其他抢答者即使按下按键也将无效, 主持人再次按键允 许答题后,该抢答者将有10秒时间答题,此时单片机倒计时,直至 倒计时结束,整个 抢答、答题环节结束,充分利用了单片机系统结构简单、功能强大、 可靠性好、实用性 强的特点。 本设计是以抢答为 出发点。考虑到依需设定限时回答的功能,利用51单片机及外 围接口实现的抢答 系统,利用单片机的定时器/计数器定时的原理,将软、硬件有机地 结合起来,使得系 统能够正确地进行计时,同时使数码管能够正确地显示倒计时间。用 开关做键盘输出, 蜂鸣器发生提示。同时系统能够实现:在抢答中,只有按下开始键后 抢答才有效,如果 在开始抢答前抢答为无效;满时后系统计时自动复位及主控强制复位。 关键词:六路定时显示报警 abstract withthedevelopmentofscienceandtechnologyandpopularization,allkinds important.this paperdesignedstc89c52asthecore,withdigitaldisplaydirect instructions, automaticlatchshowedresults,andautomaticresetdesignideas, itcanaccording todifferentcontestinputsignalbymcucontrol,handleand produce differentwiththeinputsignalcorrespondingoutputsignal,finally leddigitalpipe displaybythecorrespondingpoints,evenifthetwogroups ofviesdiffersa fewmicroseconds,alsotimecandistinguishwhichgroupof structureis simple,powerful,goodreliabilityandpracticabilitystrong characte(来自:写论文网:六路抢答器实训总结)ristic. thisdesignisforthestartingpoint.responderconsidering ofperipheral interfaces,scare-answeringsystemofthemicrocontroller timer/counter timingandnumerationprinciple,softwareandhardware organically,and makesthesystemcancorrectlytothetime,atthesametime makingdigital tubecanproperlyshowtime.withaswitchdokeyboardoutput, thespeaker happenshints.andthesystemcanrealize:inthecontest,onlyafter beginningviesto effective,ifatthestartofthecontestfortheinvalid; formercontest fullautomaticresetandclockafterthesystemmastermandatory reset;keylock, ineffectivecondition,buttonsinvalidillegal. keywords:6-wiretimingcountingalarmi
显示全部