分类号:UDC:密级:公开编号:成都信息工程大学学位论文基于STM32的光照控制系统设计论文作者姓名:申请学位专业:申请学位类别:指导教师姓名(职称):论文提交日期:基于STM32的光照控制系统模块的设计摘要随着现今生活水平的逐年发展与提升,以及当今社会信息化的不断加速,人们的生活、学习、工作与智能化的关系越来越密切相关。在改变人们生活方式的同时,信息科学技术与智能化科学也对人们的生活条件和环境提出了更高的挑战。人们在不同的生活方式中,眼睛所需的最佳光照当然也是不同的。迄今为止,大多生活空间都是采用的单一无补偿光源,很容易使眼睛产生视觉疲劳,甚至还会对眼睛造成一定程度上的伤害。所以极其容易导致近视。随着近视率的日益增加,近视已经成为我们生活中不可忽视的一个问题。针对此种现象,本课题的研究目标就是作出一套智能光照调节控制系统,不仅能实时检测室内周围环境光照强度和温度,还能把检测到的光照强度以及温度值反馈给STM32单片机,当超出或者低于所设置的最适值时及时进行报警并根据指令作出相应调节。本项目的特点在于不仅有红外遥控装置,用于远程设置阈值,还有手势感应模块用于当系统进行报警时操作者不仅可以通过相应的手势来确定进行调节操控,使操作方式更便捷更具新意,而温度补偿模块,可采集环境温度,并反馈给单片机,实现冷暖色调的调控。关键词:STM32系列单片机;室内光照;智能调节系统;AbstractNowadays,withthedevelopmentandpromotionoflivingstandardsyearbyyear,andtheconstantaccelerationofinformationtechnology,therelationshipbetweenintelligentandpeople’slife,study,workiscloser.Whilechangingthewayofpeople’slife,InformationScienceandTechnologyandIntelligentSciencealsomakehigherchallengestopeople’slivingconditionsandcircumstances.Thebestlightthatpeopleneedindifferentwaysoflifeisalsodifferent.Tillnow,mostlivingspacesuseasingleuncompensatedlightsource,itisveryeasytocausevisualfatigueintheeyesandevencausessomedegreeofdamagetotheeyes.Sofinallyitwillleadtomyopiaeasily.Withtheincreasingofmyopiarate,myopiahasbecomeaproblemwhichcannotbeignoredinourlives.Inthiscase,theaimofthisprojectistomakeasmartlightingcontrolsystem,itcannotonlymonitorofambientlightintensityandtemperatureinrealtime,butalsocanfeedbackthelightintensityandtemperaturevaluetoSTM32microcontroller.Whenthemaximumfitnessisexceededorbelowtheset,thealarmiscalledandadjustedaccordingly.Featuresofthisprojectnotonlyhavetheinfraredremotecontrolwhenthesystemistoalarmtheoperatornotonlycanbeadjustedthroughgesturestotemperatureappropriatecontrol,maketheoperationmoreconvenient,morecreativeandtemperaturecompensationmodule,cancollectenvironmentaltemperature,andfeedbacktothemicrocontroller,realizecolddayhencetonalcontrol.Keywords:STM32microcontroller,indoorlighting,intelligentcontrolsystem.目录论文总页数:35页第一章绪论...........................................................................................................................61.1课题的来源及研究目的和意义.................................................................................................61.2国内外研究现状分析.................................................................................................................61.3本产品的主要研究目的.............................................................................................................7第二章硬件电路的设计...................................................................................................72.1硬件电路整体设计思路...........................................................................................................72.2硬件电路模块的设计...............................................................................................................72.2.1微小型控制器STM32f103VET6.............................................................................................72.2.2电源电路................................................................................................................................82.2.3光照传感器模块......................................................................................................................92.2.4APDS-9960手势传感模块...................................................................................................102.2.5照明模块..............................................................................................................................102.2.6报警模块..............................................................................................................................122.2.7遥控模块..............................................................................................................................122.2.8OLED液晶屏显示模块.........................................................................................................132.2.9DS18B20温度传感器...........................................................................................................132.2.10其他电路元件及结构........................................................................................................14第三章系统软件的设计..................................................................................................153.1系统软件的总体介绍...............................................................................................................153.2STM32F103微控制处理器编程设计.........................................................................................153.2.1软件功能介绍........................................................................................................................153.2.2软件特性介绍........................................................................................................................153.2.3软件的运行环境介绍............................................................................................................163.2.4软件系统的硬件物理结构....................................................................................................163.3STM32F103微控制处理器软件系统结构..................