Abstract
The simple electric piano controlled by SCM mainly applies to the child electron toy, raises child's music interest. The system is simple and can meet the basic function, with high cost performance, small, light, and other characteristics.
According to the system design principle ,This article conduct the research to overall plan of the system structure. Through comparative analysis, it choice most superior plan. This article introduces SCM of the internal structure and the function, analyzes the timer/counter with emphasizing on the basic structure and the principle of work, which researches the pitch and time production principle. According to the system request, it gradually analyzes the design to the hardware electric circuit, which finally has realized this system hardware electric circuit. Parts of the system based on the control of SCM. The software identify the keyboard closed, then eight sections of digital tubes display note, and the loudspeaker sends out corresponding sound or a small song, through the software and hardware of coordination, it has realized the overall system design request. This system uses Keil C51 uVision2 to carry on the repeatedly simulation, the debugging. The revision simplifies the software system, finally has formed a set of complete software. Finally it uses the PROTEUS software to simulate system, demonstrates the lifelike function of the system requirements.
Keywords:SCM、timer/counter、pitch、time、eight sections of digital tubes display、loudspeaker