单片机c语言程序设计算器,基于单片机的数字计算器的设计

摘要:嵌入式技术的快速发展,使得它在电子产品上的应用也越来越广泛。基于此,设计一种方便使用的电子计算器,采用AT89S51嵌入式单片机作为主控芯片,以4*4的矩阵键盘作为输入,以1602液晶显示屏作为输出,能实现10位数以内的加、减、乘、除等基本功能。通过该设计可以锻炼焊接、单片机编程、调试等能力。

关键词:嵌入式技术;单片机;矩阵键盘;液晶显示屏

中图分类号:TN391.8文献标识码:A文章编号:1009-3044(2012)10-2386-03

Designing a Digital Computer Based on MCU

DONG Lei-gang, CUI Xiao-wei, CHENG Shu-wei

(Journal of Daqing Normal University, DaQing 163712, China)

Abstract: With the fast developing of embedded technology, it has been used in many aspects. So, a convenient computer is designed with mcu AT89S51 as cpu, and the 4*4 matrix keyboard as inputtint, and the LCD1602 as output, this computer can finish some basic function such as addition、subtraction、multiplication and division. The ability of welding、programming on mcu and debugging can be trained.

Key words: embedded technology;

你可能感兴趣的:(单片机c语言程序设计算器)