- 16
- 0
- 约8.33千字
- 约 18页
- 2016-05-28 发布于湖北
- 举报
韶 关 学 院
课程设计论文
题 目:多功能电子计算器设计
学生姓名:
学 号:
系(院):
专 业:电子信息科学与技术
班 级:
指导教师姓名及职称: 讲师
助理实验师
起止时间: 2015 年 9 月—— 2015 年 12 月
多功能电子计算器设计
摘要:本设计是实现一个有四则运算及函数运算的多功能计算器。它的硬件部分主要包括:一个STC89C52RC单片机芯片,一块LCD12864液晶显示屏,一个4*4的矩阵键盘,外加3个设置按键。以STC89C52RC单片机为核心控制电路,LCD12864液晶显示屏负责显示输入输出数据,4*4矩阵键盘与3个功能按键完成电路的键入操作部分,来实现计算器的多功能。电路简单,功能丰富。
软件部分采用C语言编写,除了实现了8位正整数的加、减、乘、除基本的四则运算,还附有“sin”、“cos”、“tan”、“平方”、“开方”、“二进制转十进制”、“十进制转二进制”、“十进制转十六进制”8个常用数学函数运算。这样一个简易的计算器实现了多功能,比较实用和方便。
关键字:多功能;计算器;单片机;C语言
Design of multifunctional electronic calculator
Abstract: This design is to achieve a four operation and function of the multi-function calculator. Its hardware part mainly includes: a STC89C52RC chip, a LCD12864 LCD screen, a 4*4 matrix keyboard, plus 3 buttons. STC89C52RC microcontroller as the core control circuit, LCD12864 LCD screen is responsible for the display of input and output data, 4*4 matrix keyboard and 3 functional keys to complete the input of the circuit part, to achieve the function of the calculator. Circuit is simple, the function is rich.
Part of the software using C language, in addition to achieve the 8-bit is an integer add, subtract, multiply, in addition to the four basic operations, accompanied by sin, cos, tan, square, root, binary to decimal, decimal to binary , decimal system turn hexadecimal eight commonly used mathematical functions computing. Such a simple calculator to achieve more features, more practical and convenient.
Key words: multi function; calculator; single chip microcomputer; C language
目 录
1 绪论 1
1.1 概述 1
1.2 项目设计的具体功能 1
2 系统设计的硬件方案 1
2.1 硬件方案的论证 2
2.1.1 方案一:采用FPGA控制 2
2.1.2 方案二:采用STC89C52控制 2
2.1.3 方案的比较与选择 2
2.2 系统设计总框图 2
2.3 单元电路的设计与分析 3
2.3.1 单片机电路板的设计与分析 3
2.3.2 键盘模块电路 4
2.3.3 LCD12864液晶显示模块电路 4
2.3 硬件方案小结 5
3 系统设计的软件方案 5
3.1 系统总体设计方案 5
3.2 单元模块的软件设计 6
3.2.1 矩阵键盘扫描 6
3.2.2 显示部分的软件设计 7
3.3 软件设计小结 10
4 系统调试 10
4.1 硬件系统的调试 10
4.2 软件系统的调试 11
4.3 整机调试 11
5 总结 12
参考文献 14
附录 15
附录A:电路原理图 15
附录B:PCB电路板图 15
附录C:实物
您可能关注的文档
最近下载
- 专题23 阅读理解(科普和文化)-备战中考英语高能训练(原卷版).docx VIP
- 中考数学模型 专题2.7 二次函数中的最值问题(学生版+解析版).docx
- 排水管理与排水设施建设管理的调研报告5.docx
- 中职物理探究磁现象及其应用教案.pdf
- 中考数学模型 专题2.6 逆等线模型(学生版+解析版) .docx
- 中职物理探究磁现象及其应用教学实施报告.pdf VIP
- 《3T模锻电液锤液压系统的设计》-毕业学术论文(设计).doc VIP
- 2025年放射法律法规及防护知识培训试题及答案.docx VIP
- (正式版)D-L∕T 517-2012 电力科技成果分类与代码.docx VIP
- 3.3.1 查对制度(word完结版).docx VIP
原创力文档

文档评论(0)