网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 论文范文 -> 自动化专业 -> 基于单片机的电子琴的设计
自动化论文范文| 电子机电论文| 测控技术论文| 通信专业论文| 电气工程论文| 通信工程论文| 电子信息工程论文| 免费自动化论文| 免费电子论文| 免费电气论文| 免费通信论文

基于单片机的电子琴的设计

本文ID:LW7520 字数:6614,页数:23 价格:¥59.00 → 信用说明

扫一扫 扫一扫
基于单片机的电子琴的设计

文档编号:ZD654    文档字数:6614,页数:23

 摘要
 随着科技的快速发展,单片机的应用日益普遍。目前,MCS-51系列的8051单片机也在工业检测领域中得到了广泛的应用,本单片机系统设计应用单片机控制技术,以51单片机为核心根据上学期所学的单片机知识结合设计了一套单片机控制的电子琴系统。该系统大部分软硬件可以被软件程序柔化取代,电路简洁、操作方便、性能良好
 乐音实际上是有固定周期的信号。首先扩展一组小键盘(本设计以4×4 键盘为例,可按需要扩展),本按键为触发式常开按键。按键的输入信号通过AT89C51的P1口输入送给AT89C51一个定时器(如T1)控制,在P3.4脚上输出方波周期信号,再通过一片LM324(最好用LM368)做音频小功放放大输出的信号最后送到扬声器(本设计才用单片机实验箱上的蜂鸣器)发出音乐。
 
关键词:AT89C51;LM324;矩阵键盘行扫描;电子琴

 

Abstract

 Along with the technical fast development, monolithic integrated circuit's application is day by day common. At present, the MCS-51 series's 8051 monolithic integrated circuits also obtained the widespread application in the industry examination domain, this monolithic integrated circuit system design application monolithic integrated circuit control technology, the monolithic integrated circuit knowledge union which the semester studied for the core basis in has designed the electric piano system which by 51 monolithic integrated circuits set of monolithic integrated circuits controlled. This system majority of software and hardware may soften by the software routine the substitution, the electric circuit are succinct, the ease of operation, the performance are good The musical note in fact has the fixed cycle signal. First expands group of small keyboards (this design take 4×4 keyboard as example, may demand must expand), this pressed key often operates the pressed key for the triggering type. Pressed key's input signal gives AT89C51YI a timer through at89C51 P1 mouth input (for example T1) to control, outputs the square-wave periodic signal on the P3.4 foot, (easiest to use LM368) makes the audio frequency small power amplifier enlargement output through piece of LM324 the signal to deliver the speaker again (this design only then to use in monolithic integrated circuit experiment box's buzzer) finally to send out music.
 
 
 
  key word: AT89C51; LM324; Matrix keyboard line scan; Electric piano

 


目录

1 设计任务 1
1.1 设计内容与要求 1
1.2 基本工作原理及组成简介 1
1.3 基本步骤 2
2 设计系统主要功能的说明 2
2.1 设计设备的选择 2
2.2 设计原理 3
3 硬件电路设计 4
3.1 单片机的最小单位 4
3.2 单片机记时器的基本原理 5
3.3 LM324的工作原理 5
3.2.1 LM324作反相交流放大器 6
3.2.2 LM324作同相交流放大器 7
3.3 扩张后的按键的电路 7
3.4 总的硬件电路 7
4 软件设计流程 8
4.1 声音的控制 8
4.1.1 延时程序控制 8
4.1.2 定时器中断服务控制 9
4.1.3 矩阵键盘的行扫描控制 9
4.2 软件的实现 9
4.2.1主程序的实现 9
4.2.2定时器1 中断服务程序的实现 10
4.2.3 键盘扫描的实现方法 10
5 软、硬件的调试 12
5.1 调试方案的确定 12
5.2 调试过程 13
6 设计心得 13
参考文献 14
附录A设计的总电路图 15
附录B 电子琴的程序实现 16

基于单片机的电子琴的设计由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:基于西门子PLC的送料小车设计. 下一篇:西门子PLC的邮件分拣机控制
推荐论文 本专业最新论文
Tags:基于 单片机 电子琴 设计 2010-06-15 13:34:35【返回顶部】
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 17304545@qq.com

Copyright@ 2009-2020 毕业论文网 版权所有