This is a rich-internet application written in Flash which demonstrates what you can do with some of the wind data. The speedometer and histogram are commercial controls you can cheaply buy from flashloaded.com. The Flash ActionScript used to implement the logic of this application is included in the middleware and client download in the Downloads section of this site.

The quick summary of how this works is that the AVR MT 128 controller firmware (as downloaded from this site) is feeding a stream of data out its serial port into a Linux server. The simple data stream coming from the AVR looks like this:

NW,12mph
N,15mph

There are two ways to create this XML feed from the OSCirrus device. The method you choose depends upon your connection to the Linux box. The two choices are a direct serial connection into the box or you can use a serial to TCP/IP converter and connect to the OSCirrus device through a socket. For the latter method, I have some Ruby code which is a socket client that reads the serial data stream and drops the XML data feed into the correct place on the web server. For the direct serial link, the Groovy code reads the serial port of the Linux server, converts the simple data stream into an XML formatted file that includes the timestamp of the datapoint, some additional info wired into the middleware like the station id (the name of this station collecting data), and the latitude and longitude of the station. Those bits are set in the Groovy code. Once the Groovy translates the data, the weather.xml feed will look like this:

<?xml version="1.0" encoding="utf-8"?>
<weather>
    <sid>Spaatz01</sid>
    <date>2007-04-13T12:14:34-0700</date>
    <ws>15</ws>
    <hd>N</hd>
    <lat>39.065</lat>
    <lon>-104.887</lon>
</weather>

The Groovy code then drops that XML into the OSCirrus web site. See weather.xml to see the file - each refresh you should see the contents of this file change every 3-5 seconds. You need to "View Source" from your browser to see the actual XML.

The Flash client is simply making an HTTP request to acquire the weather.xml every few seconds. It parses the XML into an ActionScript object (DOM-like), and plucks the heading, windspeed, and other data in the feed and manipulates the controls in the page to reflect the data. The Action script code is available in the downloads section the OSCirrus site.

So, this is a very simple example of how you can convert something really raw like a serial stream from a microcontroller into something pretty slick for the web. The Groovy and Flash are there for examples and would need to be customized to your environment for each to work. For the Flash part, you will need the Flash 8 authoring environment from Adobe and the controls which you buy from flashloaded.com. So, unless you already have the Flash 8 authoring, more than likely you'll want to try a different form of presentation, but this gives you a starting point.