| There are equipments from different manufacturers in the system integration of intelligent buildings. It is not convenient for integration and management to use all kinds of application software and communication protocols. So it is an insistent problem to establish a uniform communication protocol stood by all manufacturers to get a standard integration of sub-systems in buildings. BACnet is a data communication protocol for building automation control networks. The prime purpose of BACnet is to provide an interoperation method for building automation control system. Manufacturers develop equipments and interfaces compatible with building control networks according to this standard. And all equipments from different manufacturers can exchange data under BACnet. In fact, infrared remote control system is the user interface of intelligent home. People can control any device of BACnet in intelligent home by using the infraed remote controller. But it is not a device of BACnet. So the paper discussed how to design and implement the gateway of infrared / BACnet in order to make communication between infrared system and BACnet. This paper introduces the development of BACnet protocol at first, and introduces BACnet protocol stack principle and concept of intelligent home. Then bring forward the research task in the background of intelligent home, that is, design and implement intelligent home based on BACnet. At first, presentation Home Information Center in intelligent home. Then introduces the structure and function of infrared remote system in the whole. The part of design layout the whole gateway software, mark off the physical layer, link layer , bus control layer ,queue management layer and BACnet API layer.Then in the chapter 4 the paper discusses the IrC(infrared control) bus protocol. The part of implement describe the main code and the key structure. Finally, we summarize the entire intelligent home based on BACnet as conclusion and future work are also presented. |