- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于单片机的音乐电子琴设计
摘 要
电子琴的出现可以追溯到几百年前,在这个几百年的过程中,它已经从庙堂之
高飞入寻常百姓家,成为再普通不过的商品了。作为最受大众喜爱的微型电子琴,
功能齐全人性化,价格也是非常令人满意,喜爱最深的当属初学者。嵌入式电子技
术的大步迈进也间接带动了微型电子琴技术的向前发展,单片机、PLC 还有 FGPA 各
有各自的长处。一般说来,好的产品优势之处总是不谋而合,音色效果极佳;技术
成熟,系统不会紊乱;价格低;接口齐全等都是优势之处。
本次设计以 STC89C52 单片机为核心,除了单片机以外,系统还有三个模块:
分别为键盘扫描模块,扬声器模块,和液晶显示模块。本设计综合运用了硬件和软
件,在这些基础上设计了一款简易的音乐电子琴,可以通过该设计实现对音乐的演
奏。
关键词:音乐电子琴;单片机;演奏
ABSTRACT
From the invention of the electric piano several hundred years ago
to now, it has entered millions of households and become a popular
commodity. Especially the miniature electronic keyboard, although it is
cheap, but it is powerful, it is deeply loved by customers, especially
those who just started to learn piano. With the development of embedded
electronic technology, the development of the miniature electronic
keyboard has become more and more mature, and the use of single-chip
microcomputers, PLCs, and FGPA have their merits. But overall, the
outstanding products are similar, the first to produce high-quality
sound effects, the second is mature technology, the system is stable,
the third is low cost, and the fourth is good scalability.
This design takes the STC89C52 MCU as the core. Besides the MCU, the
system has three modules: the keyboard scanning module, the speaker
module, and the liquid crystal display module. The design uses a
combination of hardware and software. Based on these designs, a simple
music keyboard is designed to enable music to be played through the
design.
Key words: Music Electronic organ; Single-chip computer; Play
目 录
第一章 绪论 1
1.1 研究现状 1
1.2 课题研究的目的和意义 2
1.3 国内外概况2
第二章 硬件部分4
2.1 STC89C52 单片机概述 4
2.1.1 晶振电路7
2.1.2 复位电路8
2.2 按键部分
文档评论(0)