单片机与嵌入式系统应用2012,Vol.12Issue(11):63-65,3.
基于STM32的PWM音乐播放器应用设计
Application Design of PWM Music Player Based on STM32
摘要
Abstract
Based on 32-bit STM32F103, using audio signals produced by PWM to drive a buzzer to play music, a music player is de- signed. The player can realize 21 scales from bass to treble and play complete songs according to music scores. Test results show that the output signals of PWM are consistent with the corresponding voice frequency of the scales, and the scheme is feasible. This method can also be used in motor control, keyboard design and so on, showing good practicality.关键词
STM32/PWM/蜂呜器/定时器/音乐Key words
STM32/PWM/buzzer/timer/music分类
计算机与自动化引用本文复制引用
马志强,王建刚,孙少林,胡明..基于STM32的PWM音乐播放器应用设计[J].单片机与嵌入式系统应用,2012,12(11):63-65,3.