设计了基于单片机的低碳生活的室内温度控制系统。本系统主要通过单片机对温度传感器DS18B20的实时温度进行采集,利用制冷和加热装置自动调节室内温度,以实现火灾预警功能。通过DS1302时钟模块来实现时钟的精确运行和显示;通过光敏电阻对室内光线进行实时监控,来实现对室内灯光的控制和窗帘的自动开闭。本系统经过实验测试,能够实现室内温度的自动调节、时钟的定时和显示、灯光的自动控制和窗帘的自动开闭等功能,性能稳定,各项指标满足设计要求。
In order to realize the safe,comfortable,intelligent,low carbon,high quality and modernization life,through the analysis and study of intelligent household system,we design an indoor temperature control system of low carbon life based on microcomputer. This system can gather the real-time temperature by the temperature sensor DS18B20 through the microcomputer,and automatically adjust the indoor temperature through the refrigeration and heating equipment for fire warning function. It can also realize the accurate operation and display of clock through the DS1302 clock module,the real-time monitoring of indoor light through the photoconductive resistance,the control of the indoor lighting,and automatically opening and closing curtains. This system is tested by experiments. It works well and can fulfill the designing requirements.