基于单片机的简易电子琴设计c语言编程大学论文
单片机课程设计报告PAGE
PAGE - 37 -
Z10102 YangQingming 基于单片机的简易电子琴设计
摘 要电子琴是现代电子科技与音乐结合的产物,是一种新型的键盘乐器。它在现代音乐扮演着重要的角色,单片机具有强大的控制功能和灵活的编程实现特性,它已经溶入现代人们的生活中,成为不可替代的一部分。本文的主要内容是用AT89S51单片机作为核心控制元件,设计一个电子琴。以单片机作为主控核心,与键盘、扬声器等模块组成核心主控制模块,在主控模块上设有16个按键和扬声器。本系统运行稳定,其优点是硬件电路简单,软件功能完善,控制系统可靠,性价比较高等,具有一定的实用和参考价值。
关键词:单片机 键盘 扬声器 电子琴AbstractElectronic organ is a modern electronic music technology and the product is a new type of keyboard instruments. It played an important role in modern music. SCM has powerful control functions and flexible programming characteristics. It has converged with modern people's lives, become an irreplaceable part. The main content is AT89S51 control of the core components, design of a electronic organ. SCM as a host to the core, with the keyboard, speaker and other core modules. In the main control module has 16 keys and a speaker. The system is steady, its simple hardware circuits, software functions, reliability of control system and high cost performance is its advantages. It also has certain practical and reference value.Key words : SCM keyboard speaker electronic organ目 录 TOC \o "1-3" \h \z \u HYPERLINK \l "_Toc358846088" 摘 要 PAGEREF _Toc358846088 \h 1 HYPERLINK \l "_Toc358846089" Abstract PAGEREF _Toc358846089 \h 1 HYPERLINK \l "_Toc358846090" 目录 PAGEREF _Toc358846090 \h 2 HYPERLINK \l "_Toc358846091" 1 引言 PAGEREF _Toc358846091 \h 3 HYPERLINK \l "_Toc358846092" 2 原理图 PAGEREF _Toc358846092 \h 4 HYPERLINK \l "_Toc358846093" 2.1 系统板硬件连线 PAGEREF _Toc358846093 \h 5 HYPERLINK \l "_Toc358846094" 3 主要芯片简介 PAGEREF _Toc358846094 \h 5 HYPERLINK \l "_Toc358846095" 3.1 AT89S51简介 PAGEREF _Toc358846095 \h 5 HYPERLINK \l "_Toc358846096" 3.1.1 主要功能特性 PAGEREF _Toc358846096 \h 6 HYPERLINK \l "_Toc358846097" 3.1.2 引脚功能 PAGEREF _Toc358846097 \h 6 HYPERLINK \l "_Toc358846098" 3.2 LM386 PAGEREF _Toc358846098 \h 7 HYPERLINK \l "_Toc358846099" 3.2.1 LM386的引脚图