摘要
用电子琴可以演奏出各种美妙的音乐,而音乐是由音符组成,不同的音符又是由相应频率的振动产生,而用单片机来产生不同的频率非常方便,可以利用单片机的定时/计数器T0来产生这样方波频率信号。用AT89S51单片机作为主控核心,设计了一个简单电子琴,其特点是运行稳定、硬件电路简单、性价比高,具有一定的实用价值。
The electronic organ can play a variety of wonderful music which are composed by the musical notes. And the different notes are produced by the vibration of corresponding frequencies. It's very convenient for the single-chip to generate different frequencies by the timer/counter T0. In this paper, we design an electronic organ with AT89S51. Stable circulation, simple hardware circuit and high performance-to-price ratio are characteristics of the design.
出处
《电脑知识与技术》
2009年第8X期6766-6767,6778,共3页
Computer Knowledge and Technology
关键词
单片机
电子琴
键盘
扬声器
single-chip
electronic organ
keyboard
speaker