八路竞赛抢答器设计及制作.docx

八路竞赛抢答器设计及制作 八路竞赛抢答器设计及制作 / 20 / 20 ?单片机原理及应用 课程设计报告 八路竞赛抢答器的设计与制作1110618019 八路竞赛抢答器的设计与制作 1110618019 刘文青 TOC \o 1-5 \h \z 题 目 专 业 年 级 学 号 学生姓名 通信工程 2011 级 联系电话 指导老师 完成日期:2014年5月25日 摘要 随着科学技术的发展和普及,各种各样的竞赛越来越多,其中抢答器的作 用也越来越虫要。本设计是以STC89C52单片机为核心的八路抢答器,以抢答为 出发点,釆用了数字显示器直接指示,自动锁存显示结果,并自动复位的设计 思想,它能根据不同的抢答输入信号,经过単片机的控制处理并产生不同的与输 入信号相对应的输出信号,最后通过LED数码管显示相应的路数,充分利用了 单片机系统结构简单、功能强大、可靠性好、实用性强的特点。 关键词:单片机:抢答器:LED数码管 ABSTRACT With the development and popularization of science and technology, all kinds of competition is increasing, the role of the buzzer is becoming more and more important. This design is based on STC89C52 single-chip microcomputer as the core of eight-way responder, vies to answer first as a starting point, the digital display direct instructions, automatic latch display results, and the idea of the design of the automatic reset it can according to different vies to answer first the input signal, through single chip microcomputer control processing and generate different corresponding to the input signal is output signals, finally through the LED digital tube display the corresponding way, make full use of the single chip microcomputer system structure is simple, powerful functions, the characteristics of good reliability and strong practicability. Key Words: single-chip microcomputer;eight-way responder;LED digital tube 八路竞赛抢答器设计及制作 八路竞赛抢答器设计及制作 PAGE PAGE # / 20 目录 摘要 ABSTRACT 1设计要求及方案选择 0 1.1设计要求 0 1.2方案选择 0 2理论分析与设计 2 2.1总体电路的分析及设计 2 2. 2 STC89C52RC单片机的介绍 2 2.4复位电路的分析及设计 4 2.5显示电路的分析及设计 4 2.6报警电路的分析及设计 4 2.6时钟电路的分析及设计 5 3电路设计 6 3.1硬件电路的设计 6 3.2软件的设计 7 4系统测试 8 4.1调试所用的基本仪器清单 8 4.2 调试结果 9 4.3测试结果分析 9 5总结 9 参考文献 10 附录一元件清单 11 附录二 八路抢答器PCB原理图 12 附录三 八路抢答器C程序 13 八路竞赛抢答器设计及制作 八路竞赛抢答器设计及制作 PAGE PAGE # / 20 八路竞赛抢答器设计及制作 八路竞赛抢答器设计及制作 PAGE PAGE # / 20 1设计要求及方案选择 1.1设计要求 (1) 抢答器同时供8名选手或8个代表队比赛,分别用8个按钮S0-S7 表示。 (2) 设置一个系统清除和抢答控制开关S,该开关由主持人控制。 (3) 抢答器具有定时抢答功能,且一次抢答的时间由主持人设定(如30 秒)。当主持人启动“开始”键后,定时器进行减计时,同时扬声器发出短暫的 声响,声响持续的时间0.5秒左右。 (4) 参赛选手在设定的时间内

文档评论(0)

1亿VIP精品文档

相关文档