| 3,261 | 1 | 147 |
| 下载次数 | 被引频次 | 阅读次数 |
基于STC89C52单片机设计一款用LCD1602液晶显示的多功能计算器。由矩阵键盘模块、温度显示模块、时钟模块和液晶显示模块组成,其中,单片机的P0口用作输出端口接LCD1602的8个数据引脚,P2口接使能端和读写引脚,驱动LCD1602显示;P1口作为输入端口,外接4x4的矩阵键盘;P3口接DS18B20温度传感器和DS1302时钟芯片,用于实时监测环境温度,显示当前时间。系统的模块化设计,使计算器既能进行加、减、乘、除、清零等多种运算的同时,还能显示环境温度与实时时间。
Abstract:Based on STC89C52 microcontroller,an LCD1602 multi-function calculator was designed.The calculator consists of matrix keyboard module,temperature display module,clock module and LCD module.P0 port in MCU is used as the output port to connect to 8 data pins in the LCD1602,and P2 port connects to enable-end and reads and writes pins to drive LCD1602 display.P1 port,which is used as the input port,extends to 4 x4 matrix keyboard.P3 port is connected to DS18B20 temperature sensor and DS1302 clock chip,taking as real-time monitoring of ambient temperature to display the current time.The modular is designed in the system,it makes possible to add,subtract,multiply,divide,clear and other operations at the same time,and to display the ambient temperature and real-time in the calculator system.
[1]彭棣.基于单片机的多功能计算器的设计与实现电气工程自动化[J].山东工业技术,2017(2):189.
[2]李广兴.基于STC12C5A60S2单片机的带时间和温度显示的多功能计算器设计[J].通讯世界,2015(10):235-237.
[3]胡代洲,康翠,杨守良.无显示屏多功能计算器设计研究[J],重庆文理学院学报,2013(5):55-58.
[4]吴立勇,丁作文.基于Android系统的手机计算器的设计与实现[J],电子技术,2014(4):58-60.
[5]刘巧平,李平,周斌.基于STC89C51单片机的实用计算器设计[J],信息技术,2016(11):121-126.
[6]王丽琴,史航.基于单片机的数字式计算器设计[J],现代制造技术与装备,2015(11):86-87.
[7]韩光江,孙鹏,何梦雪,等.基于STC15F2K61S2的计算器设计[J],科技与创新,2015(5):101.
[8]雷红华,沈鸿星.基于C51单片机的电子计算器设计[J].煤炭技术,2013(4):187-189.
[9]宋慧超.基于STC 89C52的计算器设计与仿真[J].科技创新导报,2015(10):159-160.
[10]吴芳琴.基于单片机的简易计算器设计[J].电子世界,2015(19):53-54.
基本信息:
中图分类号:TP323
引用信息:
[1]郭占苗,吴沛.基于STC89C52单片机多功能计算器设计与仿真[J].微型电脑应用,2018,34(09):112-115.
2018-09-17
2018-09-17