nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo journalinfonormal searchdiv searchzone qikanlogo popupnotification paper paperNew
2018, 09, v.34;No.305 112-115
基于STC89C52单片机多功能计算器设计与仿真
基金项目(Foundation):
邮箱(Email):
DOI:
发布时间: 2018-09-17
出版时间: 2018-09-17
移动端阅读
摘要:

基于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.

基本信息:

中图分类号:TP323

引用信息:

[1]郭占苗,吴沛.基于STC89C52单片机多功能计算器设计与仿真[J].微型电脑应用,2018,34(09):112-115.

发布时间:

2018-09-17

出版时间:

2018-09-17

检 索 高级检索

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文