摘要
设计选用STM32作主控芯片,由自带FIFO的OV7725摄像头对颜色进行采集与存储,并由TFTLCD显示屏显示采集到的图像.STM32根据显示屏图像的像素点做颜色统计及分析,将不同颜色转换为相应的指令控制语音芯片输出与该颜色相对应的音阶指令,并通过扬声器播放对应的声乐谱中的Do、Re、Mi、Fa、Sol、La、Xi这几个音阶,同时可通过功放及数字电位器控制扬声器音量大小.设计可应用于幼儿音乐教具制作等相关领域.
In this paper,a scale conversion method based on embedded color recognition and its implementation process are introduced.STM32 is used as the main control chip in this design.The color is collected and stored by the OV7725 camera with FIFO,and the image is displayed by the TFTLCD display screen.According to display color image pixels,the statistics and analysis are done by STM32,the different color is converted to the corresponding output of command control voice chip and the color corresponds to the scale of the instructions,and through the speaker play the corresponding vocal music spectrum of Do,Re,Mi,Fa,Sol,La,Xi this a few scales,at the same time can be controlled by power amplifier and digital potentiometer speaker volume.This design can be applied to children’s music teaching AIDS and other related fields.
作者
孙立超
张伟光
丛伟
蔡志伟
高亮
祖阁
Sun Lichao;Zhang Weiguang;Cong Wei;Cai Zhiwei;Gao Liang;Zu Ge(Harbin Normal University)
出处
《哈尔滨师范大学自然科学学报》
CAS
2019年第5期39-44,共6页
Natural Science Journal of Harbin Normal University
基金
黑龙江省自然基金(A2016005)