毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C51单片机LED电子琴设计+程序+电路图

时间:2021-10-22 21:07来源:毕业论文
基于STC89C51单片机的LED电子琴。该电子琴包括单片机主控模块、按键模块发声模块等组成。该设计在键盘按下按键产生低电平,单片机处理并产生单音节频率信号进入达林顿管信号放大电

摘 要:传统电子琴产品的功能相对单一、购置价格较高,实用价值与购入价不 符,本文考量了传统电子琴主控芯片昂贵、缺少互动体验的问题,设计了一款基 于 STC89C51 单片机的 LED 电子琴。该电子琴包括单片机主控模块、按键模块发 声模块等组成。该设计在键盘按下按键产生低电平,单片机处理并产生单音节频 率信号进入达林顿管信号放大电路并使信号作用于扬声器,以及另一按键按下使 整首歌曲播放;同时输出不同信号使得 LED 管呈现不同形状的变化。本设计成本 低、功能实现相对轻松,优化之后适合作为多功能电子玩具面向广大青少年销售。73207

毕业论文关 键 词:电子琴产品,STC89C51 单片机,键盘,达林顿管

Abstract: The traditional electronic organ functionality is relatively simple, the purchase price is higher, the practical value and the purchase price does not match, the paper considered the traditional electronic organ controller chips, expensive, lack of interactive experience problems, designed a microcontroller based STC89C51 Multifunction LED electronic organ。 The electronic organ comprises a single chip microcomputer master control module, a key module and a sound module and the like。 The design on the keyboard to press a key to produce low level,  single  chip processing and produce single syllable frequency signal into  the  Darlington tube signal amplifying circuit and the signal to the speaker, and another button press make the entire first song playback; while the output signals of different LED tube  showed no change in the same shape。 The design cost is low, the function is relatively easy to achieve, and the optimization is suitable as a multi-functional electronic toys for the majority of young people

Keywords:Electronic organ,STC89C51SCM,Keyboard,Darlington tube

目 录

1 绪论 3

1。1 背景和意义 3

1。2 主要内容 4

2 总体设计 4

2。1 设计主体方案 4

2。2 模块的选择 4

3 硬件相关设计 7

3。1 晶振电路 7

3。2 按键控制模块 7

3。3 播放模块 8

3。4 显示模块 8

4 程序流程及原理图 9

4。1 程序流程 9

4。2 原理图 10

5 仿真与测试 10

5。1 软件仿真 10

5。2 硬件测试 15

结论 19

参考文献 20

致谢 21

附录 22

1 STC89C51单片机LED电子琴设计+程序+电路图:http://www.youerw.com/zidonghua/lunwen_83363.html

------分隔线----------------------------
推荐内容