Paul Baumgartner
.NET Micro Framework

Mobile Home Control

Tuesday, February 23, 2010 12:19 PM

Our Mobile Home Control project is based on the project work of 3 other students of our school. They developed a Universal Mobile Home Control System. We expanded this project with a client based on the .Net Micro Framework with our Tahoe II development board.

Mobile Home Control is a universal system in which you can control digital and analog I/Os and monitor electrical devices. The system consists of some control modules, which are connected to a server via TCP and provided with some digital and analog I/Os. A control module consists of an ATmega 32 Microcontroller and a Wiznet-Ethernet Module for the Ethernet Connection. The server provides web services to control the modules. The access to the web services is protected with a username and a password. There are two kinds of user roles: Admins can add, configure or delete modules within the system. A normal user can control the modules. Last year 2 clients were developed:

One client is a fully scalable Silverlight Page. Within this page you can control the modules and you can also watch a live-stream of WLAN cameras in which the modules or electrical devices can be monitored. In the live-stream you can click on electrical devices (e.g.: a bulb) to change its state. If you click on an activated bulb, it will switch off and vice versa.

Another client was an application for the Java Micro Edition. Nowadays nearly everybody has a Java-enabled mobile phone, so this is a very useful application. For newer mobile phones with acceleration sensors, you can change the state of the digital I/O’s by tilting the mobile phone or control the analog output by turning it.

Our project is a client for the .NET Micro Framework. As we have to connect to web services, we had to build the Proxy Class for the communication with its XML-Serializer and XML-Deserializer. We started our project with .NET MF 3.0, so we had to build our own HTTP class based on the Grommet library. For the ASP .Net authentication service we had to implement support for session-cookies. We also built a universal GUI-library for further projects.

The user-interface is really simple. At first you have to login to the system. Then a list of all available control modules is displayed. If you choose one control module, you get a list of all its available analog and digital I/Os and their status. For the analog I/Os you have a slider control in which you can set the value.

The special thing about our project is the universal and easy usability of the system and the cheap implementation. Controlling of the system can easily be done via a standard web browser (with Silverlight-plugin), a Java-enabled mobile phone and now with a .Net Micro Framework client.

We completed this project as a final year project at school. At this point we want to thank DI Waser for his technical support and the idea for the project.

Within the next 2 weeks we will publish a YouTube-video of the project. There we can show the whole functionality of the project.

Please give a feedback: baul_baumgartner@yahoo.de




Feedback

No comments posted yet.


Post a comment