简易计算器系统设计 毕业论文 .doc
文本预览下载声明
目 录
课程设计任务书………………………………………………………………………I
摘要……………………………………………………………………………………1
关键词…………………………………………………………………………………1
引言………………………………………………………………………2
1 课程设计用的仪器和器件 ………………………………………………………3
1.1 单片机的选择方案和论证………………………………………………………3
1.2 显示器的选择方案和论证………………………………………………………3
1.3 按键部分的选择方案和论证……………………………………………………3
2 课程设计方法和内容……………………………………………………………3
3 元件介绍……………………………………………………………………………4
3.1 STC89C51单片机特点及引脚图…………………………………………………4
3.2 LCD1602液晶显示器……………………………………………………………5
3.2.1 LCD1602基本组成………………………………………………………5
3.2.2 LCD1602基本参数及引脚功能…………………………………………………6
3.2.3LCD1602指令说明及时序………………………………………………………6
4 系统概述…………………………………………………………………………7
4.1 系统设计结构图………………………………………………………………7
4.2 简易计算器工作流程……………………………………………………………7
5 系统硬件设计……………………………………………………………………7
5.1 时钟电路……………………………………………………………………8
5.2 复位电路………………………………………………………………………8
5.3 键盘电路……………………………………………………………………9
5.4 显示电路……………………………………………………………………9
6 程序流程图………………………………………………………………………10
7.课程设计总结………………………………………………………………11
参考文献……………………………………………………………………………12
附录 ……………………………………………………………………………13
简易计算器系统设计
摘要:本文主要介绍了简易计算器系统设计,用51单片机作为主控芯片,通过矩阵键盘作为输入,计算器可以进行2位数的四则运算。在设计过程中,选择STC89C51系列单片机,单片机通过采集键盘上的输入,自行判断运算数字和运算法则。同时将输入的结果和运算结果通过1602显示屏输出。简易计算器的设计,极大的降低了人们的计算量,尤其在大数据的计算上有明显的优势,计算器还具有连续计算功能,能提高人们的工作效率。
关键词:单片机;矩阵键盘;1602显示;
The Design Of Simple Calculator System
Abstract:This paper mainly introduces the design of simple calculator system ,the system chooses the 51 single chip microcomputer as main control chip and uses the matrix keyboard as input, the calculator can compute in 2 digits. The design process chooses STC89C51 microcontroller series and the single-chip microcomputer judge crunching Numbers and algorithms automatically through acquisition on the keyboard input,.At the same time 1602 display can output the input results and computation results .The design of simple calculator greatly reduces the burden of the human’s computing especially in the big data’compution and the calculator can also compute continuously in that enhance peoples working
显示全部