摘 要:本论文是用AT89S52来完成的即时播放电子琴。以AT89S52为控制中枢,通过八音符键盘、LED数码管和蜂鸣器,实现简易电子琴的弹奏,同时,发声模块的设计为电子琴增加了即时播放的功能,而外围控制电路则是由电源模块、键盘模块、八段数码管显示模块、复位模块组成。通过单片机对程序的处理,使单片机的内部定时器工作,生成多种频率的方波信号,最后由驱动电路驱动蜂鸣器发出对应的声调,同时数码管显示相应的数字,从而可以实现自弹、自唱,使娱乐性更强。33817 毕业论文关键字:数码管显示器;AT89S52;键盘;蜂鸣器
Design of Electronic Organ Based on MCU
Abstract: This paper is to use AT89S52 to complete real-time playing electronic organ. AT89S52 as the control center, eight notes by voice chip, keyboard, LED digital tube and buzzer, contemporary, the use of voice chip for keyboard increased the function of streaming, which can realize the play, sing, make more entertaining. The peripheral control circuit is by the power source module, keyboard module, eight character tube display module, voice module, etc. MCU microcontroller for application processing, in order to improve that internal timer can be generate multiple frequency tetragonum wave signal, finally driven by driving circuit buzzer sends out the corresponding tone, at the same time, digital tube display the corresponding number, complete simple electronic organ play function.
Key Words : Digital tube display; AT89S52; The keyboard; Buzzer
目 录