题目:智能家居语音控制系统摘要随着现代信息科技的迅速进步和发展,人们生活质量的提高也逐渐提高,智能家居在现代社会中也备受关注,与传统的方式相比,语音控制不需要复杂的操作,通过说话就可以指导一些设备完成相应的动作,减少用户对手机、遥控的依赖,从而为用户提供更加舒适高效的环境。本课题利用STC89C52单片机和LD3320语音识别芯片对用户说出的关键字进行识别,然后将识别的结果输出给单片机,单片机再输出信号控制继电器,进而控制开关的工作,最后实现控制灯光和风扇等常用设施的操作,充分体现了它在语音识别和智能控制方面的优势,具有较高的识别率和实时性。关键词:智能家居;语音识别;单片机;LD3320AbstractWiththerapidprogressanddevelopmentofmoderninformationtechnology,theimprovementofpeople'slifequalityalsograduallyimprove,intelligenthouseholdalsofocusinthemodernsociety,comparedwiththetraditionalway,voicecontroldoesnotneedcomplexoperations,throughtalkingcanguidesomeequipmenttocompletethecorrespondingaction,reducetheuser'srelianceonmobilephone,remotecontrol,Soastoprovideuserswithamorecomfortableandefficientenvironment.ThistopicusesSTC89C52microcontrollerandLD3320voicerecognitionchiptoidentifythekeywordsthattheusersays,andthenoutputstheresultstothemicrocontroller,andthenthemicrocontrolleroutputsthesignaltocontroltherelay,andthencontrolstheworkoftheswitch,andfinallyrealizestheoperationofthecommonfacilitiessuchaslightsandfans.Itfullyreflectsitsadvantagesinspeechrecognitionandintelligentcontrol,andhashighrecognitionrateandrealtimeperformance.Keywords:intelligenthome;voicerecognition;MCU;LD3320目录1绪论................................................11.1选题的背景............................................11.2国内外发展状况........................................11.3主要研究内容..........................................22系统方案选择........................................32.1智能家居系统的总体设计................................32.2方案选择..............................................32.2.1主控芯片的选择......................................32.2.2语音芯片的选择......................................42.2.3液晶显示器的选择....................................52.2.4继电器模块的选择....................................52.3系统方案总结..........................................53系统主要硬件电路设计...............................63.1主控单片机电路与最小系统..............................63.2语音控制部分..........................................83.2.1语音识别原理........................................83.2.2LD3320电路设计....................................93.3复位电路.............................................103.4时钟电路.............................................113.5继电器电路...........................................114软件设计...........................................124.1LD3320的软件设计....................................124.1.1编程模式...........................................124.1.2LD3320程序流程....................................134.2寄存器的操作和功能...................................144.2.1并行方式...........................................144.2.2串行SPI方式......................................154.2.3寄存器的功能.......................................164.3语音芯片关键词的设置.................................164.4单片机程序下载.......................................175实物制作...........................................175.1pcb电路板的制作流程.................................175.2系统调试....