Smart house monitoring and actuating system development using automatic code generation

This paper presents the development of a wireless networked microcontroller system. The network can be used for general-purpose monitoring and controlling activities, as well applied to the home automation (Domotics) area and to Wireless Sensor Networks (WSN) area. The network is composed by two types of elements, a coordinator and the nodes. The system can be controlled remotely through a web page. The system development framework was also used as a platform to validate the PNML2C tool that is able to generate C code automatically. This tool generates C code that implements a model expressed by an IOPT (Input Output Place Transition) Petri Net model represented using the PNML (Petri Net Markup Language) format. The network nodes are implemented using this tool, and its results are analyzed. A fully functional sensor-actuator network was implemented, amenable for monitoring and actuating activities, relying only on low cost components. A laboratory prototype was developed allowing validation of the results. The PNML2C tool was successfully integrated in the development framework and revealed adequate to produce an executable translation from the IOPT model amenable for supporting its implementation.

[1]  Ramesh Govindan,et al.  Embedded Sensor Networks , 2005, Handbook of Networked and Embedded Control Systems.

[2]  Joakim Eriksson,et al.  Integrating building automation systems and wireless sensor networks , 2007, 2007 IEEE Conference on Emerging Technologies and Factory Automation (EFTA 2007).

[3]  Paul J. M. Havinga,et al.  Introduction to Wireless Sensor Networks , 2009, Networked Embedded Systems.

[4]  Sajjad Ahmad Madani,et al.  Power Aware Simulation Framework for Wireless Sensor Networks and Nodes , 2008, EURASIP J. Embed. Syst..

[5]  Ekkart Kindler,et al.  The Petri Net Markup Language , 2003, Petri Net Technology for Communication-Based Systems.

[6]  Luís Gomes,et al.  A graphical editor for the input-output place-transition petri net class , 2007, 2007 IEEE Conference on Emerging Technologies and Factory Automation (EFTA 2007).

[7]  L. Gomes,et al.  The Input-Output Place-Transition Petri Net Class and Associated Tools , 2007, 2007 5th IEEE International Conference on Industrial Informatics.

[8]  Sandeep K. Shukla,et al.  Design Issues for Networked Embedded Systems , 2005, Embedded Systems Handbook.