宋元浩

Graduation project based on 51 microcontroller 8-key electronic keyboard design (schematic diagram, source program, etc.)

 
Overview

AT89C52 microcontroller is used as the core control component to design an electronic keyboard. The microcontroller is used as the main control core, and it forms the core main control module together with the keyboard speaker and other modules. The main control module is equipped with 8 buttons and a reset button.

Use the microcontroller to generate different frequencies to obtain the scale we require, and finally we can play the notes we want to express at will. And it is elaborated in detail from the schematic diagram, main chips, module principles and debugging of programs of various sizes. A piece of music is composed of many different scales, and each scale corresponds to a different frequency, so that we can use a combination of different frequencies to form the piece we want to play. Of course, it is very convenient for the microcontroller to generate different frequencies. We can use the timer/counter T0 of the microcontroller to generate such a square wave frequency signal. Therefore, we only need to correctly write the corresponding frequency relationship of the musical scale of a song to achieve what we want. repertoire. On this basis, the electronic keyboard has the proper key pronunciation effect it deserves.

 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-11 07:44:51

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号