| Since twenty-first Century,with the continuous progress of science and technology,the rapid development of medical technology,the prolongation of the life expectancy and the decrease of birth rate,the aging of the whole population has become an inevitable trend.It is also a major issue in the development of human society.China is one of the fastest aged countries.With the acceleration of the aging process,the number of empty nesters and the elderly living alone is increasing.The demand for old-age service and social old-age security has risen sharply.The traditional family old-age mode is facing a severe challenge,more and more people choose the old apartment as the old-age way,that is,the institution for the aged.China is actively taking measures to launch a series of policies and policies aiming at accelerating the scientific development of old-age service institutions.With the growing size of the old apartment and the increasing number of old people,the limited managers are unable to take care of each old man all the time.Some people who live in the old age do not have the ability of self-care.They can not feel the change of temperature and humidity in the elderly apartment in time.They cannot respond to unexpected accidents such as fires in apartments.Therefore,a large number of accidents happen in pension institutions every year,causing casualties and huge property losses.At present,a series of products launched for intelligent pension in China are mostly expensive and single function,which can not monitor the environment of the elderly apartments in real time,and are not conducive to promotion.The State Council has made clear that it is necessary to speed up the intelligent and informational development of the service for the aged,and to establish a comprehensive old-age service system by using the Internet of things and Internet technology.Therefore,it is the key to improve the intelligent management of the elderly apartment and provide the elderly with a safe,comfortable and humanized service.Based on this point,the thesis designed the intelligent environment monitoring system for the elderly apartment,and demonstrated the feasibility of the design plan by building software and hardware platform and function realization.Considering the problems of low cost,low power consumption,scalability and multiple network nodes,the system chooses the ZigBee wireless communication mode and combines the Web server development technology to achieve the system's software and hardware design.It mainly includes four parts: the core controller module,the ZigBee wireless communication module,the sensor module and the monitoring center.The model selection,characteristics analysis,technical index analysis and hardware circuit design of each module are carried out in combination with the system requirements.In the Keil environment,the software running program of each module is written in the C language.The design and construction of the monitoring center,including the TCP console design,Web server design,database design.The core controller and the monitoring center establish TCP connection,drive the sensor device to send the apartment environment information to the cloud server through the network.Apartment managers can visit the Web pages through mobile phones,PC and so on to view the current environment information of the apartment and the activity state of the old people,and control the terminal devices in the apartments by sending control instructions to the control nodes.It is convenient to conduct effective management and care for the elderly in the elderly apartment.It provids a more comfortable and safe daily living environment for the elderly,effectively reduces the risk of accidents and prevents fires.After the function test,each module of the system runs well,and realizes the functions of the system design.It has good real-time performance,strong stability and no false alarm,demonstrating the feasibility of the design scheme proposed by the system. |