LonWorks (Local Operating Network) is a networking platform specifically created to address the needs of control applications. The platform is built on a protocol created by Echelon Corporation for networking devices over media such as twisted pair, powerlines and RF. It is used for the automation of various functions within industrial buildings such as lighting, HVAC, water chiller, security systems and shading. In industrial building automation, different bus system architectures are used, so the whole network is generally heterogeneous. This is why gateways are needed, to connect the different bus systems to each other.
I will present a LonWorks compliant gateway’s embedded software in my master’s thesis. In the first part of the thesis I describe the LonWorks bus system, the communication protocol and the necessary microcontroller for a LonWorks compliant device. The next part is about the development tools, which are related to working in LonWorks environment. Then I make a software plan to the gateway functions. Based on the plans, I develop an embedded software at special programming language, called Neuron C. I show some major elements of Neuron C, then I explain the software mechanisms what the gateway will put into effect. The last developing step is making some test about the right operation of the LonWorks gateway. Finally, I discuss the possibilities of developing a hardware module, summarize and evaluate the performed work.