Paul Baumgartner
.NET Micro Framework

Mobile Home Control - Video

This video shows the usage and the implementation of our Mobile Home Control system.

Please give us feedback: baul_baumgartner@yahoo.de



  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Info Terminal

Our Info Terminal loads its content from a web server via Web Services. We built a full scalable Silverlight Homepage, in which we can edit the contents for the Info terminal. Our Info Terminal application runs on a Tahoe II developer board.

The interface for the page is easy to use. At first you have to login as an Administrator. Then you can add edit or delete news entries. You are also able to set an entry as invisible. A news entry can consist of a picture and as a text content. Internally the Homepage works with WCF Web Services. The Service scales the image into an adequate format for the Tahoe II display and saves the picture on the server.

We made two versions for the Info Terminal:

In one version we saved the picture in the database of the server and received it via the Web Service. In this version we had a problem with the base64 decoding. The whole communication worked very well, but the Deserializer took very much time to decode the picture.

This problem made us to develop an easier way to transmit the picture. Now the Tahoe II receives the news-entries with the URL of the image via Web Services and then loads the image separately over a HTTP connection.

The interface of the Micro Framework Application is also very easy. At first you have to login as a user. Then you get a list of 20 news entries maximum. Only the header and a small picture are shown. If you click on a news entry, you can see the whole news entry with its text. You can also click on the picture to see the picture in a bigger format, scaled to the display size of the Tahoe II. Every 30 seconds the Info Terminal polls if there are new news or an entry was edited. If a change is detected, the Info Terminal will update its content.

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



  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Mobile Home Control

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



  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati