- 30
- 0
- 约1.44万字
- 约 33页
- 2017-06-19 发布于辽宁
- 举报
stc89c52单片机表决器的设计本科论文
摘 要
表决器是一种常见的电子产品,尤其是在各类投票中,为了实现投票的公平性,性能优良的表决器往往更能得到各单位的青睐。这里通过两种设计方案的对比,最终选定了用STC89C52单片机实现表决器电路。由于单片机具有可编程定时器和中断设备,便于实现显示表决人数和抢答是否成功的精确控制。所用方案电路结构简单,易于实现,它用3颗LED灯来进行显示,且具有简单精准的报警功能。所选方案的一个很重要的特点在于具有灵活性,投票的每个人可以根据自己的意愿选择“同意”、“反对”的两个不同按键。自行进行投票表决,这样进一步保证了公平性。由于它具有成本低廉,结构简单,且性能优良的诸多优点,必定会得到广泛的应用。
关键字:STC89C52单片机,LED灯,表决器,投票表决
ABSTRACT
Voting is a common electronic product, especially in all kinds of voting, in order to achieve the fairness of voting, the performance of the voting machine is often better available to all units of all ages. Here through the comparison of two design options, the final selection with STC89C52single-chip implementation of the voting circuit. As the microcontroller has a programmable timer and interrupt devices, easy to achieve the number of voting and answer to achieve the success of the precise control. The circuit structure is simple, easy to implement, it uses three LED lights to display, and has a simple and accurate alarm function. A very important feature of the chosen program is the flexibility to vote for everyone who can choose agree and oppose the two different keys according to their own wishes. To vote on their own, so as to further ensure the fairness. Because of its low cost, simple structure, and excellent performance of many advantages, will be widely used.
Key Words: STC89C52 single chip, LED lights, voting machine, vote
目 录
第1章 引言 1
第2章 STC89C52单片机 2
2.1 STC89C52单片机概述 2
2.2 STC89C52单片机设计要求 4
2.3 STC89C52单片机设计方案 5
2.3 STC89C52单片机硬件组成 5
2.4 STC89C52单片机引脚 7
2.4.1 STC89C52单片机引脚实物图 7
2.4.2 STC89C52单片机引脚功能 7
2.5 STC89C52单片机模块设计 9
2.5.1 STC89C52单片机主控制模块设计 9
2.5.2 STC89C52单片机按键模块设计 11
2.5.3 STC89C52单片机LED模块设计 12
第3章 三人表决器的功能调试 13
3.1 调试过程 13
3.2 检测电路 13
3.3 仿真调试 13
3.4 调试出现的问题 15
第4章 三人表决器软件设计 16
4.1.1 开发语言介绍 16
4.2开发软件介绍 16
4.2.1 Keil 4 16
4.2.2 Proteus ISIS 20
第5章 实物及程序展示 23
5.1实物展示 23
5.2程序展示 23
第6章 结论 24
参考文献 25
致谢 26
引言
电子技术是电类相关专业的基础课程,近年来通过教学改革虽然精简了理论教学,加强了实践教学,但是有时理论和实践脱节。本文以三人表决器为例,介绍该课题的教学过程:复习导入、任务分析、设计安装、总结扩展
您可能关注的文档
- d495q3a柴油机凸轮轴毛坯的设计本科论文.doc
- df4型内燃机车在运用中常见故障判断与排除本科论文.doc
- dl企业内部财务控制体系研究本科论文.doc
- dn1400给水管道施工组织设计本科论文.doc
- eda课程设计说明书数字钟控制器设计本科论文.doc
- c语言课程设计学生成绩管理系统本科论文.doc
- eq131汽车变速箱双联齿轮工艺文件制定及小齿轮插齿夹具设计本科论文.doc
- eda电梯控制器设计eda技术综合课程设计本科论文.doc
- e江水利枢纽工程说明书本科论文.doc
- e江水利枢纽说明书土石坝设计本科论文.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)