摘要
该系统以单片机AT89S52为控制核心,矩阵键盘为输入及控制单位,数码管为动态显示系统组成,完成了具有基本计算功能的计算器设计。设计中的重点部分主要是系统完成算法、显示等一系列计算的电路设计和程序设计。系统的硬件部分主要包括键盘扫描、最小系统板、数据显示、蜂鸣器四大部分。软件部分应用单片机C语言实现全部设计的控制功能,包括基本的数码管动态显示、矩阵键盘的扫描、输入数字的记录、运算的各种实现。蜂鸣器具有报警的功能,在输入错误或无法计算时进行报警。整个系统设计成本较低,能对输入的数据及正常的运算结果进行实时显示。
The system uses single-chip AT89S52 for the control of the core,matrix keyboard for input and control unit,digital control system for dynamic display of the finish with the basic computing function calculator design. Designed in the focus of some of the major systems are algorithms,such as a series of calculations show that the circuit design and program design.System hardware includes a keyboard scanning,the smallest system board,data show that the majority of four buzzer. Application software Single-chip C language implementation of all design control functions,including basic digital tube dynamic display,the keyboard matrix scanning,enter the number of records,a variety of computing implementation. With a buzzer alarm function,the input error or can not be calculated when the alarm. Designed the entire system cost is lower,be able to enter data in real-time display and computing the results of a normal real-time display.
出处
《现代制造技术与装备》
2015年第6期86-87,共2页
Modern Manufacturing Technology and Equipment
关键词
单片机
矩阵键盘
数码管
蜂鸣器
稳压芯片
microcontroller
matrix keyboards
digital tube
beeper
voltage regulator chip