单片机课程设计报告
项目名称专业班级学生姓名指导教师
基于单片机的抢答器设计
通信111班
2013年12 月28日
####
######
通信###班, ## 基于单片机的抢答器设计
摘 要
此次设计提出了用STC89C52单片机为核心控制元件,设计一个简易的抢答器, 本方案以STC89C52单片机作为主控核心,发光二极管、数码管、蜂鸣器等构成四路抢答器,利用了单片机的按键复位电路、时钟电路、定时/中断等电路,设计的抢答器具有实时显示抢答选手的号码的特点,还有复位电路,使其再开始新的一轮的答题和比赛,同时还利用C语言编程,使其实现一些基本的功能。矚慫润厲钐瘗睞枥庑赖。 本设计的系统实用性强、判断精确、操作简单、扩展功能强。它的功能实现是比赛开始,主持人读完题之后按下总开关,此时数码管显示初始状态0,直到有一个选手抢答时,对应的会在数码管上显示出该选手的编号,同时发光二极管出现闪烁状态,蜂鸣器也会发出声音,以提示有人抢答本题,主持人按下复位键,示意可以答题。聞創沟燴鐺險爱氇谴净。 关键字:STC89C52单片机;动态显示;中断;按键控制
通信###班, ## 基于单片机的抢答器设计
Abstract
This design use STC89C52as the core control element is presented to design a simple responder, this scheme is STC89C52 single chip microcomputer as control core, light-emitting diode, digital tube, buzzer and so on four road vies to answer first device, using the single chip microcomputer button reset circuit, clock circuit, timing/interrupt circuit, design of vies to answer first appliance has the characteristic of real-time display vies to answer first contestant's number, and reset circuit, to start a new round of the answer and, at the same time also use of C language programming, make it implements some basic functionality. 残骛楼諍锩瀨濟溆塹籟。 The design of the system is practical, accurate judgment, simple operation, strong extended functionality. Its function realization is the match began, and the host to read the topic after press the main switch, the digital tube display initial condition 0, until there is a contestant vies to answer first, the corresponding in the contestant's serial number is shown on the digital tube, light-emitting diodes, flicker status at the same time, the buzzer will sound, to remind someone vies to answer first ontology, host press the reset button, the signal can be the answer. 酽锕极額閉镇桧猪訣锥。 Keywords: STC89C52 microcomputer; Dynamic display; Interrupt; The key control彈贸摄尔霁毙攬砖卤庑。 I