为了实现家居环境信息的可视化,设计一款智能家居信息仪。该系统基于STC12芯片集成了时钟显示、温湿度检测、有害气体浓度检测与报警、防盗报警、噪音检测等功能。该系统设计分为硬件设计和软件设计,硬件部分介绍各部分硬件选型及总电路的设计,软件部分采用C语言编程实现各个模块程序的设计及整个系统的程序设计。结果表明,该系统功能全面,具有经济性、实用性等优点。
In order to achieve the visualization of home environment information, a smart home information instrument was designed. The functions of clock display, temperature-humidity detection, harmful gas concentration detection and alarm, bur- glar alarm and noise detection are integrated in the system based on STC12 chip. The design of system is divided into two parts of hardware and software. The selection of some hardwares and overall circuit design are introduced in the hardware section. C language programming is adopted in the software section to realize program design of each module and program design of the whole system. The result shows that the function of the system is comprehensive, and has the advantages of economy and practi- cability.