Font Size: a A A

Research And Design Of Intelligent Home Lower Computer System Based On STM32 And ZigBee

Posted on:2016-07-10Degree:MasterType:Thesis
Country:ChinaCandidate:X D WangFull Text:PDF
GTID:2132330464963526Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
Nowadays, with the rapid development of economy and the improvement of people’s living standards, people’s life quality is becoming more and more highly requested. Under such a big background, intelligent housing system comes into being. Intelligent housing system has already had a considerable development with the development of the Internet of things over the past decade. However, intelligent housing system is not widely used so far due to the limitation of technology and cost. Therefore,a convenient, practical and economical intelligent housing system becomes the urgent need of people. With the rapid development of the Internet of things, it becomes possible to design a set of intelligent housing system which is relatively inexpensive.In order to satisfy people’s need for intelligent housing system, this paper developed a lower machine part of intelligent housing system by using the Internet of things technology. The lower machine part is of practical functioning and price moderate. The system can be used as a complete set of intelligent housing system when we add the client computer or mobile client which can receive data and issue instructions. Since we didn’t do the design of upper machine parts in the system, so we use socket tool to receive data and issue instructions.This paper studied the system mainly from the two aspects of hardware and software:(1)The hardware circuit consists mainly of the gateway and the ZigBee network system. We use stm32 series chips as the main control chip of the circuit board of the gateway and sim900 module as the communication module, which is responsible for sending data to the upper machine parts by GPRS. The ZigBee network system consists of a coordinator and six terminal nodes. The coordinator was plugged into the printed circuit boards of the gateway by pin headers. Six terminal nodes are the temperature and humidity monitoring module, the body infrared detection module, the concentration of the smoke detection module, fan control module, DC motor driving module and LED lamp control module. The main control chip of the coordinator and terminal nodes is cc2530 and each terminal node has different sensors. The workflow of the system is that the ZigBee network send data which are collected by the sensors on the terminal nodes to the coordinator, and then the coordinator send data to the gateway via a serial port. The gateway will send these data to the upper machine parts by GPRS as soon as it receives data. The upper machine part uses socket toll to receive and display the data. The users can also issue instructions through the socket toll and then send the instructions to the terminal nodes through the gateway. The terminal nodes will perform actions like opening and turning off the lights, fans and DC motor, etc as instructed.(2)We adopt Keil MDK and IAR software for the programming and debugging environment. MDK- ARM is specially designed for applications of microcontroller. It is not only easy to learn and to use, but also powerful enough to satisfy the most embedded applications. IAR Systems is the world leader tool in the development of embedded system. The programming language of the system is the C language which is readable and of high flexibility. The system adopts modular programming method which can improve the efficiency of programming greatly and is easy to modify and upgrade the programs.Functions of the system are to collect the temperature and humidity data,to detect the smoke concentration, to detect whether there is someone go via the place and to open or turn off the lights, fan and switches of dc motor( the switch of the analog curtain). The upper machine part is not in the scope of the research, so we use the socket toll to display data and issue instructions. We just need to write a client of the upper machine part to replace the socket toll tools to receive and display data in practical applications.
Keywords/Search Tags:Intelligent housing system, The lower machine part, STM32, cc2530, GPRS
PDF Full Text Request
Related items