设计简介:
项目名:楼道节能灯
单片机类型:STM32F103C8T6
具体功能:
1、通过声音检测模块,检测楼道是否有声音;
2、通过光敏电阻检测模块,检测楼道光线是否过暗;
3、通过人体热释电红外感应模块,检测楼道是否有人经过;
4、当楼道光线较暗的时候,并且检测到有人以及有声音时,自动打开楼道灯;
5、通过楼道节能灯按键,可以手动控制灯的亮灭;
总字数:12036
摘 要
照明灯作为常见的基础设施设备,被广泛用于工厂、商场、居民楼等公共场所,给人们的生产生活带来极大便利,不过,当前的长明现象十分严重,不仅造成电能的浪费,还严重影响人们正常的休息。此外,经常触动照明灯的开关,也会造成开关频繁损坏,这不仅加大了维修工作量和维修成本,还无法满足人们对智能照明产品的需求。
为了解决上述问题,本设计提出了一种基于STM32主控芯片的智能楼道照明综合控制系统设计。该系统利用光敏电阻检测楼道光线是否过暗,利用声音传感器监测楼道是否有声音,利用人体热释电红外传感器检测楼道是否有人经过,此外还可以通过按键手动控制楼道灯的开闭。当系统监测到楼道光线较暗,并且有人或者有声音时,该系统自动打开楼道灯进行照明。由于该智能灯控系统能自动响应光线的变化,可有效的节约能源和降低成本,提高用户的舒适性、便利性,符合智能时代对智能灯控的需求。
关键词:STM32;楼道声控;照明灯;传感器
Design of intelligent corridor voice control system based on single chip microcomputer
Abstract
As a common infrastructure equipment, lighting is widely used in factories, shopping malls, residential buildings and other public places, to bring great convenience to people’s production and life, however, the current Changming phenomenon is very serious, not only cause the waste of electric energy, but also seriously affect people’s normal rest. In addition, often touch the light switch, will also cause frequent switch damage, which not only increases the maintenance workload and maintenance costs, but also can not meet people’s demand for intelligent lighting products.
In order to solve the above problems, this design proposes a design of intelligent corridor lighting integrated control system based on STM32 main control chip. The system uses photoresistors to detect whether the light in the corridor is too dark, uses sound sensors to monitor whether there is sound in the corridor, uses human pyroelectric infrared sensors to detect whether people pass by in the corridor, and can also manually control the opening and closing of the corridor lights through the button. When the system detects that the light in the corridor is dim, and there are people or sounds, the system automatically turns on the corridor lights for lighting. Because the intelligent light control system can automatically respond to changes in light, it can effectively save energy and reduce costs, improve the comfort and convenience of users, and meet the needs of intelligent light control in the intelligent era.
Keywords: STM32; Corridor voice control; A floodlight; sensor.
目 录
摘 要 I
Abstract II
1 绪论 1
2 整体设计方案和选择论证 4
3 智能照明灯硬件设计 8
4 楼道照明灯软件设计 13
5 智能照明灯实物调试 17
6 总结 21
参考文献 22
致 谢 23