毕业论文

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

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

时间:2021-10-22 20:57来源:毕业论文
用STC89C51单片机为核心控制元件,设计一个电子琴。以单片机作为主控核心,与键盘、扬声器等模块组成核心主控制模块,在主控模块上设有8个按键、一排16个LED灯和扬声器

摘要:单片机具有强大的控制功能和灵活的编程实现特性,它已经溶入现代人们的生活 中,成为不可替代的一部分。本文的主要内容是用 STC89C51 单片机为核心控制元件,设 计一个电子琴。以单片机作为主控核心,与键盘、扬声器等模块组成核心主控制模块,在 主控模块上设有 8 个按键、一排 16 个 LED 灯和扬声器,实现手动播放和自动播放音乐的 功能。本系统运行稳定,其优点是硬件电路简单,软件功能完善,控制系统可靠,性价比 较高等,具有一定的实用和参考价值。73205

毕业论文关键词: 51 单片机, 电子音乐琴 ,Proteus 仿真实验

Abstract: Microcontroller has a powerful control functions and flexible programming features, it has been integrated into modern people's lives, become an irreplaceable part。 The main content of this article is STC89C51 microcontroller core control elements, design a keyboard。 Core microcontroller as the main control, keyboard, speakers and other modules form the core of the main control module with eight buttons on the control module, a row of 16 LED lights and speakers for manual play and auto-play music function。 The system is stable, the advantage of simple hardware circuit, software function perfect, reliable control system, high cost and so on, has some practical value and reference。

Keywords:C51 single chip  ,electronic music organ  ,Proteus simulation experiment

目录

1 绪论 5

1。1 本文研究的背景与意义 5

1。2 国内外研究发展的现状 5

1。3 本文研究的内容于安排 6

2 总体设计方案 6

2。1 设计要求 6

2。2 音乐的相关知识 6

2。3 如何用单片机实现音乐的节拍 9

2。4 LED 流水灯 9

2。5 系统总体功能概述 10

2。6 单片机最小系统 11

2。7 按键设计 13

2。8 控制模块选择方案 14

2。9 扬声器 14

2。10 最终方案 15

3 硬件电路设计 16

3。1 时钟电路 16

3。2 复位电路 17

3。3 按键复位电路 18

4 系统程序设计 19

4。1 主程序流程图 19

4。2 按键子程序流程图 20

4。3 弹奏子程序流程图 21

4。4 自动播放歌曲子程序流程图 22

5 仿真与实验 23

5。1protues 仿真 23

5。2 焊接与调试 25

5。3 51 单片机集成开发环境 MedWin V2。39 26

5。4 STC 单片机下载软件 STC-ISP 的使用 27

5。5 实验结果分析 28

结论 STC89C51单片机声光电子琴设计+程序+电路图:http://www.youerw.com/zidonghua/lunwen_83361.html

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