摘要:微型计算机是大规模集成电路技术发展的产物,属第四代电子计算机,它具有高性能、高速度、体积小、价格低廉、稳定可靠、应用广泛的特点。就因为它的应用非常广泛,因此,单片机的开发应用已成为高科技和工程领域的一项重大课题。而音乐现在也成了人们生活的一部分,生活的压力,学习的压力,工作的压力,一切的不顺利可以在音乐声中放松下来,让人们心情舒畅,听着音乐放松心情,让我们提高生活质量。本论文设计一个基于单片机的简易电子琴。电子琴是现代电子科技与音乐结合的产物,是一种键盘乐器。
本系统是以51系列单片机AT89S52为主芯片,附有矩阵键盘、LED显示管、扬声器组成。系统完成显示输入信息、播放相应音符等基本功能。本系统运行稳定,其优点是硬件电路简单,软件功能完善,控制系统可靠,性价比较高等,具有一定的实用和参考价值。
关键词:AT89S52,矩阵键盘,LED显示管,扬声器
Abstract:Microcomputers are large scale integrated circuit technology development of the fourth generation of the product, electronic computers, it has high performance, high speed, small volume, low prices, stable and reliable, widely characteristics. Just because it's very extensive, therefore, SCM for the development and application of high-tech and engineering field has become a major issue. But music now also become a part of life, life pressure, the pressure of learning, working pressure, all is not well in music can relax and let people in a relaxed mood, listen to music to relax, let us improve the quality of life. This paper is based on single chip design a simple keyboard. Modern electronic technology and keyboard is the combination of music, is a kind of keyboard instrument. SCM has strong control function and flexible programmable achieve properties, it has into modern people's life, become part of the entertainment and leisure. This system is mainly 51 series microcontroller AT89S52, accompanied by matrix keyboard, chip, speaker ,LED. System completes display input information, the basic function such as broadcast corresponding notes. This system stable operation, its advantage is hardware circuit is simple, software function consummation, the control system is reliable, cost-effective higher, has certain practical and reference value.
Keywords: AT89S52, matrix, LED, speaker