作 者: 系:
学 号:
电子工程与光电技术系
电子信息工程 基于单片机的 液晶计算器设计
专 业: 题 目:
南 京 理 工 大 学
毕业设计(论文)评语
学生姓名: 班级、学号:
题 目: 基于单片机的液晶计算器设计 综合成绩: 指导者评语: 指导者(签字): 年 月 日
毕业设计(论文)评语
评阅者评语: 评阅者(签字): 年 月 日 答辩委员会(小组)评语: 答辩委员会(小组)负责人(签字): 年 月 日
毕业设计说明书(论文)中文摘要
本设计是实现一个有四则运算及函数运算的多功能计算器。它的硬件部分包括:一个AT89C52单片机芯片,一块LCD1602液晶显示器,一个4*4的键盘,外加4个功能设置按键。AT89C52单片机为核心控制电路,LCD1602负责显示输入输出数据,利用4*4矩阵键盘加上一些功能键完成电路的键入操作部分。电路简单,功能齐全。 软件部分采用C语言编写,实现了14位浮点数内的加、减、乘、除基本的四则运算,带有‘sin’、‘cos’、‘tan’、‘exp’、‘ln’、‘lg’、‘倒数’、‘x^y’、‘sqrt’、‘fmod ’10个常用数学函数运算。这样一个简易的计算器实现了多功能,比较实用和方便。 关键字 单片机 函数 C语言 显示 计算器
毕业设计说明书(论文)外文摘要
Title LCD calculator design based on single chip microcomputer Abstract This design is to achieve a four arithmetic operations and function multi-function calculator. Its hardware includes: a AT89C52 chip, a LCD1602 LCD display, a 4 * 4 keyboard, plus four function setting button. AT89C52 core control circuit, LCD1602 is responsible for displaying the input and output data, the use of 4 * 4 matrix keyboard function keys plus some typing part of the circuit is completed. Circuit is simple and functional. Software written using C language to achieve a floating point number within the 14 plus, subtract, multiply, and divide the four basic arithmetic, with a ‘sin', ‘cos',‘ tan ',‘ exp ',‘ln ',‘lg ',‘ countdown ',‘x ^ y ',‘ sqrt ',‘ fmod '10 commonly used mathematical functions. Such a simple calculator to achieve a multi-functional, it is practical and convenient. Keywords MCU Function The C language Display Calculator