毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

基于AT89C51单片机智能八路抢答器设计+程序+电路图

时间:2020-07-27 21:34来源:毕业论文
硬件部分有单片机、时钟模块、显示模块、按键以及发声模块。软件部分则是由C语言编写的各功能模块程序。当电路进入就绪状态时,等待抢答。主持人发布抢答命令后,数码管被驱动

摘要:针对传统抢答器存在电路连接复杂、工作性能不稳定的弊端,本系统提出了利用单片机AT89C51采用程序设计的方法,设计出智能八路抢答器。本系统设计分为硬件与软件两部分。硬件部分有单片机、时钟模块、显示模块、按键以及发声模块。软件部分则是由C语言编写的各功能模块程序。当电路进入就绪状态时,等待抢答。主持人发布抢答命令后,数码管被驱动显示倒计时,若有人按下按键,程序将判断是谁按下,然后输出抢答者号码的七段段码值,经单片机驱动,送数码管显示,同时单片机输出低电平驱动蜂鸣器使其鸣响,从而实现抢答功能进入问答环节,单片机驱动数码管显示倒计时,倒计时结束系统复位。52933

经验证,当主持人按下开始键时,抢答倒计时开始,若有选手抢答,主控台显示该抢答者号码并响铃提醒进入回答环节。若在选手回答问题时仍有其他选手抢答,视为无效,比赛继续。选手回答问题完毕后,系统自动复位。

毕业论文关键词:抢答器,AT89C51,计时,报警

Abstract: Aiming at complex circuit connection traditional buzzer, the disadvantages of job performance is not stable, this system puts forward the method of using single-chip computer AT89C51 is used programming, design intelligent eight-way responder. This system is pided into two parts of the hardware and software. Hardware part with single chip microcomputer, clock module, display module, keys and voice module. The software part is written by C language program each module function. When the circuit into the ready state, waiting for vies to answer first. After the host orders issued vies to answer first, the digital tube driven show the countdown, if they press the button, the program will judge who is pressed, then output vies to answer first the number seven paragraphs code values, by single-chip microcomputer drive, digital tube display, and single chip microcomputer output low level drive buzzer ringing, so as to realize vies to answer first function into the question-and-answer session, microcontroller drive digital tube display the countdown, countdown to end the system reset.

Verified, when host press the start button, vies to answer first the countdown, if you have any contestant vies to answer first, master station shows that the vies to answer first person number and rang the bell remind to answer. If the contestant to answer the question when there are other contestant vies to answer first, as null and void and the game continues. After the contestant to answer a question, the system automatically reset.

Key words: Responder, AT89C51, Timing, Alarm circuits

 目录

1 前言.3

2 抢答器的系统概述.3

2.1 设计的主要功能3

2.2 设计的需求分析5

2.3 抢答器的工作流程5

3 单片机的功能简介.5

3.1 51系列单片机的简述5

3.2 AT89C51的简介7

3.2.1 AT89C51的主要特性.7

3.2.2 AT89C51的内部结构.7

4 系统硬件设计.10

4.1硬件电路的设计.10

4.2 硬件设计原理图10

4.3 原理图各模块说明11

4.3.1 时钟模块.11

4.3.2 显示模块.12

4.3.3 按键模块与发声模块.13

4.4 PCB板的生成.15

5 系统软件设计.16

5.1 设计思想16

5.2 软件设计的总流程图16

5.3各模块软件设计流程图.17

6 仿真.24

结论.28

参考文献.29

致谢.30

附录一:源程序.31 

1 前言

抢答器主要应用于知识竞赛,文体娱乐活动(抢答赛活动)中,能准确、公正、直观地显示出相关信息。传统抢答器只能大概判断出抢答成功或犯规选手台号,无法显示出每个选手的抢答时间。而今抢答器可以通过数据来说明裁决结果的准确性、公平性,使比赛大大增加了娱乐性的同时,也更加公平公正。 基于AT89C51单片机智能八路抢答器设计+程序+电路图:http://www.youerw.com/zidonghua/lunwen_56991.html

------分隔线----------------------------
推荐内容