firebug-cvs Mailing List for FireBug: wireless wildfire monitoring (Page 30)
Brought to you by:
doolin
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(36) |
Jun
(45) |
Jul
(108) |
Aug
(31) |
Sep
(2) |
Oct
(4) |
Nov
(113) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(63) |
Feb
(37) |
Mar
(24) |
Apr
(6) |
May
(5) |
Jun
(5) |
Jul
(71) |
Aug
(42) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(64) |
Jun
(71) |
Jul
(51) |
Aug
(89) |
Sep
(24) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
|
Feb
|
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
(21) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: <do...@us...> - 2003-11-04 22:58:50
|
Update of /cvsroot/firebug/mts400/apps In directory sc8-pr-cvs1:/tmp/cvs-serv11081/apps Log Message: Directory /cvsroot/firebug/mts400/apps added to the repository |
From: <do...@us...> - 2003-10-30 17:41:36
|
Update of /cvsroot/firebug/firebug/project/src/sensordata In directory sc8-pr-cvs1:/tmp/cvs-serv5632 Modified Files: Makefile TestMTS400.nc TestMTS400M.nc Log Message: Currently running application from xbow. Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/sensordata/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 21 Aug 2003 20:31:05 -0000 1.1 --- Makefile 30 Oct 2003 17:41:31 -0000 1.2 *************** *** 46,50 **** MAIN_EXE= $(BUILDDIR)/main.exe MAIN_SREC= $(BUILDDIR)/main.srec ! TARGETS= CollectDataFB BaseStation TestMTS400 TARGET := $(filter $(TARGETS), $(MAKECMDGOALS)) MAKECMDGOALS := $(filter-out $(TARGET), $(MAKECMDGOALS)) --- 46,50 ---- MAIN_EXE= $(BUILDDIR)/main.exe MAIN_SREC= $(BUILDDIR)/main.srec ! TARGETS= CollectDataFB BaseStation TestMTS400 test400 TARGET := $(filter $(TARGETS), $(MAKECMDGOALS)) MAKECMDGOALS := $(filter-out $(TARGET), $(MAKECMDGOALS)) Index: TestMTS400.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/sensordata/TestMTS400.nc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestMTS400.nc 21 Aug 2003 20:31:05 -0000 1.1 --- TestMTS400.nc 30 Oct 2003 17:41:31 -0000 1.2 *************** *** 1,67 **** ! /* tab:4 ! * ! * ! * "Copyright (c) 2000-2002 The Regents of the University of California. ! * All rights reserved. ! * ! * Permission to use, copy, modify, and distribute this software and its ! * documentation for any purpose, without fee, and without written agreement is ! * hereby granted, provided that the above copyright notice, the following ! * two paragraphs and the author appear in all copies of this software. ! * ! * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR ! * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT ! * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF ! * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ! * ! * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, ! * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY ! * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ! * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO ! * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." ! * ! */ ! /* tab:4 ! * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By ! * downloading, copying, installing or using the software you agree to ! * this license. If you do not agree to this license, do not download, ! * install, copy or use the software. ! * ! * Intel Open Source License ! * ! * Copyright (c) 2002 Intel Corporation ! * All rights reserved. ! * Redistribution and use in source and binary forms, with or without ! * modification, are permitted provided that the following conditions are ! * met: ! * ! * Redistributions of source code must retain the above copyright ! * notice, this list of conditions and the following disclaimer. ! * Redistributions in binary form must reproduce the above copyright ! * notice, this list of conditions and the following disclaimer in the ! * documentation and/or other materials provided with the distribution. ! * Neither the name of the Intel Corporation nor the names of its ! * contributors may be used to endorse or promote products derived from ! * this software without specific prior written permission. ! * ! * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ! * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ! * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A ! * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL OR ITS ! * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, ! * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, ! * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR ! * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF ! * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING ! * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ! * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ! * ! * ! */ ! configuration TestMTS400 { } implementation { ! components Main, TestMTS400M, SensirionHumidity, \ ! IntersemaPressure,MicaWbSwitch,UARTGpsPacket,TimerC, NoLeds,LedsC, Accel, TaosPhoto; Main.StdControl -> TestMTS400M; --- 1,9 ---- ! configuration TestMTS400 ! { } implementation { ! components Main, TestMTS400M, SensirionHumidity, ! IntersemaPressure,MicaWbSwitch,UARTGpsPacket, ! TimerC, NoLeds,LedsC, Accel, TaosPhoto; Main.StdControl -> TestMTS400M; Index: TestMTS400M.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/sensordata/TestMTS400M.nc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestMTS400M.nc 21 Aug 2003 20:31:05 -0000 1.1 --- TestMTS400M.nc 30 Oct 2003 17:41:31 -0000 1.2 *************** *** 1,62 **** - /* tab:4 - * - * - * "Copyright (c) 2000-2002 The Regents of the University of California. - * All rights reserved. - * - * Permission to use, copy, modify, and distribute this software and its - * documentation for any purpose, without fee, and without written agreement is - * hereby granted, provided that the above copyright notice, the following - * two paragraphs and the author appear in all copies of this software. - * - * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR - * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT - * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF - * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS - * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO - * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." - * - */ - /* tab:4 - * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By - * downloading, copying, installing or using the software you agree to - * this license. If you do not agree to this license, do not download, - * install, copy or use the software. - * - * Intel Open Source License - * - * Copyright (c) 2002 Intel Corporation - * All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL OR ITS - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - */ /* History: created 1/25/2001 * --- 1,2 ---- *************** *** 65,89 **** /* TestMTS350: ! - Tests Crossbow MTS350 sensor board for: gps, temperature, humidity, light, accel ! */ ! ! /****************************************************************************** ! * Measures MTS400/420 weatherboard sensors & gps and converts to engineering units ! * were possible. ! *----------------------------------------------------------------------------- ! * Output results through mica2 uart port. Connect serial cable from programming ! * board to PC to monitor ouput. Use any terminal monitoring program set for ! * 57600, N,8,1 ! *------------------------------------------------------------------------------ ! * Runs in one of two modes: ! * gps_active = TRUE : turns on gps and outputs messages; weather sensors not used ! * = FALSE: turns off gps ; measure weather sensors ! *------------------------------------------------------------------------------ ! * NOTE: ! * No real power strategy; just turns sensors on sequentially. ! * Should add BusArbitration routines, like mica2dotwb for better power control ! *****************************************************************************/ ! --- 5,29 ---- /* TestMTS350: ! - Tests Crossbow MTS350 sensor board for: gps, temperature, humidity, light, accel ! */ ! ! /****************************************************************************** ! * Measures MTS400/420 weatherboard sensors & gps and converts to engineering units ! * were possible. ! *----------------------------------------------------------------------------- ! * Output results through mica2 uart port. Connect serial cable from programming ! * board to PC to monitor ouput. Use any terminal monitoring program set for ! * 57600, N,8,1 ! *------------------------------------------------------------------------------ ! * Runs in one of two modes: ! * gps_active = TRUE : turns on gps and outputs messages; weather sensors not used ! * = FALSE: turns off gps ; measure weather sensors ! *------------------------------------------------------------------------------ ! * NOTE: ! * No real power strategy; just turns sensors on sequentially. ! * Should add BusArbitration routines, like mica2dotwb for better power control ! *****************************************************************************/ ! *************** *** 91,509 **** provides interface StdControl; uses { ! //gps ! interface I2CSwitchCmds as GpsCmd; ! interface StdControl as GpsControl; ! interface BareSendMsg as GpsSend; ! interface ReceiveMsg as GpsReceive; ! ! //Accels ! interface StdControl as AccelControl; ! interface I2CSwitchCmds as AccelCmd; ! interface ADC as AccelX; ! interface ADC as AccelY; ! ! //Intersema ! interface SplitControl as PressureControl; ! //interface StdControl as PressureControl; ! interface ADC as IntersemaTemp; ! interface ADC as IntersemaPressure; ! interface Calibration as IntersemaCal; ! ! //Sensirion ! interface SplitControl as TempHumControl; ! interface ADC as Humidity; ! interface ADC as Temperature; ! interface ADCError as HumidityError; ! interface ADCError as TemperatureError; ! //Taos ! interface SplitControl as TaosControl; ! interface ADC as TaosCh0; ! interface ADC as TaosCh1; ! ! interface Timer; ! interface Leds; ! ! ! } ! } implementation { ! #include "SODebug.h" ! #include "gps.h" ! ! enum {START, BUSY, HUMIDITY_DONE, PRESSURE_DONE, LIGHT_DONE, ACCEL_DONE}; ! ! char count; ! ! uint16_t calibration[6]; uint16_t C1,C2,C3,C4,C5,C6; //intersema calibration coefficients ! uint16_t TaosData; ! uint16_t HumData; ! uint16_t PressureData; ! uint16_t AccelData; ! uint8_t state; ! ! bool gps_active; //true if gps is active ! ! command result_t StdControl.init() { ! gps_active = FALSE; //change to FALSE to measure weather sensors ! //gps_active = TRUE; ! ! TaosData = 0; ! ! init_debug(); call Leds.init(); ! call GpsControl.init(); ! ! ! // call GpsControl.start(); ! // call GpsCmd.PowerSwitch(0); //turn off GPS power, after reset it will be on. ! // call GpsControl.stop(); ! ! ! call TaosControl.init(); ! call AccelControl.init(); //initialize accelerometer ! call TempHumControl.init(); //init Sensirion ! call PressureControl.init(); // init Intersema return SUCCESS; } ! command result_t StdControl.start() { ! ! call HumidityError.enable(); //in case Sensirion doesn't respond call TemperatureError.enable(); // " ! ! if (gps_active){ ! ! call Leds.redOn(); ! call GpsControl.start(); ! SODbg(DBG_USR2, "Power GPS... \n"); ! if (! call GpsCmd.PowerSwitch(1)) { //turn on GPS power ! SODbg(DBG_USR2, "Failed to power on gps \n"); ! } ! } ! else{ ! call Leds.redOn(); ! call Leds.yellowOn(); ! call Leds.greenOn(); ! state = START; ! call Timer.start(TIMER_REPEAT, 500); //start up weather sensor measurements ! } ! return SUCCESS; ! } ! ! command result_t StdControl.stop() { ! return SUCCESS; ! } ! ! /****************************************************************************** ! * Timer fired, test GPS, humidity/temp ! * async for test only ! *****************************************************************************/ ! async event result_t Timer.fired() { ! ! ! ! call Leds.redOff(); ! call Leds.yellowOff(); ! call Leds.greenOff(); ! ! if ( state == ACCEL_DONE) state = START; ! ! if (state == START){ ! state = BUSY; ! call TempHumControl.start(); ! } ! if (state == HUMIDITY_DONE){ ! state = BUSY; ! call PressureControl.start(); ! } ! if (state == PRESSURE_DONE){ ! state = BUSY; ! call TaosControl.start(); ! ! } ! if (state == LIGHT_DONE){ ! state = BUSY; ! call AccelCmd.PowerSwitch(1); ! } ! ! return SUCCESS; ! } ! /****************************************************************************** ! * Packet received from GPS - ASCII msg ! * 1st byte in pkt is number of ascii bytes ! * async used only for testing ! *****************************************************************************/ ! async event TOS_MsgPtr GpsReceive.receive(TOS_MsgPtr data) { //change to GPS packet!! ! uint8_t i; ! ! GPS_MsgPtr gps_data = (GPS_MsgPtr)data; ! call Leds.greenToggle(); ! ! for (i = 0; i <= gps_data->data[0] ; i++) UARTPutChar(gps_data->data[i]); ! SODbg(DBG_USR2, "\n"); ! return data; ! } ! ! event result_t GpsSend.sendDone(TOS_MsgPtr msg, result_t success) { ! return SUCCESS; ! } ! ! ! event result_t GpsCmd.SwitchesSet(uint8_t PowerState){ ! gps_active = TRUE; ! SODbg(DBG_USR2, "Gps power on \n"); ! call Leds.yellowOn(); ! return SUCCESS; ! } ! /****************************************************************************** ! * Intersema MS5534A barometric pressure/temperature sensor ! * - 6 cal coefficients (C1..C6) are extracted from 4, 16 bit,words from sensor ! * - Temperature measurement: ! * UT1=8*C5+20224 ! * dT=data-UT1 ! * Temp=(degC x10)=200+dT(C6+50)/1024 ! * - Pressure measurement: ! * OFF=C2*4 + ((C4-512)*dT)/1024 ! * SENS=C1+(C3*dT)/1024 + 24576 ! * X=(SENS*(PressureData-7168))/16384 - OFF ! * Press(mbar)= X/32+250 ! *****************************************************************************/ ! event result_t IntersemaTemp.dataReady(uint16_t data) { ! float UT1,dT,Temp; ! float OFF,SENS,X,Press; ! //temperature ! UT1=8*(float)C5+20224; ! dT = (float)data-UT1; ! Temp = 200.0 + dT*((float)C6+50.0)/1024.0; ! //pressure ! OFF = (float)C2*4 + (((float)C4-512.0)*dT)/1024; ! SENS = (float)C1 + ((float)C3*dT)/1024 + 24576; ! X = (SENS*((float)PressureData-7168.0))/16384 - OFF; ! Press = X/32.0 + 250.0; ! ! SODbg(DBG_USR2, "Pressure: Temp(adc): %i Press(adc): %i Temp(degCx10): %i Press(mbar): %i \n", ! data,PressureData,(int)Temp, (int)Press); ! ! call PressureControl.stop(); ! return SUCCESS; ! } ! ! event result_t IntersemaPressure.dataReady(uint16_t data) { ! PressureData = data; ! return call IntersemaTemp.getData(); ! } ! ! event result_t IntersemaCal.dataReady(char word, uint16_t value) { ! // make sure we get all the calibration bytes ! count++; ! // SODbg(DBG_USR2, " cal word %i value %x \n",word,value); ! calibration[word-1] = value; ! ! if (count == 4) { ! SODbg(DBG_USR2, "Pressure cal words (1..4): %x,%x,%x,%x \n", ! calibration[0],calibration[1],calibration[2],calibration[3] ); ! C1 = calibration[0] >> 1; ! C2 = ((calibration[2] & 0x3f) << 6) | (calibration[3] & 0x3f); ! C3 = calibration[3] >> 6; ! C4 = calibration[2] >> 6; ! C5 = ((calibration[0] & 1) << 10) | (calibration[1] >> 6); ! C6 = calibration[1] & 0x3f; ! // SODbg(DBG_USR2, "Pressure C1:%x C2:%x C3:%x C4:%x C5:%x C6:%x \n", ! // C1,C2,C3,C4,C5,C6 ); ! SODbg(DBG_USR2, "Pressure C1:%i C2:%i C3:%i C4:%i C5:%i C6:%i \n", ! C1,C2,C3,C4,C5,C6 ); ! ! ! call IntersemaPressure.getData(); ! } ! ! return SUCCESS; ! } ! ! event result_t PressureControl.initDone() { ! return SUCCESS; ! } ! ! event result_t PressureControl.stopDone() { ! state = PRESSURE_DONE; ! return SUCCESS; ! ! ! } ! ! event result_t PressureControl.startDone() { ! count = 0; ! call IntersemaCal.getData(); ! return SUCCESS; ! } ! ! /****************************************************************************** ! * Sensirion SHT11 humidity/temperature sensor ! * - Humidity data is 12 bit: ! * Linear calc (no temp correction) ! * fRH = -4.0 + 0.0405 * data -0.0000028 * data^2 'RH linear ! * With temperature correction: ! * fRH = (fTemp - 25) * (0.01 + 0.00008 * data) + fRH 'RH true ! * - Temperature data is 14 bit ! * Temp(degC) = -38.4 + 0.0098 * data ! *****************************************************************************/ ! event result_t Temperature.dataReady(uint16_t data) { ! float fTemp, fHumidity; ! ! fTemp = -38.4 + 0.0098*(float)data; ! fHumidity = -4.0 + 0.0405 * HumData -0.0000028 * HumData * HumData; ! fHumidity= (fTemp-25.0)* (0.01 + 0.00008 * HumData) + fHumidity; ! fTemp = 10*fTemp; ! SODbg(DBG_USR2, "Humidity: Temp(adc): %i Humidity(adc): %i Temp(degCx10): %i Humidity(%): %i \n", ! data,HumData,(int)fTemp, (int)fHumidity); ! ! call TempHumControl.stop(); return SUCCESS; } ! event result_t Humidity.dataReady(uint16_t data) { ! HumData = data; //pressure data ! return call Temperature.getData(); ! } ! ! event result_t TempHumControl.startDone() { ! call Humidity.getData(); ! return SUCCESS; ! } ! ! event result_t TempHumControl.initDone() { ! return SUCCESS; ! } ! ! event result_t TempHumControl.stopDone() { ! state = HUMIDITY_DONE; ! return SUCCESS; ! } ! ! event result_t HumidityError.error(uint8_t token) ! { ! call Leds.redOff(); ! call Leds.yellowOff(); ! call Temperature.getData(); ! return SUCCESS; ! } ! ! ! event result_t TemperatureError.error(uint8_t token) { - call TempHumControl.stop(); - call Leds.yellowOff(); - return SUCCESS; - } - - /****************************************************************************** - * Taos- tsl2250 light sensor - * Two ADC channels: - * ADC Count Value (ACNTx) = INT(16.5*[CV-1]) +S*CV - * where CV = 2^^C - * C = (data & 0x7) >> 4 - * S = data & 0xF - * Light level (lux) = ACNT0*0.46*(e^^-3.13*R) - * R = ACNT1/ACNT0 - *****************************************************************************/ - async event result_t TaosCh1.dataReady(uint16_t data) { - uint16_t CV1,CH1,ST1,ACNT0,ACNT1; - float CNT1,R,Lux; - - - ST1 = TaosData & 0xf; - CH1 = (TaosData & 0x70) >> 4; - CV1 = 1 << CH1; - CNT1 = (int)(16.5*(CV1-1)) + ST1*CV1; - ACNT0 = (int)CNT1; - if (TaosData == 0xff) - SODbg(DBG_USR2, "Taos Ch0 data: OVERFLOW \n") ; - SODbg(DBG_USR2, "Taos Ch0 data: %i Cord: %i Step: %i ADC Counts: %i \n", TaosData & 0x0FF, CH1,ST1,ACNT0); - - data = data & 0xff; - ST1 = data & 0xf; - CH1 = (data & 0x70) >> 4; - CV1 = 1 << CH1; - CNT1 = (int)(16.5*(CV1-1)) + ST1*CV1; - ACNT1 = (int)CNT1; - R = (float)ACNT1/(float)ACNT0; - Lux = (float)ACNT0*0.46/exp(3.13*R); - if (data == 0xff) - SODbg(DBG_USR2, "Taos Ch1 data: OVERFLOW \n") ; - - SODbg(DBG_USR2, "Taos Ch1 data: %i Cord: %i Step: %i ADC Counts: %i Light(lux): %i \n", data & 0x0FF, CH1,ST1,ACNT1,(int)Lux); - - call TaosControl.stop(); - return SUCCESS; - } - - async event result_t TaosCh0.dataReady(uint16_t data) { - TaosData = data & 0xff; - SODbg(DBG_USR2, "Got Taos Ch0 data \n") ; - return call TaosCh1.getData(); - } - - event result_t TaosControl.startDone(){ - return call TaosCh0.getData(); - } - - event result_t TaosControl.initDone() { - return SUCCESS; - } - - event result_t TaosControl.stopDone() { - state = LIGHT_DONE; - return SUCCESS; - } - - /****************************************************************************** - * ADXL202E Accelerometer - * At 3.0 supply this sensor's sensitivty is ~167mv/g - * 0 g is at ~1.5V or ~VCC/2 - this varies alot. - * For an accurate calibration measure each axis at +/- 1 g and - * compute the center point (0 g level) as 1/2 of difference. - * Note: this app doesn't measure the battery voltage, it assumes 3.2 volts - * To getter better accuracy measure the battery voltage as this effects the - * full scale of the Atmega128 ADC. - * bits/mv = 1024/(1000*VBATT) - * bits/g = 1024/(1000*VBATT)(bits/mv) * 167(mv/g) - * = 171/VBATT (bits/g) - * C = 0.171/VBATT (bits/mg) - * Accel(mg) ~ (ADC DATA - 512) /C - *****************************************************************************/ - event result_t AccelY.dataReady(uint16_t data){ - float Accel, C; - float VBATT = 3.2; - C = 0.171/VBATT; - Accel = ((float)AccelData - 512.0)/C; - SODbg(DBG_BOOT, "AccelX data %i AcceX(mg) %i \n",AccelData, (int)Accel); - - Accel = ((float)data - 512.0)/C; - SODbg(DBG_BOOT, "AccelY data %i AcceY(mg) %i \n",data, (int)Accel); - call AccelCmd.PowerSwitch(0); //power off - return SUCCESS; - } - - event result_t AccelX.dataReady(uint16_t data){ - AccelData = data; - // SODbg(DBG_BOOT, "AccelX data %i \n",AccelData); - call AccelY.getData(); return SUCCESS; } ! ! event result_t AccelCmd.SwitchesSet(uint8_t PowerState){ //power on/off ! //SODbg(DBG_BOOT, "Accel switch set %i \n",PowerState); ! if (PowerState) call AccelX.getData(); //start measuring X accel axis ! else state = ACCEL_DONE; ! return SUCCESS; ! } ! ! } ! --- 31,458 ---- provides interface StdControl; uses { + + //gps + interface I2CSwitchCmds as GpsCmd; + interface StdControl as GpsControl; + interface BareSendMsg as GpsSend; + interface ReceiveMsg as GpsReceive; + + //Accels + interface StdControl as AccelControl; + interface I2CSwitchCmds as AccelCmd; + interface ADC as AccelX; + interface ADC as AccelY; ! //Intersema ! interface SplitControl as PressureControl; ! //interface StdControl as PressureControl; ! interface ADC as IntersemaTemp; ! interface ADC as IntersemaPressure; ! interface Calibration as IntersemaCal; ! ! //Sensirion ! interface SplitControl as TempHumControl; ! interface ADC as Humidity; ! interface ADC as Temperature; ! interface ADCError as HumidityError; ! interface ADCError as TemperatureError; ! //Taos ! interface SplitControl as TaosControl; ! interface ADC as TaosCh0; ! interface ADC as TaosCh1; ! ! interface Timer; ! interface Leds; ! ! ! } ! } implementation { ! #include "SODebug.h" ! #include "gps.h" ! ! enum {START, BUSY, HUMIDITY_DONE, PRESSURE_DONE, LIGHT_DONE, ACCEL_DONE}; ! ! char count; ! ! uint16_t calibration[6]; uint16_t C1,C2,C3,C4,C5,C6; //intersema calibration coefficients ! uint16_t TaosData; ! uint16_t HumData; ! uint16_t PressureData; ! uint16_t AccelData; ! uint8_t state; ! ! bool gps_active; //true if gps is active ! ! command result_t StdControl.init() ! { gps_active = FALSE; //change to FALSE to measure weather sensors ! // gps_active = TRUE; ! TaosData = 0; ! ! init_debug(); call Leds.init(); ! call GpsControl.init(); ! ! ! // call GpsControl.start(); ! // call GpsCmd.PowerSwitch(0); //turn off GPS power, after reset it will be on. ! // call GpsControl.stop(); ! ! ! call TaosControl.init(); ! call AccelControl.init(); //initialize accelerometer ! call TempHumControl.init(); //init Sensirion ! call PressureControl.init(); // init Intersema return SUCCESS; } ! command result_t StdControl.start() ! { ! call HumidityError.enable(); //in case Sensirion doesn't respond call TemperatureError.enable(); // " ! ! if (gps_active) ! { ! call Leds.redOn(); ! call GpsControl.start(); ! if (! call GpsCmd.PowerSwitch(1)) //turn on GPS power ! SODbg(DBG_USR2, "Failed to power on gps \n"); ! } ! else ! { ! call Leds.redOn(); ! call Leds.yellowOn(); ! call Leds.greenOn(); ! state = START; ! call Timer.start(TIMER_REPEAT, 500); //start up weather sensor measurements ! } return SUCCESS; } ! command result_t StdControl.stop() { return SUCCESS; } ! ! /****************************************************************************** ! * Timer fired, test GPS, humidity/temp ! * async for test only ! *****************************************************************************/ ! //async event result_t Timer.fired() { ! event result_t Timer.fired() ! { ! ! call Leds.redOff(); ! call Leds.yellowOff(); ! call Leds.greenOff(); ! ! if (state == ACCEL_DONE) ! state = START; ! if (state == START) ! { ! state = BUSY; ! call TempHumControl.start(); ! } ! if (state == HUMIDITY_DONE) ! { ! state = BUSY; ! call PressureControl.start(); ! } ! if (state == PRESSURE_DONE) ! { ! state = BUSY; ! call TaosControl.start(); ! } ! if (state == LIGHT_DONE) ! { ! state = BUSY; ! call AccelCmd.PowerSwitch(1); ! } ! ! return SUCCESS; ! } ! ! /****************************************************************************** ! * Packet received from GPS - ASCII msg ! * 1st byte in pkt is number of ascii bytes ! * async used only for testing ! *****************************************************************************/ ! //async event TOS_MsgPtr GpsReceive.receive(TOS_MsgPtr data) { //change to GPS packet!! ! event TOS_MsgPtr GpsReceive.receive(TOS_MsgPtr data) //change to GPS packet!! ! { ! uint8_t i; ! ! GPS_MsgPtr gps_data = (GPS_MsgPtr)data; ! call Leds.greenToggle(); ! ! for (i=0;i<=gps_data->data[0];i++) ! UARTPutChar(gps_data->data[i]); ! SODbg(DBG_USR2, "\n"); ! return data; ! } ! ! event result_t GpsSend.sendDone(TOS_MsgPtr msg, result_t success) ! { ! return SUCCESS; ! } ! ! ! event result_t GpsCmd.SwitchesSet(uint8_t PowerState) ! { ! gps_active = TRUE; ! SODbg(DBG_USR2, "Gps power on \n"); ! call Leds.yellowOn(); ! return SUCCESS; ! } ! /****************************************************************************** ! * Intersema MS5534A barometric pressure/temperature sensor ! * - 6 cal coefficients (C1..C6) are extracted from 4, 16 bit,words from sensor ! * - Temperature measurement: ! * UT1=8*C5+20224 ! * dT=data-UT1 ! * Temp=(degC x10)=200+dT(C6+50)/1024 ! * - Pressure measurement: ! * OFF=C2*4 + ((C4-512)*dT)/1024 ! * SENS=C1+(C3*dT)/1024 + 24576 ! * X=(SENS*(PressureData-7168))/16384 - OFF ! * Press(mbar)= X/32+250 ! *****************************************************************************/ ! async event result_t IntersemaTemp.dataReady(uint16_t data) ! { ! float UT1,dT,Temp; ! float OFF,SENS,X,Press; ! //temperature ! UT1=8*(float)C5+20224; ! dT = (float)data-UT1; ! Temp = 200.0 + dT*((float)C6+50.0)/1024.0; ! //pressure ! OFF = (float)C2*4 + (((float)C4-512.0)*dT)/1024; ! SENS = (float)C1 + ((float)C3*dT)/1024 + 24576; ! X = (SENS*((float)PressureData-7168.0))/16384 - OFF; ! Press = X/32.0 + 250.0; ! ! SODbg(DBG_USR2, "Pressure: Temp(adc): %i Press(adc): %i Temp(degCx10): %i Press(mbar): %i \n", ! data,PressureData,(int)Temp, (int)Press); ! ! call PressureControl.stop(); ! return SUCCESS; ! } ! ! async event result_t IntersemaPressure.dataReady(uint16_t data) { ! PressureData = data; ! return call IntersemaTemp.getData(); ! } ! ! event result_t IntersemaCal.dataReady(char word, uint16_t value) { ! // make sure we get all the calibration bytes ! count++; ! // SODbg(DBG_USR2, " cal word %i value %x \n",word,value); ! calibration[word-1] = value; ! ! if (count == 4) { ! SODbg(DBG_USR2, "Pressure cal words (1..4): %x,%x,%x,%x \n", ! calibration[0],calibration[1],calibration[2],calibration[3] ); ! C1 = calibration[0] >> 1; ! C2 = ((calibration[2] & 0x3f) << 6) | (calibration[3] & 0x3f); ! C3 = calibration[3] >> 6; ! C4 = calibration[2] >> 6; ! C5 = ((calibration[0] & 1) << 10) | (calibration[1] >> 6); ! C6 = calibration[1] & 0x3f; ! // SODbg(DBG_USR2, "Pressure C1:%x C2:%x C3:%x C4:%x C5:%x C6:%x \n", ! // C1,C2,C3,C4,C5,C6 ); ! SODbg(DBG_USR2, "Pressure C1:%i C2:%i C3:%i C4:%i C5:%i C6:%i \n", ! C1,C2,C3,C4,C5,C6 ); ! ! ! call IntersemaPressure.getData(); ! } ! ! return SUCCESS; ! } ! ! event result_t PressureControl.initDone() { ! return SUCCESS; ! } ! ! event result_t PressureControl.stopDone() { ! state = PRESSURE_DONE; ! return SUCCESS; ! ! ! } ! ! event result_t PressureControl.startDone() { ! count = 0; ! call IntersemaCal.getData(); ! return SUCCESS; ! } ! ! /****************************************************************************** ! * Sensirion SHT11 humidity/temperature sensor ! * - Humidity data is 12 bit: ! * Linear calc (no temp correction) ! * fRH = -4.0 + 0.0405 * data -0.0000028 * data^2 'RH linear ! * With temperature correction: ! * fRH = (fTemp - 25) * (0.01 + 0.00008 * data) + fRH 'RH true ! * - Temperature data is 14 bit ! * Temp(degC) = -38.4 + 0.0098 * data ! *****************************************************************************/ ! async event result_t Temperature.dataReady(uint16_t data) { ! float fTemp, fHumidity; ! ! fTemp = -38.4 + 0.0098*(float)data; ! fHumidity = -4.0 + 0.0405 * HumData -0.0000028 * HumData * HumData; ! fHumidity= (fTemp-25.0)* (0.01 + 0.00008 * HumData) + fHumidity; ! fTemp = 10*fTemp; ! SODbg(DBG_USR2, "Humidity: Temp(adc): %i Humidity(adc): %i Temp(degCx10): %i Humidity(%): %i \n", ! data,HumData,(int)fTemp, (int)fHumidity); ! ! call TempHumControl.stop(); ! return SUCCESS; ! } ! ! async event result_t Humidity.dataReady(uint16_t data) { ! HumData = data; //pressure data ! return call Temperature.getData(); ! } ! ! event result_t TempHumControl.startDone() { ! call Humidity.getData(); ! return SUCCESS; ! } ! ! event result_t TempHumControl.initDone() { ! return SUCCESS; ! } ! ! event result_t TempHumControl.stopDone() { ! state = HUMIDITY_DONE; ! return SUCCESS; ! } ! ! event result_t HumidityError.error(uint8_t token) ! { ! call Leds.redOff(); ! call Leds.yellowOff(); ! call Temperature.getData(); ! return SUCCESS; ! } ! ! ! event result_t TemperatureError.error(uint8_t token) ! { ! call TempHumControl.stop(); ! call Leds.yellowOff(); ! return SUCCESS; ! } ! ! /****************************************************************************** ! * Taos- tsl2250 light sensor ! * Two ADC channels: ! * ADC Count Value (ACNTx) = INT(16.5*[CV-1]) +S*CV ! * where CV = 2^^C ! * C = (data & 0x7) >> 4 ! * S = data & 0xF ! * Light level (lux) = ACNT0*0.46*(e^^-3.13*R) ! * R = ACNT1/ACNT0 ! *****************************************************************************/ ! async event result_t TaosCh1.dataReady(uint16_t data) { ! uint16_t CV1,CH1,ST1,ACNT0,ACNT1; ! float CNT1,R,Lux; ! ! ! ST1 = TaosData & 0xf; ! CH1 = (TaosData & 0x70) >> 4; ! CV1 = 1 << CH1; ! CNT1 = (int)(16.5*(CV1-1)) + ST1*CV1; ! ACNT0 = (int)CNT1; ! if (TaosData == 0xff) ! SODbg(DBG_USR2, "Taos Ch0 data: OVERFLOW \n") ; ! SODbg(DBG_USR2, "Taos Ch0 data: %i Cord: %i Step: %i ADC Counts: %i \n", TaosData & 0x0FF, CH1,ST1,ACNT0); ! ! data = data & 0xff; ! ST1 = data & 0xf; ! CH1 = (data & 0x70) >> 4; ! CV1 = 1 << CH1; ! CNT1 = (int)(16.5*(CV1-1)) + ST1*CV1; ! ACNT1 = (int)CNT1; ! R = (float)ACNT1/(float)ACNT0; ! Lux = (float)ACNT0*0.46/exp(3.13*R); ! if (data == 0xff) ! SODbg(DBG_USR2, "Taos Ch1 data: OVERFLOW \n") ; ! ! SODbg(DBG_USR2, "Taos Ch1 data: %i Cord: %i Step: %i ADC Counts: %i Light(lux): %i \n", data & 0x0FF, CH1,ST1,ACNT1,(int)Lux); ! ! call TaosControl.stop(); ! return SUCCESS; ! } ! ! async event result_t TaosCh0.dataReady(uint16_t data) { ! TaosData = data & 0xff; ! SODbg(DBG_USR2, "Got Taos Ch0 data \n") ; ! return call TaosCh1.getData(); ! } ! ! event result_t TaosControl.startDone(){ ! return call TaosCh0.getData(); ! } ! ! event result_t TaosControl.initDone() { ! return SUCCESS; ! } ! ! event result_t TaosControl.stopDone() { ! state = LIGHT_DONE; ! return SUCCESS; ! } ! ! /****************************************************************************** ! * ADXL202E Accelerometer ! * At 3.0 supply this sensor's sensitivty is ~167mv/g ! * 0 g is at ~1.5V or ~VCC/2 - this varies alot. ! * For an accurate calibration measure each axis at +/- 1 g and ! * compute the center point (0 g level) as 1/2 of difference. ! * Note: this app doesn't measure the battery voltage, it assumes 3.2 volts ! * To getter better accuracy measure the battery voltage as this effects the ! * full scale of the Atmega128 ADC. ! * bits/mv = 1024/(1000*VBATT) ! * bits/g = 1024/(1000*VBATT)(bits/mv) * 167(mv/g) ! * = 171/VBATT (bits/g) ! * C = 0.171/VBATT (bits/mg) ! * Accel(mg) ~ (ADC DATA - 512) /C ! *****************************************************************************/ ! async event result_t AccelY.dataReady(uint16_t data){ ! float Accel, C; ! float VBATT = 3.2; ! C = 0.171/VBATT; ! Accel = ((float)AccelData - 512.0)/C; ! SODbg(DBG_BOOT, "AccelX data %i AcceX(mg) %i \n",AccelData, (int)Accel); ! ! Accel = ((float)data - 512.0)/C; ! SODbg(DBG_BOOT, "AccelY data %i AcceY(mg) %i \n",data, (int)Accel); ! call AccelCmd.PowerSwitch(0); //power off ! return SUCCESS; ! } ! ! async event result_t AccelX.dataReady(uint16_t data){ ! AccelData = data; ! // SODbg(DBG_BOOT, "AccelX data %i \n",AccelData); ! call AccelY.getData(); ! return SUCCESS; ! } ! ! event result_t AccelCmd.SwitchesSet(uint8_t PowerState){ //power on/off ! //SODbg(DBG_BOOT, "Accel switch set %i \n",PowerState); ! if (PowerState) call AccelX.getData(); //start measuring X accel axis ! else state = ACCEL_DONE; ! return SUCCESS; ! } ! ! } ! |
From: <do...@us...> - 2003-10-15 23:15:04
|
Update of /cvsroot/firebug/firebug/project/src/multihop In directory sc8-pr-cvs1:/tmp/cvs-serv12626/project/src/multihop Modified Files: Makefile Log Message: modified makefile for 1.1 release. Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/Makefile,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Makefile 25 Aug 2003 22:51:50 -0000 1.17 --- Makefile 15 Oct 2003 23:14:25 -0000 1.18 *************** *** 20,29 **** ! INCLUDES=-I$(BLASTROOT)/Sender \ ! -I$(BLASTROOT)/Interface \ ! -I$(BLASTROOT)/DataStructure \ ! -I$(BLASTROOT)/VirtualComm \ ! -I$(BLASTROOT)/ParentSelection \ ! -I$(XBOWROOT)/tos/sensorboards/mts400 \ -I$(XBOWROOT)/tos/interfaces --- 20,30 ---- ! INCLUDES=-I$(BLASTROOT)/Sender \ ! -I$(BLASTROOT)/Interface \ ! -I$(BLASTROOT)/DataStructure \ ! -I$(BLASTROOT)/VirtualComm \ ! -I$(BLASTROOT)/ParentSelection \ ! -I$(XBOWROOT)/tos/sensorboards/mts400 \ ! -I$(XBOWROOT)/apps/XsensorMTS400/mts400 \ -I$(XBOWROOT)/tos/interfaces |
From: <do...@us...> - 2003-10-15 23:15:01
|
Update of /cvsroot/firebug/firebug/web/images In directory sc8-pr-cvs1:/tmp/cvs-serv12626/web/images Modified Files: Makefile Log Message: modified makefile for 1.1 release. Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/web/images/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 8 Mar 2003 00:32:28 -0000 1.3 --- Makefile 15 Oct 2003 23:14:25 -0000 1.4 *************** *** 8,12 **** DIAPLOTS = data_message.png route_message.dia ! all: $(EPSPLOTS) $(DIAPLOTS) .fig.png: $(PNGPLOTS) --- 8,12 ---- DIAPLOTS = data_message.png route_message.dia ! all: $(EPSPLOTS) #$(DIAPLOTS) .fig.png: $(PNGPLOTS) |
From: <do...@us...> - 2003-10-15 23:15:00
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv12626/web Modified Files: spie_2004.tex Log Message: modified makefile for 1.1 release. Index: spie_2004.tex =================================================================== RCS file: /cvsroot/firebug/firebug/web/spie_2004.tex,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** spie_2004.tex 29 Aug 2003 15:51:06 -0000 1.12 --- spie_2004.tex 15 Oct 2003 23:14:25 -0000 1.13 *************** *** 262,293 **** - \paragraph{Mainwaring et al.}~\citeyear{mainwaring:a2002} - have had success in deploying - large scale sensor networks as part of - a habitat monitoring project at the Great Duck - Island. It is reflective of the domain of applications - for which sensor networks are going to be used. - It serves as a collection of requirements, costraints - and guidelines that serve as a basis for a general - sensor network architecture. - - They present a tierd architecture, where at the - lowest level are sensor nodes, which perform general - purpose computing and are organized into sensor - patches. Individual sensor nodes transmit their data - through a patch to a sensor network gateway which links - the sensor patch through a local transit network to - a remote basestation. The transit network consists - of one or more hops of wireless links. The current - system consists of 32 nodes on a small island off - the coast of Maine streaming live data onto the web. - - The main tasks at hand that the network spends - resources for are 1) data sampling and collection, - 2) communications, 3) network retasking and 4) - health and status monitoring. Keeping these in mind, - energy required for each task is projected and taken - into account to estimate how long the sensor nodes - will survive. --- 262,265 ---- |
From: <che...@us...> - 2003-09-26 19:07:19
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv18044 Modified Files: distance.xls field-result.html Log Message: <=9_24 Index: distance.xls =================================================================== RCS file: /cvsroot/firebug/firebug/web/distance.xls,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsH4GSU3 and /tmp/cvsyLDkvX differ Index: field-result.html =================================================================== RCS file: /cvsroot/firebug/firebug/web/field-result.html,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** field-result.html 20 Sep 2003 07:40:31 -0000 1.11 --- field-result.html 26 Sep 2003 19:07:04 -0000 1.12 *************** *** 469,472 **** --- 469,536 ---- <P> Raw Data from the experiment can be accessed from <a href="2003_9_19.txt">here</a> + + + <h1>FireBug Field Experiment #10</h1> + + <h2>Time, Location,Context</h2> + <p> + 9/22/2003 Thr. 14:30AM doe library<br> + Sunny, light breeze, ~70F<br> + Motes are put on the turf ground<br> + </p> + + <h2>Data Packet Summary</h2> + + <table class="db_schema"> + <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> + + <tr><td>5m</td><td>61</td><td>169</td><td>4</td><td>109</td><td>109</td><td>100%</td></tr> + <tr><td>10m</td><td>61</td><td>186</td><td>4</td><td>126</td><td>126</td><td>100%</td></tr> + <tr><td>15m</td><td>61</td><td>192</td><td>4</td><td>131</td><td>132</td><td>99.2%</td></tr> + <tr><td>20m</td><td>61</td><td>175</td><td>4</td><td>110</td><td>115</td><td>95.7%</td></tr> + + + </table> + <P> + From 25 and beyond, no data packet is received from motes. + <P> + Raw Data from the experiment can be accessed from <a href="2003_9_22.txt">here</a> + + + <h1>FireBug Field Experiment #11</h1> + + <h2>Time, Location,Context</h2> + <p> + 9/24/2003 Thr. 14:30AM doe library<br> + Sunny, light breeze, ~70F<br> + Motes are put on the turf ground<br> + </p> + + <h2>Data Packet Summary</h2> + + <table class="db_schema"> + <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> + + <tr><td>5m</td><td>61</td><td>169</td><td>10</td><td>109</td><td>109</td><td>100%</td></tr> + <tr><td>10m</td><td>61</td><td>181</td><td>10</td><td>121</td><td>121</td><td>100%</td></tr> + <tr><td>15m</td><td>61</td><td>192</td><td>10</td><td>132</td><td>132</td><td>100%</td></tr> + <tr><td>20m</td><td>61</td><td>185</td><td>10</td><td>125</td><td>125</td><td>100%</td></tr> + <tr><td>25m</td><td>61</td><td>171</td><td>10</td><td>109</td><td>111</td><td>98.2%</td></tr> + <tr><td>27m</td><td>61</td><td>168</td><td>10</td><td>108</td><td>108</td><td>100%</td></tr> + <tr><td>30m</td><td>61</td><td>177</td><td>10</td><td>114</td><td>117</td><td>97.4%</td></tr> + <tr><td>35m</td><td>61</td><td>177</td><td>10</td><td>117</td><td>117</td><td>100%</td></tr> + + </table> + <P> + From 40m and beyond, no data packet is received from motes. + <P> + Raw Data from the experiment can be accessed from <a href="2003_9_24.txt">here</a> + + + + + + + </body> |
From: <cs...@us...> - 2003-09-16 21:17:21
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv21880 Modified Files: gps.html gps_tests.htm Log Message: new pics added Index: gps.html =================================================================== RCS file: /cvsroot/firebug/firebug/web/gps.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** gps.html 2 Aug 2003 00:32:52 -0000 1.9 --- gps.html 16 Sep 2003 20:48:45 -0000 1.10 *************** *** 25,28 **** --- 25,38 ---- </center> + <p>Below are images of the receiver board mounted on to its + mica2 host.</p> + + <center> + <img src="./images/gps_mounted.jpg" alt="Mounted GPS board"> + </center> + + <center> + <img src="./images/gps_mounted2.jpg" alt="GPS connected PC"> + </center> <h2>Receiver Specifications (not updated for new Leadtek receivers)</h2> Index: gps_tests.htm =================================================================== RCS file: /cvsroot/firebug/firebug/web/gps_tests.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gps_tests.htm 1 Aug 2003 16:34:06 -0000 1.2 --- gps_tests.htm 16 Sep 2003 20:48:45 -0000 1.3 *************** *** 49,52 **** --- 49,56 ---- </ul> + <center> + <img src="./images/gps_hardware.jpg" alt="GPS hardware"> + </center> + <p> Location accuracy and movement tracking were determined with the *************** *** 111,114 **** --- 115,122 ---- </h2> + <center> + <img src="./images/gps_equip.jpg" alt="Taking GPS measurements"> + </center> + <p> Lastly, a brief experiment was done to determine how well the *************** *** 119,122 **** --- 127,134 ---- </p> + <center> + <img src="./images/mem_glade1.jpg" alt="Picture of Memorial Glade"> + </center> + <p> For a leisurely four minute walk, no lag was apparent. For a *************** *** 128,137 **** <center> ! <img src="./images/mem_glad.jpg" alt= ! "Motion Tracking about Memorial Glade"> </center> ! <hr /> <p> --- 140,148 ---- <center> ! <img src="./images/mem_glade2.jpg" alt="Motion Tracking about Memorial Glade"> </center> ! <hr> <p> |
From: <do...@us...> - 2003-08-29 15:51:12
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv5075 Modified Files: Makefile spie_2004.tex Log Message: Added table for field experiments. Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/web/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 26 Jul 2003 20:48:09 -0000 1.3 --- Makefile 29 Aug 2003 15:51:06 -0000 1.4 *************** *** 1,9 **** ! .SUFFIXES : .gnu .eps EPSPLOTS = tempfig.eps ! all: $(EPSPLOTS) spie_2004 spie_2004: --- 1,9 ---- ! .SUFFIXES : .gnu .eps .dia EPSPLOTS = tempfig.eps ! all: $(EPSPLOTS) spie_2004 spie_2004: Index: spie_2004.tex =================================================================== RCS file: /cvsroot/firebug/firebug/web/spie_2004.tex,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** spie_2004.tex 4 Aug 2003 16:17:29 -0000 1.11 --- spie_2004.tex 29 Aug 2003 15:51:06 -0000 1.12 *************** *** 18,23 **** \title{Sensor network behavior at the urban-rural interface: making smart structures smarter} ! \author{M. M. Chen, A. Sharma, D. M. Doolin\thanks{% ! Dept. of Civ. and Env. Eng., UC Berkeley}, S. Glaser, N. Sitar} \date{\today} \maketitle --- 18,26 ---- \title{Sensor network behavior at the urban-rural interface: making smart structures smarter} ! \author{M. M. Chen\thanks{Graduate student, ! Dept. of Civil and Env. Eng., UC Berkeley}, ! A. Sharma\thanks{EECS}, D. M. Doolin\thanks{% ! Post-doctoral researcher, Dept. of Civ. and Env. Eng., ! UC Berkeley}, S. Glaser, N. Sitar} \date{\today} \maketitle *************** *** 163,167 **** As per their results the spherical radio model ! correlates upto 90% with real conditions in an outdoor uncluttered environment. --- 166,170 ---- As per their results the spherical radio model ! correlates up to 90\% with real conditions in an outdoor uncluttered environment. *************** *** 333,336 **** --- 336,350 ---- + + \begin{figure} + \begin{center} + \includegraphics{images/sysarch.eps} + \caption{Schematic of Firebug system architecture. + This is a placeholder figure, change to reflect current + system as needed.} + \label{fig:sysarch} + \end{center} + \end{figure} + \section{Protocols} *************** *** 437,440 **** --- 451,480 ---- + + \subsection{Mote variability test} + + Due to manufacturing processes, + each mote has slightly different transmission and + receiving characteristics. We investigated + the variability of 5 motes over a range of + distances (5, 10, 15, 20, 25, 30, 50, 100 + meters), at different heights from the + ground (0, .75, 1.5 meters), + in several different terrains + (turf, 0.5 m dry grass, 1-3 meter + shrubbery, eucalyptus/Monterrey Pine + canopy forest). + + Each mote was tested individually for + packet reception rate (\# received/\# sent) + to a dedicated base station mote. The base + station mote remained the same throughout + the entire experiment. + + The motes were set at the highest power level + available (20 dBm), with the \blast\ protocol + set for 0 retransmissions. + + \section{Results} *************** *** 456,477 **** The networks consisted of 1,2,4 and 8 nodes, spaced equally, in open, brushy, and forested terrain. ! Motes from the Mica1, Mica2 and Dust platforms were tested. ! ! \begin{itemize} ! ! \item What is power level for these motes? ! ! \item How many motes did Alec deploy? ! ! \item Do we specify number of packets before hand, ! as Alec did? Or have some other scheme? ! ! \item Alec's scheme appears to require multiple base ! stations or a program on the receiving motes to ! record counts for packets received. ! ! \end{itemize} ! \section{Discussion} --- 496,504 ---- The networks consisted of 1,2,4 and 8 nodes, spaced equally, in open, brushy, and forested terrain. ! Motes from the Mica2 and Dust platforms were tested. + The results indicate that height above the + ground is an important factor in packet + reception capability. \section{Discussion} *************** *** 491,494 **** --- 518,782 ---- \bibliography{spie} \bibliographystyle{chicago} + + \appendix + + \section{Feild work tables} + + Some helpful table for tracking field work. + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 2, turf} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 3, turf} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 4, turf} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 5, turf} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 6, turf} + \end{center} + \end{table} + + \clearpage + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 2, short field grass} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 3, short field grass} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 4, short field grass} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 5, short field grass} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 6, short field grass} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 2, shrubbery} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 3, shrubbery} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 4, shrubbery} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 5, shrubbery} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 6, shrubbery} + \end{center} + \end{table} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 2, canopy} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 3, canopy} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 4, canopy} + \end{center} + \end{table} + + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 5, canopy} + \end{center} + \end{table} + + \begin{table} + \begin{center} + \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline + H (m),D (m) & 5 & 10 & 15 & 20 & 25 & 30 & 50 & 100\\\hline + 0 & & & & & & & & \\\hline + 0.5 & & & & & & & & \\\hline + 0.75 & & & & & & & & \\\hline + \end{tabular} + \caption{Mote 6, canopy} + \end{center} + \end{table} + + \end{document} |
From: David D. <do...@ce...> - 2003-08-29 03:40:59
|
Thanks for adding the gps_* namespace prefix. It really helps. -dmd On Thu, 28 Aug 2003 cs...@us... wrote: > Update of /cvsroot/firebug/firebug/web/images > In directory sc8-pr-cvs1:/tmp/cvs-serv14993 > > Added Files: > gps_equip.jpg gps_hardware.jpg gps_mounted.jpg > gps_mounted2.jpg mem_glade1.jpg mem_glade2.jpg > Log Message: > gps pictures added for gps and gps_test > > --- NEW FILE: gps_equip.jpg --- > (This appears to be a binary file; contents omitted.) > > --- NEW FILE: gps_hardware.jpg --- > (This appears to be a binary file; contents omitted.) > > --- NEW FILE: gps_mounted.jpg --- > (This appears to be a binary file; contents omitted.) > > --- NEW FILE: gps_mounted2.jpg --- > (This appears to be a binary file; contents omitted.) > > --- NEW FILE: mem_glade1.jpg --- > (This appears to be a binary file; contents omitted.) > > --- NEW FILE: mem_glade2.jpg --- > (This appears to be a binary file; contents omitted.) > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Firebug-cvs mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebug-cvs > |
Update of /cvsroot/firebug/firebug/web/images In directory sc8-pr-cvs1:/tmp/cvs-serv14993 Added Files: gps_equip.jpg gps_hardware.jpg gps_mounted.jpg gps_mounted2.jpg mem_glade1.jpg mem_glade2.jpg Log Message: gps pictures added for gps and gps_test --- NEW FILE: gps_equip.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gps_hardware.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gps_mounted.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gps_mounted2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mem_glade1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mem_glade2.jpg --- (This appears to be a binary file; contents omitted.) |
From: <do...@us...> - 2003-08-28 01:38:30
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv26267 Modified Files: spie.bib Log Message: Added lundquist citation. Index: spie.bib =================================================================== RCS file: /cvsroot/firebug/firebug/web/spie.bib,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** spie.bib 4 Aug 2003 16:17:29 -0000 1.8 --- spie.bib 28 Aug 2003 01:38:23 -0000 1.9 *************** *** 58,61 **** --- 58,85 ---- + + @InProceedings{lundquist:jd2003, + author = {J. D. Lundquist and D. R. Cayan + and M. D. Dettinger}, + title = {Meteorology and Hydrology in + Yosemite National Park: A Sensor Network Application}, + booktitle = {Information Processing in Sensor Networks + Second International Conference, Palo Alto, CA}, + OPTcrossref = {}, + OPTkey = {}, + pages = {518-528}, + year = {2003}, + OPTeditor = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + OPTaddress = {}, + month = {April 22-23}, + organization = {Lecture Notes in Computer Science 2634}, + publisher = {Springer}, + OPTnote = {}, + OPTannote = {} + } + @inproceedings{mainwaring:a2002, author = "Alan Mainwaring and Joseph Polastre and |
From: <do...@us...> - 2003-08-25 22:52:09
|
Update of /cvsroot/firebug/firebug/project/src/multihop In directory sc8-pr-cvs1:/tmp/cvs-serv22038 Modified Files: Makefile Log Message: Fixed makefile problems with blast. Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/Makefile,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Makefile 22 Aug 2003 06:47:44 -0000 1.16 --- Makefile 25 Aug 2003 22:51:50 -0000 1.17 *************** *** 3,11 **** #/*////////////////////////////////////////////////////////*/ #/** ! # * Max Min Chen, David Doolin # */ #/*////////////////////////////////////////////////////////*/ - ## This is the Makefile for multihop. #ifndef XBOWROOT --- 3,10 ---- #/*////////////////////////////////////////////////////////*/ #/** ! # * Max Min Chen, David Doolin, Anshuman Sharma # */ #/*////////////////////////////////////////////////////////*/ #ifndef XBOWROOT *************** *** 16,35 **** UISP = uisp UISP_FLAGS = -dprog=dapa $(UISP_EXTRA_FLAGS) ! TOSROOT=/cygdrive/c ! XBOWROOT = $(TOSROOT)/tinyos-1.x/contrib/xbow PLATFORMS= mica mica2 pc - #DATASTRUCTURE=$(TOSROOT)/broken/experimental/terence/tos/lib/DataStructure - #ROUTESTACK=$(TOSROOT)/broken/experimental/terence/apps/mh6 - #INCLUDES=-I$(DATASTRUCTURE) -I$(ROUTESTACK) - #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 ! INCLUDES=-I$(TOSROOT)/Blast-0.11/Sender \ ! -I$(TOSROOT)/Blast-0.11/Interface \ ! -I$(TOSROOT)/Blast-0.11/DataStructure \ ! -I$(TOSROOT)/Blast-0.11/VirtualComm \ ! -I$(TOSROOT)/Blast-0.11/ParentSelection \ ! -I$(TOSROOT)/tinyos-1.x/tos \ ! -I$(XBOWROOT)/tos/sensorboards/mts400 \ -I$(XBOWROOT)/tos/interfaces --- 15,29 ---- UISP = uisp UISP_FLAGS = -dprog=dapa $(UISP_EXTRA_FLAGS) ! PLATFORMS= mica mica2 pc ! ! INCLUDES=-I$(BLASTROOT)/Sender \ ! -I$(BLASTROOT)/Interface \ ! -I$(BLASTROOT)/DataStructure \ ! -I$(BLASTROOT)/VirtualComm \ ! -I$(BLASTROOT)/ParentSelection \ ! -I$(XBOWROOT)/tos/sensorboards/mts400 \ -I$(XBOWROOT)/tos/interfaces *************** *** 45,49 **** MAIN_EXE= $(BUILDDIR)/main.exe MAIN_SREC= $(BUILDDIR)/main.srec ! TARGETS= CollectDataFB BaseStation TARGET := $(filter $(TARGETS), $(MAKECMDGOALS)) MAKECMDGOALS := $(filter-out $(TARGET), $(MAKECMDGOALS)) --- 39,43 ---- MAIN_EXE= $(BUILDDIR)/main.exe MAIN_SREC= $(BUILDDIR)/main.srec ! TARGETS= CollectDataFB BaseStation TestMTS400 TARGET := $(filter $(TARGETS), $(MAKECMDGOALS)) MAKECMDGOALS := $(filter-out $(TARGET), $(MAKECMDGOALS)) *************** *** 109,125 **** - #APPLICATION = CollectDataFB.nc - #APPLICATION = BaseStation.nc - - - # Uncomment the following to see how the - # shell variables are set. - #$DATASTRUCTURE - #$INCLUDES - ## Make a pc build ## -Wshadow warns when globals are shadowed by locals. - - build: $(MAIN_TARGET) --- 103,108 ---- |
From: <che...@us...> - 2003-08-22 06:47:47
|
Update of /cvsroot/firebug/firebug/project/src/multihop In directory sc8-pr-cvs1:/tmp/cvs-serv4454 Modified Files: CollectDataFB.nc CollectDataMFB.nc Makefile Log Message: add real Humidity, Pressure, and Temp data Index: CollectDataFB.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/CollectDataFB.nc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CollectDataFB.nc 20 Aug 2003 20:52:14 -0000 1.6 --- CollectDataFB.nc 22 Aug 2003 06:47:44 -0000 1.7 *************** *** 14,18 **** implementation { components Main, CollectDataMFB, MHSender, TimerWrapper, LedsC, ! VirtualComm, ParentSelection, CC1000ControlM, TaosPhotoM; Main.StdControl -> CollectDataMFB.StdControl; --- 14,19 ---- implementation { components Main, CollectDataMFB, MHSender, TimerWrapper, LedsC, ! VirtualComm, ParentSelection, CC1000ControlM, SensirionHumidity, ! IntersemaPressure,MicaWbSwitch; Main.StdControl -> CollectDataMFB.StdControl; *************** *** 24,29 **** CollectDataMFB.Leds -> LedsC; Main.StdControl -> MHSender.StdControl; - //CollectDataMFB.Random -> RandomLFSR; CollectDataMFB.CC1000Control -> CC1000ControlM; } --- 25,45 ---- CollectDataMFB.Leds -> LedsC; Main.StdControl -> MHSender.StdControl; CollectDataMFB.CC1000Control -> CC1000ControlM; + + // Wiring for Sensirion humidity/temperature sensor + CollectDataMFB.TempHumControl -> SensirionHumidity; + CollectDataMFB.Humidity -> SensirionHumidity.Humidity; + CollectDataMFB.Temperature -> SensirionHumidity.Temperature; + CollectDataMFB.HumidityError -> SensirionHumidity.HumidityError; + CollectDataMFB.TemperatureError -> SensirionHumidity.TemperatureError; + + // Wiring for Intersema barometric pressure/temperature sensor + CollectDataMFB.IntersemaCal -> IntersemaPressure; + CollectDataMFB.PressureControl -> IntersemaPressure; + CollectDataMFB.IntersemaPressure -> IntersemaPressure.Pressure; + CollectDataMFB.IntersemaTemp -> IntersemaPressure.Temperature; + + + } Index: CollectDataMFB.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/CollectDataMFB.nc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** CollectDataMFB.nc 19 Aug 2003 22:33:42 -0000 1.10 --- CollectDataMFB.nc 22 Aug 2003 06:47:44 -0000 1.11 *************** *** 16,32 **** */ - //includes RoutingStackShared; - //includes Routing; includes RoutingStack; - /** max int is 2^16 for the lfsr random - * number generation scheme used in tinyos. - */ - #define FB_RAND_MAX 256*256 - module CollectDataMFB { provides { - interface StdControl; } --- 16,24 ---- *************** *** 37,49 **** interface Timer as Timer; interface Leds; - //interface HandleBcast; - //interface Random; interface CC1000Control; } } ! #define DATA_FREQ 3000 implementation { TOS_Msg msgToSend; --- 29,55 ---- interface Timer as Timer; interface Leds; interface CC1000Control; + + //Intersema + interface SplitControl as PressureControl; + interface ADC as IntersemaTemp; + interface ADC as IntersemaPressure; + interface Calibration as IntersemaCal; + + //Sensirion + interface SplitControl as TempHumControl; + interface ADC as Humidity; + interface ADC as Temperature; + interface ADCError as HumidityError; + interface ADCError as TemperatureError; } } ! #define DATA_FREQ 1000 implementation { + #include "gps.h" + + enum {START, BUSY, HUMIDITY_DONE, PRESSURE_DONE}; TOS_Msg msgToSend; *************** *** 60,66 **** uint16_t counter; uint8_t sending; command result_t StdControl.init() { ! return SUCCESS; } --- 66,102 ---- uint16_t counter; uint8_t sending; + uint8_t state; + float TempData; + float HumData; + float PressureData; + char count; + uint16_t calibration[6]; + uint16_t C1,C2,C3,C4,C5,C6; //intersema calibration coefficients + + task void SendToRadio(){ + + uint8_t *dataPortion; + uint16_t availableLength = 0; + + struct DataFormat_t *df; + + if (sending != 1) { + dataPortion = call MultiHopSend.getBuffer(&msgToSend, &availableLength); + df = (struct DataFormat_t *) dataPortion; + df->addr = TOS_LOCAL_ADDRESS; + df->cnt = counter++; + df->temp = TempData; + df->rel_hum = HumData; + df->baro_pres = PressureData; + + sending = call MultiHopSend.send(&msgToSend, sizeof(struct DataFormat_t)); + call Leds.greenToggle(); + } + } + command result_t StdControl.init() { ! call TempHumControl.init(); //init Sensirion ! call PressureControl.init(); // init Intersema return SUCCESS; } *************** *** 74,77 **** --- 110,117 ---- call Timer.start(TIMER_REPEAT, DATA_FREQ); call CC1000Control.SetRFPower(255); + + call HumidityError.enable(); //in case Sensirion doesn't respond + call TemperatureError.enable(); // " + return SUCCESS; } *************** *** 81,118 **** } - - /* Some temporary code for generating gaussian density. - * This can be moved out of here later. However, it - * does compile. - * @url http://www.taygeta.com/random/gaussian.html - */ - - float get_temp() { - /* - //#if 0 - float x1,x2,w,y1,y2; - - do { - x1 = (2*((call Random.rand())/FB_RAND_MAX)) - 1; - x2 = (2*((call Random.rand())/FB_RAND_MAX)) - 1; - w = x1*x1 + x2*x2; - } while (w >= 1.0); - - w = sqrt( (-2.0*log(w))/w); - y1 = x1*w; - y2 = x2*w; - //#endif - */ - return 72.1; - } - - float get_rel_hum() { - return 98.3; - } - - float get_baro_pres() { - return 29.1; - } - /** * When the clock fired we are ready to send, CollectData ask the stack --- 121,124 ---- *************** *** 125,153 **** */ event result_t Timer.fired() { ! //uint8_t result; ! uint8_t *dataPortion; ! uint16_t availableLength = 0; ! struct DataFormat_t *df; ! if (sending == 1) { ! return SUCCESS; } ! ! dataPortion = call MultiHopSend.getBuffer(&msgToSend, &availableLength); ! df = (struct DataFormat_t *) dataPortion; ! df->addr = TOS_LOCAL_ADDRESS; ! df->cnt = counter++; ! //df->sampledata=TOS_LOCAL_ADDRESS; ! //put more sensor data here ! //.... ! //df->temp=0x04CE; ! df->temp = get_temp(); ! df->rel_hum = get_rel_hum(); ! df->baro_pres = get_baro_pres(); ! sending = call MultiHopSend.send(&msgToSend, sizeof(struct DataFormat_t)); ! call Leds.greenToggle(); return SUCCESS; } --- 131,278 ---- */ event result_t Timer.fired() { + if ( state == PRESSURE_DONE) state = START; ! if (state == START){ ! state = BUSY; ! call TempHumControl.start(); ! } ! ! if (state == HUMIDITY_DONE){ ! state = BUSY; ! call PressureControl.start(); ! } ! return SUCCESS; ! } ! ! /****************************************************************************** ! * Intersema MS5534A barometric pressure/temperature sensor ! * - 6 cal coefficients (C1..C6) are extracted from 4, 16 bit,words from sensor ! * - Temperature measurement: ! * UT1=8*C5+20224 ! * dT=data-UT1 ! * Temp=(degC x10)=200+dT(C6+50)/1024 ! * - Pressure measurement: ! * OFF=C2*4 + ((C4-512)*dT)/1024 ! * SENS=C1+(C3*dT)/1024 + 24576 ! * X=(SENS*(PressureData-7168))/16384 - OFF ! * Press(mbar)= X/32+250 ! *****************************************************************************/ ! event result_t IntersemaTemp.dataReady(uint16_t data) { ! float UT1,dT,Temp; ! float OFF,SENS,X,Press; ! //temperature ! UT1=8*(float)C5+20224; ! dT = (float)data-UT1; ! Temp = 200.0 + dT*((float)C6+50.0)/1024.0; ! //pressure ! OFF = (float)C2*4 + (((float)C4-512.0)*dT)/1024; ! SENS = (float)C1 + ((float)C3*dT)/1024 + 24576; ! X = (SENS*((float)PressureData-7168.0))/16384 - OFF; ! Press = X/32.0 + 250.0; ! ! call PressureControl.stop(); ! return SUCCESS; ! } ! ! event result_t IntersemaPressure.dataReady(uint16_t data) { ! PressureData = data; ! call Leds.yellowToggle(); ! return call IntersemaTemp.getData(); ! } ! ! event result_t IntersemaCal.dataReady(char word, uint16_t value) { ! // make sure we get all the calibration bytes ! count++; ! calibration[word-1] = value; ! ! if (count == 4) { ! C1 = calibration[0] >> 1; ! C2 = ((calibration[2] & 0x3f) << 6) | (calibration[3] & 0x3f); ! C3 = calibration[3] >> 6; ! C4 = calibration[2] >> 6; ! C5 = ((calibration[0] & 1) << 10) | (calibration[1] >> 6); ! C6 = calibration[1] & 0x3f; ! ! call IntersemaPressure.getData(); } ! return SUCCESS; ! } ! event result_t PressureControl.initDone() { ! return SUCCESS; ! } ! ! event result_t PressureControl.stopDone() { ! post SendToRadio(); ! return SUCCESS; ! ! ! } ! ! event result_t PressureControl.startDone() { ! count = 0; ! call IntersemaCal.getData(); ! return SUCCESS; ! } ! ! ! ! /****************************************************************************** ! * Sensirion SHT11 humidity/temperature sensor ! * - Humidity data is 12 bit: ! * Linear calc (no temp correction) ! * fRH = -4.0 + 0.0405 * data -0.0000028 * data^2 'RH linear ! * With temperature correction: ! * fRH = (fTemp - 25) * (0.01 + 0.00008 * data) + fRH 'RH true ! * - Temperature data is 14 bit ! * Temp(degC) = -38.4 + 0.0098 * data ! *****************************************************************************/ ! event result_t Temperature.dataReady(uint16_t data) { ! float fTemp, fHumidity; ! ! fTemp = -38.4 + 0.0098*(float)data; ! fHumidity = -4.0 + 0.0405 * HumData -0.0000028 * HumData * HumData; ! fHumidity= (fTemp-25.0)* (0.01 + 0.00008 * HumData) + fHumidity; ! fTemp = 10*fTemp; ! ! call TempHumControl.stop(); ! return SUCCESS; ! } ! ! event result_t Humidity.dataReady(uint16_t data) { ! HumData = data; //pressure data ! call Leds.redToggle(); ! return call Temperature.getData(); ! } ! ! event result_t TempHumControl.startDone() { ! call Humidity.getData(); ! return SUCCESS; ! } ! ! event result_t TempHumControl.initDone() { ! return SUCCESS; ! } ! ! event result_t TempHumControl.stopDone() { ! state = HUMIDITY_DONE; ! return SUCCESS; ! } ! ! event result_t HumidityError.error(uint8_t token) ! { ! //call Leds.redOff(); ! //call Leds.yellowOff(); ! call Temperature.getData(); ! return SUCCESS; ! } ! ! ! event result_t TemperatureError.error(uint8_t token) ! { ! call TempHumControl.stop(); ! //call Leds.yellowOff(); return SUCCESS; } *************** *** 165,168 **** --- 290,294 ---- event result_t MultiHopSend.sendDone(TOS_MsgPtr msg, uint8_t success) { sending = 0; + state= PRESSURE_DONE; return SUCCESS; } Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/Makefile,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Makefile 20 Aug 2003 20:52:14 -0000 1.15 --- Makefile 22 Aug 2003 06:47:44 -0000 1.16 *************** *** 9,15 **** ## This is the Makefile for multihop. ! ifndef XBOWROOT ! echo Please set the XBOWROOT environment variable ! endif --- 9,15 ---- ## This is the Makefile for multihop. ! #ifndef XBOWROOT ! # echo Please set the XBOWROOT environment variable ! #endif *************** *** 17,20 **** --- 17,22 ---- UISP_FLAGS = -dprog=dapa $(UISP_EXTRA_FLAGS) TOSROOT=/cygdrive/c + XBOWROOT = $(TOSROOT)/tinyos-1.x/contrib/xbow + PLATFORMS= mica mica2 pc #DATASTRUCTURE=$(TOSROOT)/broken/experimental/terence/tos/lib/DataStructure *************** *** 23,31 **** #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 ! INCLUDES=-I$(TOSROOT)/Blast-0.1/Sender \ ! -I$(TOSROOT)/Blast-0.1/Interface \ ! -I$(TOSROOT)/Blast-0.1/DataStructure \ ! -I$(TOSROOT)/Blast-0.1/VirtualComm \ ! -I$(TOSROOT)/Blast-0.1/ParentSelection \ -I$(TOSROOT)/tinyos-1.x/tos \ -I$(XBOWROOT)/tos/sensorboards/mts400 \ --- 25,33 ---- #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 ! INCLUDES=-I$(TOSROOT)/Blast-0.11/Sender \ ! -I$(TOSROOT)/Blast-0.11/Interface \ ! -I$(TOSROOT)/Blast-0.11/DataStructure \ ! -I$(TOSROOT)/Blast-0.11/VirtualComm \ ! -I$(TOSROOT)/Blast-0.11/ParentSelection \ -I$(TOSROOT)/tinyos-1.x/tos \ -I$(XBOWROOT)/tos/sensorboards/mts400 \ |
From: <do...@us...> - 2003-08-22 05:33:31
|
Update of /cvsroot/firebug/firebug/project/src/multihop In directory sc8-pr-cvs1:/tmp/cvs-serv2636 Modified Files: CollectDataFB.nc CollectDataMFB.nc Makefile Log Message: Added power setting function to data collection. Index: CollectDataFB.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/CollectDataFB.nc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CollectDataFB.nc 2 Jul 2003 00:47:50 -0000 1.4 --- CollectDataFB.nc 19 Aug 2003 22:33:42 -0000 1.5 *************** *** 3,7 **** /** ! * Author: Terence Tong, Alec Woo, Max Min Chen */ --- 3,7 ---- /** ! * Author: Terence Tong, Alec Woo, Max Min Chen, David M. Doolin */ *************** *** 13,17 **** implementation { ! components Main, CollectDataMFB, MHSender, TimerWrapper, LedsC, VirtualComm, ParentSelection; Main.StdControl -> CollectDataMFB.StdControl; //CollectDataMFB.MultiHopSend -> MHSender.MultiHopSend[MH_STATISTIC_TYPE]; --- 13,19 ---- implementation { ! components Main, CollectDataMFB, MHSender, TimerWrapper, LedsC, ! VirtualComm, ParentSelection, CC1000ControlM; //, RandomLFSR; ! Main.StdControl -> CollectDataMFB.StdControl; //CollectDataMFB.MultiHopSend -> MHSender.MultiHopSend[MH_STATISTIC_TYPE]; *************** *** 23,52 **** Main.StdControl -> MHSender.StdControl; //CollectDataMFB.Random -> RandomLFSR; } - /* - includes RoutingStackShared; - configuration CollectDataFB { - - } - - implementation { - - components Main, - CollectDataMFB, - MHDispatcher, - TimerWrapper, - LedsC, - BcastCommand, - RandomLFSR; - - Main.StdControl -> CollectDataMFB.StdControl; - - CollectDataMFB.MultiHopSend -> MHDispatcher.MultiHopSend[unique("MHDispathcer")]; - CollectDataMFB.Timer -> TimerWrapper.Timer[unique("Timer")]; - CollectDataMFB.Leds -> LedsC; - CollectDataMFB.HandleBcast -> BcastCommand.HandleBcast; - CollectDataMFB.Random -> RandomLFSR; - - } - */ --- 25,29 ---- Main.StdControl -> MHSender.StdControl; //CollectDataMFB.Random -> RandomLFSR; + CollectDataMFB.CC1000Control -> CC1000ControlM; } Index: CollectDataMFB.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/CollectDataMFB.nc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** CollectDataMFB.nc 10 Jul 2003 09:05:26 -0000 1.9 --- CollectDataMFB.nc 19 Aug 2003 22:33:42 -0000 1.10 *************** *** 39,42 **** --- 39,43 ---- //interface HandleBcast; //interface Random; + interface CC1000Control; } *************** *** 72,75 **** --- 73,77 ---- } call Timer.start(TIMER_REPEAT, DATA_FREQ); + call CC1000Control.SetRFPower(255); return SUCCESS; } *************** *** 165,169 **** return SUCCESS; } ! ! } --- 167,170 ---- return SUCCESS; } ! } Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/Makefile,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Makefile 2 Jul 2003 00:47:50 -0000 1.13 --- Makefile 19 Aug 2003 22:33:42 -0000 1.14 *************** *** 17,22 **** #ROUTESTACK=$(TOSROOT)/broken/experimental/terence/apps/mh6 #INCLUDES=-I$(DATASTRUCTURE) -I$(ROUTESTACK) - INCLUDES=-I$(TOSROOT)/Blast-0.1/Sender -I$(TOSROOT)/Blast-0.1/Interface -I$(TOSROOT)/Blast-0.1/DataStructure -I$(TOSROOT)/Blast-0.1/VirtualComm -I$(TOSROOT)/Blast-0.1/ParentSelection -I$(TOSROOT)/tinyos-1.x/tos PFLAGS := $(PFLAGS) -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d --- 17,25 ---- #ROUTESTACK=$(TOSROOT)/broken/experimental/terence/apps/mh6 #INCLUDES=-I$(DATASTRUCTURE) -I$(ROUTESTACK) + #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 + + INCLUDES=-I$(TOSROOT)/Blast-0.1/Sender -I$(TOSROOT)/Blast-0.1/Interface -I$(TOSROOT)/Blast-0.1/DataStructure -I$(TOSROOT)/Blast-0.1/VirtualComm -I$(TOSROOT)/Blast-0.1/ParentSelection -I$(TOSROOT)/tinyos-1.x/tos + PFLAGS := $(PFLAGS) -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d |
From: <do...@us...> - 2003-08-22 03:02:08
|
Update of /cvsroot/firebug/firebug/project/src/multihop In directory sc8-pr-cvs1:/tmp/cvs-serv16469 Modified Files: CollectDataFB.nc Makefile Log Message: Added lightsensor module to collect data application. Started cleaning up makefile. Index: CollectDataFB.nc =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/CollectDataFB.nc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CollectDataFB.nc 19 Aug 2003 22:33:42 -0000 1.5 --- CollectDataFB.nc 20 Aug 2003 20:52:14 -0000 1.6 *************** *** 14,18 **** implementation { components Main, CollectDataMFB, MHSender, TimerWrapper, LedsC, ! VirtualComm, ParentSelection, CC1000ControlM; //, RandomLFSR; Main.StdControl -> CollectDataMFB.StdControl; --- 14,18 ---- implementation { components Main, CollectDataMFB, MHSender, TimerWrapper, LedsC, ! VirtualComm, ParentSelection, CC1000ControlM, TaosPhotoM; Main.StdControl -> CollectDataMFB.StdControl; Index: Makefile =================================================================== RCS file: /cvsroot/firebug/firebug/project/src/multihop/Makefile,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Makefile 19 Aug 2003 22:33:42 -0000 1.14 --- Makefile 20 Aug 2003 20:52:14 -0000 1.15 *************** *** 1,3 **** ! #/* -*- Mode: Makefile; c-basic-indent: 2; indent-tabs-mode: nil -*- */ #/* $Id$ */ #/*////////////////////////////////////////////////////////*/ --- 1,3 ---- ! #/* -*- Mode: Makefile; c-basic-indent: 2; -*- */ #/* $Id$ */ #/*////////////////////////////////////////////////////////*/ *************** *** 9,12 **** --- 9,16 ---- ## This is the Makefile for multihop. + ifndef XBOWROOT + echo Please set the XBOWROOT environment variable + endif + UISP = uisp *************** *** 19,23 **** #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 ! INCLUDES=-I$(TOSROOT)/Blast-0.1/Sender -I$(TOSROOT)/Blast-0.1/Interface -I$(TOSROOT)/Blast-0.1/DataStructure -I$(TOSROOT)/Blast-0.1/VirtualComm -I$(TOSROOT)/Blast-0.1/ParentSelection -I$(TOSROOT)/tinyos-1.x/tos --- 23,34 ---- #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 ! INCLUDES=-I$(TOSROOT)/Blast-0.1/Sender \ ! -I$(TOSROOT)/Blast-0.1/Interface \ ! -I$(TOSROOT)/Blast-0.1/DataStructure \ ! -I$(TOSROOT)/Blast-0.1/VirtualComm \ ! -I$(TOSROOT)/Blast-0.1/ParentSelection \ ! -I$(TOSROOT)/tinyos-1.x/tos \ ! -I$(XBOWROOT)/tos/sensorboards/mts400 \ ! -I$(XBOWROOT)/tos/interfaces |
From: <do...@us...> - 2003-08-22 02:58:30
|
Update of /cvsroot/firebug/firebug/project/src/sensordata In directory sc8-pr-cvs1:/tmp/cvs-serv13342 Added Files: Makefile TestMTS400.nc TestMTS400M.nc Log Message: xbow test data demo app for new fireboard. --- NEW FILE: Makefile --- #/* -*- Mode: Makefile; c-basic-indent: 2; -*- */ #/* $Id: Makefile,v 1.1 2003/08/21 20:31:05 doolin Exp $ */ #/*////////////////////////////////////////////////////////*/ #/** # * Max Min Chen, David Doolin, Anshuman Sharma # */ #/*////////////////////////////////////////////////////////*/ ifndef XBOWROOT echo Please set the XBOWROOT environment variable endif UISP = uisp UISP_FLAGS = -dprog=dapa $(UISP_EXTRA_FLAGS) # FIXME: TOSROOT needs to go away, maybe change to # BLASTROOT TOSROOT=/cygdrive/c PLATFORMS= mica mica2 pc #DATASTRUCTURE=$(TOSROOT)/broken/experimental/terence/tos/lib/DataStructure #ROUTESTACK=$(TOSROOT)/broken/experimental/terence/apps/mh6 #INCLUDES=-I$(DATASTRUCTURE) -I$(ROUTESTACK) #CC1000=-I/cygdrive/d/tinyos-1.x/tos/platform/mica2 INCLUDES=-I$(TOSROOT)/Blast-0.1/Sender \ -I$(TOSROOT)/Blast-0.1/Interface \ -I$(TOSROOT)/Blast-0.1/DataStructure \ -I$(TOSROOT)/Blast-0.1/VirtualComm \ -I$(TOSROOT)/Blast-0.1/ParentSelection \ -I$(TOSROOT)/tinyos-1.x/tos \ -I$(XBOWROOT)/tos/sensorboards/mts400 \ -I$(XBOWROOT)/tos/interfaces PFLAGS := $(PFLAGS) -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d PLATAUX=$(PLATFORMS) all PLATFORM := $(filter $(PLATAUX), $(MAKECMDGOALS)) PFLAGS := -target=$(PLATFORM) $(PFLAGS) MAKECMDGOALS := $(filter-out $(PLATAUX), $(MAKECMDGOALS)) BUILDDIR= build/$(PLATFORM) MAIN_EXE= $(BUILDDIR)/main.exe MAIN_SREC= $(BUILDDIR)/main.srec TARGETS= CollectDataFB BaseStation TestMTS400 TARGET := $(filter $(TARGETS), $(MAKECMDGOALS)) MAKECMDGOALS := $(filter-out $(TARGET), $(MAKECMDGOALS)) ifeq ($(PLATFORM), pc) PFLAGS := -g -O0 -pthread $(PFLAGS) -fnesc-nido-tosnodes=1000 -fnesc-cfile=$(BUILDDIR)/app.c MAIN_TARGET = $(MAIN_EXE) else PFLAGS := -Os $(PFLAGS) -finline-limit=100000 -fnesc-cfile=$(BUILDDIR)/app.c MAIN_TARGET = $(MAIN_SREC) endif NCC := ncc -board=micasb ###################################################################### # top-level rules. switch based on MAKECMDGOALS ###################################################################### # # rules for make clean # ifeq ($(MAKECMDGOALS)_x, clean_x) PLATFORM= $(PLATAUX): @echo "" else ifeq ($(PLATFORM)_x,_x) $(error $(PLATAUX) $(MAKECMDGOALS) $(USAGE)) endif MAKECMDGOALS := $(patsubst install.%,install,$(MAKECMDGOALS)) MAKECMDGOALS := $(patsubst reinstall.%,reinstall,$(MAKECMDGOALS)) # # rules for make install <platform> # ifeq ($(MAKECMDGOALS)_x, install_x) $(PLATAUX): @true else ifeq ($(MAKECMDGOALS)_x, reinstall_x) $(PLATAUX): @true else all: for platform in $(PLATFORMS); do \ $(MAKE) $$platform $(DOCS) || exit 1; \ done $(PLATFORMS): build endif endif endif ## Make a pc build ## -Wshadow warns when globals are shadowed by locals. build: $(MAIN_TARGET) install: $(MAIN_SREC) FORCE @$(MAKE) $(PLATFORM) re$@ install.%: $(MAIN_SREC) FORCE $(MAKE) $(PLATFORM) re$@ reinstall: FORCE @echo " installing $(PLATFORM) binary" $(UISP) $(UISP_FLAGS) --erase sleep 1 $(UISP) $(UISP_FLAGS) --upload if=$(MAIN_SREC) sleep 1 $(UISP) $(UISP_FLAGS) --verify if=$(MAIN_SREC) reinstall.%: FORCE @echo " installing $(PLATFORM) binary " set-mote-id $(BUILDDIR)/main.srec $(BUILDDIR)/main.srec.out `echo $@ |sed 's:reinstall.::g'` $(UISP) $(UISP_FLAGS) --erase sleep 1 $(UISP) $(UISP_FLAGS) --upload if=$(BUILDDIR)/main.srec.out sleep 1 $(UISP) $(UISP_FLAGS) --verify if=$(BUILDDIR)/main.srec.out $(MAIN_EXE): $(BUILDDIR) FORCE @echo " compiling $(TARGET) to a $(PLATFORM) binary" $(NCC) -o $(MAIN_EXE) $(PFLAGS) $(CFLAGS) $(INCLUDES) $(TARGET).nc -lm $(LDFLAGS) @echo " compiled $(COMPONENT) to $@" @objdump -h $(MAIN_EXE) | perl -ne '$$b{$$1}=hex $$2 if /^\s*\d+\s*\.(text|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in RAM\n",$$b{text}+$$b{data},$$b{bss}); }' $(MAIN_SREC): $(MAIN_EXE) avr-objcopy --output-target=srec $(MAIN_EXE) $(MAIN_SREC) $(BUILDDIR): mkdir -p $(BUILDDIR) clean: rm -rf $(BUILDDIR) rm -f core.* rm -f *~ FORCE: .phony: FORCE --- NEW FILE: TestMTS400.nc --- /* tab:4 * * * "Copyright (c) 2000-2002 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copyright notice, the following * two paragraphs and the author appear in all copies of this software. * * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * */ /* tab:4 * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By * downloading, copying, installing or using the software you agree to * this license. If you do not agree to this license, do not download, * install, copy or use the software. * * Intel Open Source License * * Copyright (c) 2002 Intel Corporation * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the Intel Corporation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL OR ITS * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * */ configuration TestMTS400 { } implementation { components Main, TestMTS400M, SensirionHumidity, \ IntersemaPressure,MicaWbSwitch,UARTGpsPacket,TimerC, NoLeds,LedsC, Accel, TaosPhoto; Main.StdControl -> TestMTS400M; Main.StdControl -> TimerC; // Wiring for gps TestMTS400M.GpsControl -> UARTGpsPacket; TestMTS400M.GpsSend -> UARTGpsPacket; TestMTS400M.GpsReceive -> UARTGpsPacket; TestMTS400M.GpsCmd -> UARTGpsPacket.GpsCmd; // Wiring for Taos light sensor TestMTS400M.TaosControl -> TaosPhoto; TestMTS400M.TaosCh0 -> TaosPhoto.ADC[0]; TestMTS400M.TaosCh1 -> TaosPhoto.ADC[1]; // Wiring for Accelerometer TestMTS400M.AccelControl->Accel.StdControl; TestMTS400M.AccelCmd -> Accel.AccelCmd; TestMTS400M.AccelX -> Accel.AccelX; TestMTS400M.AccelY -> Accel.AccelY; // Wiring for Sensirion humidity/temperature sensor TestMTS400M.TempHumControl -> SensirionHumidity; TestMTS400M.Humidity -> SensirionHumidity.Humidity; TestMTS400M.Temperature -> SensirionHumidity.Temperature; TestMTS400M.HumidityError -> SensirionHumidity.HumidityError; TestMTS400M.TemperatureError -> SensirionHumidity.TemperatureError; // Wiring for Intersema barometric pressure/temperature sensor TestMTS400M.IntersemaCal -> IntersemaPressure; TestMTS400M.PressureControl -> IntersemaPressure; TestMTS400M.IntersemaPressure -> IntersemaPressure.Pressure; TestMTS400M.IntersemaTemp -> IntersemaPressure.Temperature; // TestMTS400M.HumidityError -> SensirionHumidity.HumidityError; // TestMTS400M.TemperatureError -> SensirionHumidity.TemperatureError; TestMTS400M.Leds -> LedsC; TestMTS400M.Timer -> TimerC.Timer[unique("Timer")]; } --- NEW FILE: TestMTS400M.nc --- /* tab:4 * * * "Copyright (c) 2000-2002 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copyright notice, the following * two paragraphs and the author appear in all copies of this software. * * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * */ /* tab:4 * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By * downloading, copying, installing or using the software you agree to * this license. If you do not agree to this license, do not download, * install, copy or use the software. * * Intel Open Source License * * Copyright (c) 2002 Intel Corporation * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the Intel Corporation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL OR ITS * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * */ /* History: created 1/25/2001 * * */ /* TestMTS350: - Tests Crossbow MTS350 sensor board for: gps, temperature, humidity, light, accel */ /****************************************************************************** * Measures MTS400/420 weatherboard sensors & gps and converts to engineering units * were possible. *----------------------------------------------------------------------------- * Output results through mica2 uart port. Connect serial cable from programming * board to PC to monitor ouput. Use any terminal monitoring program set for * 57600, N,8,1 *------------------------------------------------------------------------------ * Runs in one of two modes: * gps_active = TRUE : turns on gps and outputs messages; weather sensors not used * = FALSE: turns off gps ; measure weather sensors *------------------------------------------------------------------------------ * NOTE: * No real power strategy; just turns sensors on sequentially. * Should add BusArbitration routines, like mica2dotwb for better power control *****************************************************************************/ module TestMTS400M { provides interface StdControl; uses { //gps interface I2CSwitchCmds as GpsCmd; interface StdControl as GpsControl; interface BareSendMsg as GpsSend; interface ReceiveMsg as GpsReceive; //Accels interface StdControl as AccelControl; interface I2CSwitchCmds as AccelCmd; interface ADC as AccelX; interface ADC as AccelY; //Intersema interface SplitControl as PressureControl; //interface StdControl as PressureControl; interface ADC as IntersemaTemp; interface ADC as IntersemaPressure; interface Calibration as IntersemaCal; //Sensirion interface SplitControl as TempHumControl; interface ADC as Humidity; interface ADC as Temperature; interface ADCError as HumidityError; interface ADCError as TemperatureError; //Taos interface SplitControl as TaosControl; interface ADC as TaosCh0; interface ADC as TaosCh1; interface Timer; interface Leds; } } implementation { #include "SODebug.h" #include "gps.h" enum {START, BUSY, HUMIDITY_DONE, PRESSURE_DONE, LIGHT_DONE, ACCEL_DONE}; char count; uint16_t calibration[6]; uint16_t C1,C2,C3,C4,C5,C6; //intersema calibration coefficients uint16_t TaosData; uint16_t HumData; uint16_t PressureData; uint16_t AccelData; uint8_t state; bool gps_active; //true if gps is active command result_t StdControl.init() { gps_active = FALSE; //change to FALSE to measure weather sensors //gps_active = TRUE; TaosData = 0; init_debug(); call Leds.init(); call GpsControl.init(); // call GpsControl.start(); // call GpsCmd.PowerSwitch(0); //turn off GPS power, after reset it will be on. // call GpsControl.stop(); call TaosControl.init(); call AccelControl.init(); //initialize accelerometer call TempHumControl.init(); //init Sensirion call PressureControl.init(); // init Intersema return SUCCESS; } command result_t StdControl.start() { call HumidityError.enable(); //in case Sensirion doesn't respond call TemperatureError.enable(); // " if (gps_active){ call Leds.redOn(); call GpsControl.start(); SODbg(DBG_USR2, "Power GPS... \n"); if (! call GpsCmd.PowerSwitch(1)) { //turn on GPS power SODbg(DBG_USR2, "Failed to power on gps \n"); } } else{ call Leds.redOn(); call Leds.yellowOn(); call Leds.greenOn(); state = START; call Timer.start(TIMER_REPEAT, 500); //start up weather sensor measurements } return SUCCESS; } command result_t StdControl.stop() { return SUCCESS; } /****************************************************************************** * Timer fired, test GPS, humidity/temp * async for test only *****************************************************************************/ async event result_t Timer.fired() { call Leds.redOff(); call Leds.yellowOff(); call Leds.greenOff(); if ( state == ACCEL_DONE) state = START; if (state == START){ state = BUSY; call TempHumControl.start(); } if (state == HUMIDITY_DONE){ state = BUSY; call PressureControl.start(); } if (state == PRESSURE_DONE){ state = BUSY; call TaosControl.start(); } if (state == LIGHT_DONE){ state = BUSY; call AccelCmd.PowerSwitch(1); } return SUCCESS; } /****************************************************************************** * Packet received from GPS - ASCII msg * 1st byte in pkt is number of ascii bytes * async used only for testing *****************************************************************************/ async event TOS_MsgPtr GpsReceive.receive(TOS_MsgPtr data) { //change to GPS packet!! uint8_t i; GPS_MsgPtr gps_data = (GPS_MsgPtr)data; call Leds.greenToggle(); for (i = 0; i <= gps_data->data[0] ; i++) UARTPutChar(gps_data->data[i]); SODbg(DBG_USR2, "\n"); return data; } event result_t GpsSend.sendDone(TOS_MsgPtr msg, result_t success) { return SUCCESS; } event result_t GpsCmd.SwitchesSet(uint8_t PowerState){ gps_active = TRUE; SODbg(DBG_USR2, "Gps power on \n"); call Leds.yellowOn(); return SUCCESS; } /****************************************************************************** * Intersema MS5534A barometric pressure/temperature sensor * - 6 cal coefficients (C1..C6) are extracted from 4, 16 bit,words from sensor * - Temperature measurement: * UT1=8*C5+20224 * dT=data-UT1 * Temp=(degC x10)=200+dT(C6+50)/1024 * - Pressure measurement: * OFF=C2*4 + ((C4-512)*dT)/1024 * SENS=C1+(C3*dT)/1024 + 24576 * X=(SENS*(PressureData-7168))/16384 - OFF * Press(mbar)= X/32+250 *****************************************************************************/ event result_t IntersemaTemp.dataReady(uint16_t data) { float UT1,dT,Temp; float OFF,SENS,X,Press; //temperature UT1=8*(float)C5+20224; dT = (float)data-UT1; Temp = 200.0 + dT*((float)C6+50.0)/1024.0; //pressure OFF = (float)C2*4 + (((float)C4-512.0)*dT)/1024; SENS = (float)C1 + ((float)C3*dT)/1024 + 24576; X = (SENS*((float)PressureData-7168.0))/16384 - OFF; Press = X/32.0 + 250.0; SODbg(DBG_USR2, "Pressure: Temp(adc): %i Press(adc): %i Temp(degCx10): %i Press(mbar): %i \n", data,PressureData,(int)Temp, (int)Press); call PressureControl.stop(); return SUCCESS; } event result_t IntersemaPressure.dataReady(uint16_t data) { PressureData = data; return call IntersemaTemp.getData(); } event result_t IntersemaCal.dataReady(char word, uint16_t value) { // make sure we get all the calibration bytes count++; // SODbg(DBG_USR2, " cal word %i value %x \n",word,value); calibration[word-1] = value; if (count == 4) { SODbg(DBG_USR2, "Pressure cal words (1..4): %x,%x,%x,%x \n", calibration[0],calibration[1],calibration[2],calibration[3] ); C1 = calibration[0] >> 1; C2 = ((calibration[2] & 0x3f) << 6) | (calibration[3] & 0x3f); C3 = calibration[3] >> 6; C4 = calibration[2] >> 6; C5 = ((calibration[0] & 1) << 10) | (calibration[1] >> 6); C6 = calibration[1] & 0x3f; // SODbg(DBG_USR2, "Pressure C1:%x C2:%x C3:%x C4:%x C5:%x C6:%x \n", // C1,C2,C3,C4,C5,C6 ); SODbg(DBG_USR2, "Pressure C1:%i C2:%i C3:%i C4:%i C5:%i C6:%i \n", C1,C2,C3,C4,C5,C6 ); call IntersemaPressure.getData(); } return SUCCESS; } event result_t PressureControl.initDone() { return SUCCESS; } event result_t PressureControl.stopDone() { state = PRESSURE_DONE; return SUCCESS; } event result_t PressureControl.startDone() { count = 0; call IntersemaCal.getData(); return SUCCESS; } /****************************************************************************** * Sensirion SHT11 humidity/temperature sensor * - Humidity data is 12 bit: * Linear calc (no temp correction) * fRH = -4.0 + 0.0405 * data -0.0000028 * data^2 'RH linear * With temperature correction: * fRH = (fTemp - 25) * (0.01 + 0.00008 * data) + fRH 'RH true * - Temperature data is 14 bit * Temp(degC) = -38.4 + 0.0098 * data *****************************************************************************/ event result_t Temperature.dataReady(uint16_t data) { float fTemp, fHumidity; fTemp = -38.4 + 0.0098*(float)data; fHumidity = -4.0 + 0.0405 * HumData -0.0000028 * HumData * HumData; fHumidity= (fTemp-25.0)* (0.01 + 0.00008 * HumData) + fHumidity; fTemp = 10*fTemp; SODbg(DBG_USR2, "Humidity: Temp(adc): %i Humidity(adc): %i Temp(degCx10): %i Humidity(%): %i \n", data,HumData,(int)fTemp, (int)fHumidity); call TempHumControl.stop(); return SUCCESS; } event result_t Humidity.dataReady(uint16_t data) { HumData = data; //pressure data return call Temperature.getData(); } event result_t TempHumControl.startDone() { call Humidity.getData(); return SUCCESS; } event result_t TempHumControl.initDone() { return SUCCESS; } event result_t TempHumControl.stopDone() { state = HUMIDITY_DONE; return SUCCESS; } event result_t HumidityError.error(uint8_t token) { call Leds.redOff(); call Leds.yellowOff(); call Temperature.getData(); return SUCCESS; } event result_t TemperatureError.error(uint8_t token) { call TempHumControl.stop(); call Leds.yellowOff(); return SUCCESS; } /****************************************************************************** * Taos- tsl2250 light sensor * Two ADC channels: * ADC Count Value (ACNTx) = INT(16.5*[CV-1]) +S*CV * where CV = 2^^C * C = (data & 0x7) >> 4 * S = data & 0xF * Light level (lux) = ACNT0*0.46*(e^^-3.13*R) * R = ACNT1/ACNT0 *****************************************************************************/ async event result_t TaosCh1.dataReady(uint16_t data) { uint16_t CV1,CH1,ST1,ACNT0,ACNT1; float CNT1,R,Lux; ST1 = TaosData & 0xf; CH1 = (TaosData & 0x70) >> 4; CV1 = 1 << CH1; CNT1 = (int)(16.5*(CV1-1)) + ST1*CV1; ACNT0 = (int)CNT1; if (TaosData == 0xff) SODbg(DBG_USR2, "Taos Ch0 data: OVERFLOW \n") ; SODbg(DBG_USR2, "Taos Ch0 data: %i Cord: %i Step: %i ADC Counts: %i \n", TaosData & 0x0FF, CH1,ST1,ACNT0); data = data & 0xff; ST1 = data & 0xf; CH1 = (data & 0x70) >> 4; CV1 = 1 << CH1; CNT1 = (int)(16.5*(CV1-1)) + ST1*CV1; ACNT1 = (int)CNT1; R = (float)ACNT1/(float)ACNT0; Lux = (float)ACNT0*0.46/exp(3.13*R); if (data == 0xff) SODbg(DBG_USR2, "Taos Ch1 data: OVERFLOW \n") ; SODbg(DBG_USR2, "Taos Ch1 data: %i Cord: %i Step: %i ADC Counts: %i Light(lux): %i \n", data & 0x0FF, CH1,ST1,ACNT1,(int)Lux); call TaosControl.stop(); return SUCCESS; } async event result_t TaosCh0.dataReady(uint16_t data) { TaosData = data & 0xff; SODbg(DBG_USR2, "Got Taos Ch0 data \n") ; return call TaosCh1.getData(); } event result_t TaosControl.startDone(){ return call TaosCh0.getData(); } event result_t TaosControl.initDone() { return SUCCESS; } event result_t TaosControl.stopDone() { state = LIGHT_DONE; return SUCCESS; } /****************************************************************************** * ADXL202E Accelerometer * At 3.0 supply this sensor's sensitivty is ~167mv/g * 0 g is at ~1.5V or ~VCC/2 - this varies alot. * For an accurate calibration measure each axis at +/- 1 g and * compute the center point (0 g level) as 1/2 of difference. * Note: this app doesn't measure the battery voltage, it assumes 3.2 volts * To getter better accuracy measure the battery voltage as this effects the * full scale of the Atmega128 ADC. * bits/mv = 1024/(1000*VBATT) * bits/g = 1024/(1000*VBATT)(bits/mv) * 167(mv/g) * = 171/VBATT (bits/g) * C = 0.171/VBATT (bits/mg) * Accel(mg) ~ (ADC DATA - 512) /C *****************************************************************************/ event result_t AccelY.dataReady(uint16_t data){ float Accel, C; float VBATT = 3.2; C = 0.171/VBATT; Accel = ((float)AccelData - 512.0)/C; SODbg(DBG_BOOT, "AccelX data %i AcceX(mg) %i \n",AccelData, (int)Accel); Accel = ((float)data - 512.0)/C; SODbg(DBG_BOOT, "AccelY data %i AcceY(mg) %i \n",data, (int)Accel); call AccelCmd.PowerSwitch(0); //power off return SUCCESS; } event result_t AccelX.dataReady(uint16_t data){ AccelData = data; // SODbg(DBG_BOOT, "AccelX data %i \n",AccelData); call AccelY.getData(); return SUCCESS; } event result_t AccelCmd.SwitchesSet(uint8_t PowerState){ //power on/off //SODbg(DBG_BOOT, "Accel switch set %i \n",PowerState); if (PowerState) call AccelX.getData(); //start measuring X accel axis else state = ACCEL_DONE; return SUCCESS; } } |
From: <che...@us...> - 2003-08-12 19:59:08
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv17041 Modified Files: distance.xls Log Message: . Index: distance.xls =================================================================== RCS file: /cvsroot/firebug/firebug/web/distance.xls,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsDo96Tk and /tmp/cvscQx6vv differ |
From: David D. <do...@ce...> - 2003-08-08 13:43:00
|
Max, Please provide more of a log messge than ".". While I agree that it may seem superfluous for the email, it really help when people browse the cvs archive web pages. Thanks, Dave On Thu, 7 Aug 2003 che...@us... wrote: > Update of /cvsroot/firebug/firebug/web > In directory sc8-pr-cvs1:/tmp/cvs-serv11792 > > Modified Files: > field-result.html > Log Message: > . > > Index: field-result.html > =================================================================== > RCS file: /cvsroot/firebug/firebug/web/field-result.html,v > retrieving revision 1.9 > retrieving revision 1.10 > diff -C2 -d -r1.9 -r1.10 > *** field-result.html 6 Aug 2003 19:18:37 -0000 1.9 > --- field-result.html 8 Aug 2003 04:47:55 -0000 1.10 > *************** > *** 340,376 **** > Raw Data from the experiment can be accessed from <a href="2003_7_28.txt">here</a> > > - <h1>FireBug Field Experiment #6</h1> > - > - <h2>Time, Location,Context</h2> > - <p> > - 7/31/2003 Thursday. 15:30AM In front of Doe library.<br> > - Sunny, light breeze, ~70F<br> > - Motes are on the grass ground<br> > - Two Parameters are changed: 1. retransimission =0; 2.set radio > - power to maximum. > - > - </p> > - > - <h2>Data Packet Summary</h2> > - > - <table class="db_schema"> > - <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> > - > - <tr><td>5m</td><td>61</td><td>183</td><td>6</td><td>122</td><td>123</td><td>99.9%</td></tr> > - > - <tr><td>10m</td><td>61</td><td>263</td><td>6</td><td>202</td><td>203</td><td>99.9%</td></tr> > - > - <tr><td>15m</td><td>61</td><td>263</td><td>6</td><td>202</td><td>203</td><td>99.9%</td></tr> > - > - <tr><td>20m</td><td>61</td><td>301</td><td>2</td><td>237</td><td>241</td><td>98.3%</td></tr> > - > - </table> > - <P> > - From 160 feet, we test 300 feet, no data packet from motes. > - <P> > - Raw Data from the experiment can be accessed from <a href="2003_7_28.txt">here</a> > - > - > - > > <h1>FireBug Field Experiment #6</h1> > --- 340,343 ---- > *************** > *** 416,419 **** > --- 383,419 ---- > <P> > Raw Data from the experiment can be accessed from <a href="2003_8_5.txt">here</a> > + > + > + <h1>FireBug Field Experiment #7</h1> > + > + <h2>Time, Location,Context</h2> > + <p> > + 8/7/2003 Thr. 14:30AM Tilden Park<br> > + Sunny, light breeze, ~70F<br> > + Motes are put on the Low grass ground<br> > + </p> > + > + <h2>Data Packet Summary</h2> > + > + <table class="db_schema"> > + <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> > + > + <tr><td>5m</td><td>61</td><td>188</td><td>2</td><td>127</td><td>128</td><td>99.9%</td></tr> > + > + <tr><td>10m</td><td>61</td><td>205</td><td>2</td><td>131</td><td>145</td><td>90.3%</td></tr> > + <tr><td>10m</td><td>61</td><td>180</td><td>4</td><td>36</td><td>120</td><td>30%</td></tr> > + <tr><td>10m</td><td>62</td><td>304</td><td>5</td><td>55</td><td>243</td><td>22.64%</td></tr> > + <tr><td>10m</td><td>61</td><td>260</td><td>6</td><td>109</td><td>200</td><td>54.5%</td></tr> > + <tr><td>10m</td><td>143</td><td>171</td><td>7</td><td>4</td><td>29</td><td>13.8%</td></tr> > + <tr><td>10m</td><td>61</td><td>266</td><td>8</td><td>108</td><td>206</td><td>52.42%</td></tr> > + <tr><td>10m</td><td>61</td><td>189</td><td>10</td><td>110</td><td>129</td><td>85.27%</td></tr> > + > + > + <tr><td>15m</td><td>81</td><td>205</td><td>2</td><td>88</td><td>261</td><td>33.72%</td></tr> > + > + > + </table> > + <P> > + Raw Data from the experiment can be accessed from <a href="2003_8_7.txt">here</a> > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Firebug-cvs mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebug-cvs > |
From: <che...@us...> - 2003-08-08 04:50:10
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv11792 Modified Files: field-result.html Log Message: . Index: field-result.html =================================================================== RCS file: /cvsroot/firebug/firebug/web/field-result.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** field-result.html 6 Aug 2003 19:18:37 -0000 1.9 --- field-result.html 8 Aug 2003 04:47:55 -0000 1.10 *************** *** 340,376 **** Raw Data from the experiment can be accessed from <a href="2003_7_28.txt">here</a> - <h1>FireBug Field Experiment #6</h1> - - <h2>Time, Location,Context</h2> - <p> - 7/31/2003 Thursday. 15:30AM In front of Doe library.<br> - Sunny, light breeze, ~70F<br> - Motes are on the grass ground<br> - Two Parameters are changed: 1. retransimission =0; 2.set radio - power to maximum. - - </p> - - <h2>Data Packet Summary</h2> - - <table class="db_schema"> - <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> - - <tr><td>5m</td><td>61</td><td>183</td><td>6</td><td>122</td><td>123</td><td>99.9%</td></tr> - - <tr><td>10m</td><td>61</td><td>263</td><td>6</td><td>202</td><td>203</td><td>99.9%</td></tr> - - <tr><td>15m</td><td>61</td><td>263</td><td>6</td><td>202</td><td>203</td><td>99.9%</td></tr> - - <tr><td>20m</td><td>61</td><td>301</td><td>2</td><td>237</td><td>241</td><td>98.3%</td></tr> - - </table> - <P> - From 160 feet, we test 300 feet, no data packet from motes. - <P> - Raw Data from the experiment can be accessed from <a href="2003_7_28.txt">here</a> - - - <h1>FireBug Field Experiment #6</h1> --- 340,343 ---- *************** *** 416,419 **** --- 383,419 ---- <P> Raw Data from the experiment can be accessed from <a href="2003_8_5.txt">here</a> + + + <h1>FireBug Field Experiment #7</h1> + + <h2>Time, Location,Context</h2> + <p> + 8/7/2003 Thr. 14:30AM Tilden Park<br> + Sunny, light breeze, ~70F<br> + Motes are put on the Low grass ground<br> + </p> + + <h2>Data Packet Summary</h2> + + <table class="db_schema"> + <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> + + <tr><td>5m</td><td>61</td><td>188</td><td>2</td><td>127</td><td>128</td><td>99.9%</td></tr> + + <tr><td>10m</td><td>61</td><td>205</td><td>2</td><td>131</td><td>145</td><td>90.3%</td></tr> + <tr><td>10m</td><td>61</td><td>180</td><td>4</td><td>36</td><td>120</td><td>30%</td></tr> + <tr><td>10m</td><td>62</td><td>304</td><td>5</td><td>55</td><td>243</td><td>22.64%</td></tr> + <tr><td>10m</td><td>61</td><td>260</td><td>6</td><td>109</td><td>200</td><td>54.5%</td></tr> + <tr><td>10m</td><td>143</td><td>171</td><td>7</td><td>4</td><td>29</td><td>13.8%</td></tr> + <tr><td>10m</td><td>61</td><td>266</td><td>8</td><td>108</td><td>206</td><td>52.42%</td></tr> + <tr><td>10m</td><td>61</td><td>189</td><td>10</td><td>110</td><td>129</td><td>85.27%</td></tr> + + + <tr><td>15m</td><td>81</td><td>205</td><td>2</td><td>88</td><td>261</td><td>33.72%</td></tr> + + + </table> + <P> + Raw Data from the experiment can be accessed from <a href="2003_8_7.txt">here</a> |
From: <do...@us...> - 2003-08-04 19:55:00
|
Update of /cvsroot/firebug/firebug/web/images In directory sc8-pr-cvs1:/tmp/cvs-serv1835/images Added Files: SHT11_150px.jpg tsl257.jpg Log Message: Added more material on the hardware. --- NEW FILE: SHT11_150px.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tsl257.jpg --- (This appears to be a binary file; contents omitted.) |
From: <do...@us...> - 2003-08-04 19:55:00
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv1835 Modified Files: sensorarch.html Added Files: sensors.html Log Message: Added more material on the hardware. --- NEW FILE: sensors.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <link type="text/css" rel="stylesheet" href="firebug.css"> <link rel="SHORTCUT ICON" href="./images/favicon.ico"> <title>Fire Board Sensors</title> </head> <body> <h1>Fire Board Sensors</h1> <p> The Fire Board consists of various kinds of sensors. </p> <h2>Temperature and Humidity</h2> Sensirion temperature and humidity <a href="http://www.sensirion.com/en/sensors/humidity/sensors_devices/sensorSHT11.htm">SHT11</a> sensor. <img src="./images/SHT11_150px.jpg" /> <h2>Acceleration</h2> The Fire board has a 2-way Analog Devices, Inc. <a href="http://www.analog.com/Analog_Root/productPage/productHome/0%2C%2CADXL311%2C00.html">ADXL311 accelerometer</a>. <h2>Barometric pressure</h2> Barometric pressure is obtained using an Intersema <a href="http://www.intersema.com/site/technical/ms5534.php"> MS5534</a> sensor. <img src="./images/ms5534.jpg" /> <h2>Light sensor</h2> Texas Advanced Optoelectronic Solutions, Inc (TAOSInc) Light sensor: <a href="http://www.taosinc.com/product_detail.asp?cateid=20&proid=6">TSL257</a>. <img src="./images/tsl257.jpg" /> </body> </html> Index: sensorarch.html =================================================================== RCS file: /cvsroot/firebug/firebug/web/sensorarch.html,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** sensorarch.html 2 May 2003 17:52:13 -0000 1.7 --- sensorarch.html 4 Aug 2003 19:54:57 -0000 1.8 *************** *** 5,11 **** <html> <head> ! <link type="text/css" rel="stylesheet" href="firebug.css"> <link rel="SHORTCUT ICON" href="./images/favicon.ico"> - <title>FireBug Sensor network architecture</title> </head> --- 5,10 ---- <html> <head> ! <link type="text/css" rel="stylesheet" href="firebug.css"> <link rel="SHORTCUT ICON" href="./images/favicon.ico"> <title>FireBug Sensor network architecture</title> </head> |
From: <do...@us...> - 2003-08-04 19:47:22
|
Update of /cvsroot/firebug/firebug/web/images In directory sc8-pr-cvs1:/tmp/cvs-serv639 Added Files: ms5534.jpg Log Message: Added a couple of sensor pictures. --- NEW FILE: ms5534.jpg --- (This appears to be a binary file; contents omitted.) |
From: <do...@us...> - 2003-08-04 16:17:32
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv30827 Modified Files: db_select.php spie.bib spie_2004.tex Added Files: db_table_select.php Removed Files: table_select.php Log Message: Small cleanups, added a reference for the sht11 temperature and humidity sensor. --- NEW FILE: db_table_select.php --- <?php> session_start(); session_register("dbname"); session_register("tblname"); ?> <html> <head> <title>FireBug Client</title> <META HTTP-EQUIV="Refresh" CONTENT="30;URL=http://localhost/firebug/db_table_select.php"> <link rel="SHORTCUT ICON" href="./images/favicon.ico"> <link type="text/css" rel="stylesheet" href="firebug.css"> </head> <body> <?php include("nav_footer.php"); ?> <hr /> <p> Sensor data last updated: <?php echo date ("l dS F Y h:i:s A"); ?> </p> <?php //if (!isset($HTTP_SESSION_VARS["tblname"])) { if ($HTTP_POST_VARS["tbl1"]!=Null){ $HTTP_SESSION_VARS["tblname"] = $HTTP_POST_VARS["tbl1"]; $HTTP_SESSION_VARS["dbname"] = $HTTP_POST_VARS["db1"]; } $dbname = $HTTP_SESSION_VARS["dbname"]; $tblname = $HTTP_SESSION_VARS["tblname"]; print("<h1>Mote activity: Database $dbname, table $tblname</h1>"); ?> <center> <table class="db_schema"> <tr> <td>Mote ID</td> <td>Time</td> <td>Temp</td> <td>Rel. Hum.</td> <td>Baro. Pres.</td> <td>Cnt </td> <td>Rss </td> </tr> <?php mysql_connect("localhost","root","") or die("Error: ".mysql_error()." in mysql_connect."); mysql_select_db("$dbname") or die("Error: ".mysql_error()." in mysql_select_db."); if ($mote_id == "") { $mote_id = "%"; } if ($time == "") { $time = "%"; } if ($cnt == "") { $cnt = "%"; } if ($temp == "") { $temp = "%"; } if ($rel_hum == "") { $rel_hum = "%"; } if ($baro_pres == "") { $baro_pres = "%"; } if ($rss == "") { $rss = "%"; } $result = mysql_query("select * from $tblname where mote_id like '$mote_id%' and time like '$time%' and cnt like '$cnt%' and rss like '$rss%' and temp like '$temp%' and rel_hum like '$rel_hum%' and baro_pres like '$baro_pres%'") or die("Error: ".mysql_error()." in query."); if ($row = mysql_fetch_array($result)) { do { print ("<tr>"); print ("<td>"); print $row["mote_id"]; print ("</td>"); print ("<td>"); print $row["time"]; print ("</td>"); print ("<td>"); print $row["temp"]; print ("</td>"); print ("<td>"); print $row["rel_hum"]; print ("</td>"); print ("<td>"); print $row["baro_pres"]; print ("</td>"); print ("<td>"); print $row["cnt"]; print ("</td>"); print ("<td>"); print $row["rss"]; print ("</td>"); print ("</tr>"); } while ($row = mysql_fetch_array($result)); } ?> </table> </center> <hr /> <?php include("nav_footer.php"); ?> <hr /> <p> Sensor data last updated: <?php echo date ("l dS F Y h:i:s A"); ?> </p> </body> </html> Index: db_select.php =================================================================== RCS file: /cvsroot/firebug/firebug/web/db_select.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_select.php 30 Jul 2003 22:04:03 -0000 1.5 --- db_select.php 4 Aug 2003 16:17:29 -0000 1.6 *************** *** 19,23 **** ! <form action="table_select.php" method="post"> <?php --- 19,23 ---- ! <form action="db_table_select.php" method="post"> <?php Index: spie.bib =================================================================== RCS file: /cvsroot/firebug/firebug/web/spie.bib,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** spie.bib 21 Jul 2003 23:39:50 -0000 1.7 --- spie.bib 4 Aug 2003 16:17:29 -0000 1.8 *************** *** 1,2 **** --- 1,5 ---- + + + @misc{hill:j2000, author = "Jason Hill", *************** *** 7,14 **** } @inproceedings{bulusu:n2001, author = {Nirupama Bulusu and Vladimir Bychkovskiy and Deborah Estrin and John Heidemann}, ! title = {GPS-less Low Cost Outdoor Localization For Very Small Devices}, booktitle = {21st International Conference on Distribued --- 10,19 ---- } + + @inproceedings{bulusu:n2001, author = {Nirupama Bulusu and Vladimir Bychkovskiy and Deborah Estrin and John Heidemann}, ! title = {{GPS}-less Low Cost Outdoor Localization For Very Small Devices}, booktitle = {21st International Conference on Distribued *************** *** 20,23 **** --- 25,29 ---- + @inproceedings{bulusu:n2002, author = {Nirupama Bulusu and Vladimir Bychkovskiy and *************** *** 31,34 **** --- 37,41 ---- url = {http://www.cs.ucla.edu/~bulusu/papers/Bulusu02a.html} } + *************** *** 49,52 **** --- 56,61 ---- } + + @inproceedings{mainwaring:a2002, author = "Alan Mainwaring and Joseph Polastre and *************** *** 62,65 **** --- 71,76 ---- } + + @InProceedings{mehta:v2002, author = {V. Mehta and M. {El Zarki}}, *************** *** 83,86 **** --- 94,98 ---- + @inproceedings{ramadurai:v2003, author = {V.~Ramadurai and M.~L.~Sichitiu}, *************** *** 94,97 **** --- 106,124 ---- } + + + @Manual{sensirion:sht11:2003, + title = {{R}elative {H}umidity {S}ensor {SHT}11}, + OPTkey = {}, + author = {{Sensirion {AG}}}, + OPTorganization = {}, + address = {Sensirion AG, Eggbuehlstrasse 14, CH-8052 Zurich, Switzerland}, + OPTedition = {}, + OPTmonth = {}, + year = {2003}, + OPTnote = {}, + OPTannote = {}, + url = {http://www.sensirion.com/en/sensors/humidity/sensors_devices/sensorSHT11.htm} + } @inproceedings{sichitiu:ml2003, Index: spie_2004.tex =================================================================== RCS file: /cvsroot/firebug/firebug/web/spie_2004.tex,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** spie_2004.tex 27 Jul 2003 00:46:59 -0000 1.10 --- spie_2004.tex 4 Aug 2003 16:17:29 -0000 1.11 *************** *** 4,7 **** --- 4,8 ---- \usepackage{graphicx} \usepackage{chicago} + \usepackage{url} \setlength{\oddsidemargin}{0in} *************** *** 43,47 **** surrounding the structure, which may also be monitored by networked sensors. Convenience dictates that ! any such surrounding network be wireless and self-organizing. --- 44,49 ---- surrounding the structure, which may also be monitored by networked sensors. Convenience dictates that ! any such surrounding network be wireless and self-organizing, ! and that the sensors be very small. *************** *** 103,107 **** ! \paragraph{Ganesan et al.}~\cite{ganesan:d2002} have done the first large scale study for sensor networks to explore the behavior of such a --- 105,109 ---- ! \paragraph{Ganesan et al.}~\shortcite{ganesan:d2002} have done the first large scale study for sensor networks to explore the behavior of such a *************** *** 484,487 **** --- 486,491 ---- and what the bit work should be. + + Test for temperature sensor reference~\cite{sensirion:sht11:2003}. \bibliography{spie} --- table_select.php DELETED --- |
From: <do...@us...> - 2003-08-02 00:33:01
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv16431 Modified Files: gps.html Log Message: Fixed a markup typo. Index: gps.html =================================================================== RCS file: /cvsroot/firebug/firebug/web/gps.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** gps.html 1 Aug 2003 17:32:28 -0000 1.8 --- gps.html 2 Aug 2003 00:32:52 -0000 1.9 *************** *** 45,49 **** </ul> ! <h2>NMEA Data Format<h2> <p>For this application, a standard, NMEA format is used for collecting GPS data. There are various types of NMEA messages, all containing --- 45,49 ---- </ul> ! <h2>NMEA Data Format</h2> <p>For this application, a standard, NMEA format is used for collecting GPS data. There are various types of NMEA messages, all containing |
From: <che...@us...> - 2003-08-01 20:16:35
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv2938 Modified Files: field-result.html Added Files: 2003_7_31.txt Log Message: . --- NEW FILE: 2003_7_31.txt --- FireBug web client for mote activity Mote ID Time Temp Rel. Hum. Baro. Pres. Cnt Rss doe_2003_7_31cumulative 2 20030731151027 72.1 98.3 29.1 61 159 2 20030731151030 72.1 98.3 29.1 62 152 2 20030731151033 72.1 98.3 29.1 63 151 2 20030731151036 72.1 98.3 29.1 64 153 2 20030731151039 72.1 98.3 29.1 65 154 2 20030731151042 72.1 98.3 29.1 66 152 2 20030731151045 72.1 98.3 29.1 67 156 2 20030731151048 72.1 98.3 29.1 68 153 2 20030731151051 72.1 98.3 29.1 69 155 2 20030731151054 72.1 98.3 29.1 70 154 2 20030731151057 72.1 98.3 29.1 71 157 2 20030731151100 72.1 98.3 29.1 72 152 2 20030731151103 72.1 98.3 29.1 73 152 2 20030731151106 72.1 98.3 29.1 74 153 2 20030731151109 72.1 98.3 29.1 75 155 2 20030731151112 72.1 98.3 29.1 76 155 2 20030731151115 72.1 98.3 29.1 77 156 2 20030731151118 72.1 98.3 29.1 78 154 2 20030731151121 72.1 98.3 29.1 79 153 2 20030731151124 72.1 98.3 29.1 80 153 2 20030731151127 72.1 98.3 29.1 81 158 2 20030731151130 72.1 98.3 29.1 82 156 2 20030731151133 72.1 98.3 29.1 83 155 2 20030731151136 72.1 98.3 29.1 84 157 2 20030731151139 72.1 98.3 29.1 85 158 2 20030731151142 72.1 98.3 29.1 86 154 2 20030731151145 72.1 98.3 29.1 87 158 2 20030731151148 72.1 98.3 29.1 88 154 2 20030731151151 72.1 98.3 29.1 89 153 2 20030731151154 72.1 98.3 29.1 90 153 2 20030731151157 72.1 98.3 29.1 91 154 2 20030731151200 72.1 98.3 29.1 92 152 2 20030731151203 72.1 98.3 29.1 93 156 2 20030731151206 72.1 98.3 29.1 94 155 2 20030731151209 72.1 98.3 29.1 95 153 2 20030731151212 72.1 98.3 29.1 96 156 2 20030731151215 72.1 98.3 29.1 97 159 2 20030731151218 72.1 98.3 29.1 98 155 2 20030731151221 72.1 98.3 29.1 99 153 2 20030731151224 72.1 98.3 29.1 100 156 2 20030731151227 72.1 98.3 29.1 101 155 2 20030731151230 72.1 98.3 29.1 102 156 2 20030731151233 72.1 98.3 29.1 103 156 2 20030731151236 72.1 98.3 29.1 104 156 2 20030731151239 72.1 98.3 29.1 105 158 2 20030731151242 72.1 98.3 29.1 106 157 2 20030731151245 72.1 98.3 29.1 107 156 2 20030731151248 72.1 98.3 29.1 108 158 2 20030731151251 72.1 98.3 29.1 109 155 2 20030731151254 72.1 98.3 29.1 110 156 2 20030731151257 72.1 98.3 29.1 111 160 2 20030731151300 72.1 98.3 29.1 112 154 2 20030731151303 72.1 98.3 29.1 113 156 2 20030731151306 72.1 98.3 29.1 114 156 2 20030731151309 72.1 98.3 29.1 115 157 2 20030731151312 72.1 98.3 29.1 116 156 2 20030731151315 72.1 98.3 29.1 117 155 2 20030731151318 72.1 98.3 29.1 118 158 2 20030731151321 72.1 98.3 29.1 119 156 2 20030731151324 72.1 98.3 29.1 120 155 2 20030731151327 72.1 98.3 29.1 121 159 2 20030731151330 72.1 98.3 29.1 122 155 2 20030731151333 72.1 98.3 29.1 123 157 2 20030731151336 72.1 98.3 29.1 124 164 2 20030731151339 72.1 98.3 29.1 125 157 2 20030731151342 72.1 98.3 29.1 126 155 2 20030731151345 72.1 98.3 29.1 127 154 2 20030731151348 72.1 98.3 29.1 128 158 2 20030731151351 72.1 98.3 29.1 129 159 2 20030731151354 72.1 98.3 29.1 130 156 2 20030731151357 72.1 98.3 29.1 131 160 2 20030731151400 72.1 98.3 29.1 132 160 2 20030731151403 72.1 98.3 29.1 133 159 2 20030731151406 72.1 98.3 29.1 134 160 2 20030731151409 72.1 98.3 29.1 135 159 2 20030731151412 72.1 98.3 29.1 136 156 2 20030731151415 72.1 98.3 29.1 137 156 2 20030731151418 72.1 98.3 29.1 138 160 2 20030731151421 72.1 98.3 29.1 139 157 2 20030731151424 72.1 98.3 29.1 140 157 2 20030731151427 72.1 98.3 29.1 141 160 2 20030731151430 72.1 98.3 29.1 142 160 2 20030731151433 72.1 98.3 29.1 143 162 2 20030731151436 72.1 98.3 29.1 144 157 2 20030731151439 72.1 98.3 29.1 145 157 2 20030731151442 72.1 98.3 29.1 146 159 2 20030731151445 72.1 98.3 29.1 147 159 2 20030731151448 72.1 98.3 29.1 148 162 2 20030731151451 72.1 98.3 29.1 149 159 2 20030731151454 72.1 98.3 29.1 150 156 2 20030731151457 72.1 98.3 29.1 151 158 2 20030731151500 72.1 98.3 29.1 152 160 2 20030731151503 72.1 98.3 29.1 153 158 2 20030731151506 72.1 98.3 29.1 154 159 2 20030731151509 72.1 98.3 29.1 155 159 2 20030731151512 72.1 98.3 29.1 156 159 2 20030731151515 72.1 98.3 29.1 157 159 2 20030731151518 72.1 98.3 29.1 158 158 2 20030731151521 72.1 98.3 29.1 159 159 2 20030731151524 72.1 98.3 29.1 160 160 2 20030731151527 72.1 98.3 29.1 161 160 2 20030731151530 72.1 98.3 29.1 162 158 2 20030731151533 72.1 98.3 29.1 163 159 2 20030731151536 72.1 98.3 29.1 164 162 2 20030731151539 72.1 98.3 29.1 165 160 2 20030731151542 72.1 98.3 29.1 166 160 2 20030731151545 72.1 98.3 29.1 167 156 2 20030731151548 72.1 98.3 29.1 168 155 2 20030731151551 72.1 98.3 29.1 169 161 2 20030731151554 72.1 98.3 29.1 170 160 2 20030731151557 72.1 98.3 29.1 171 159 2 20030731151600 72.1 98.3 29.1 172 158 2 20030731151603 72.1 98.3 29.1 173 157 2 20030731151606 72.1 98.3 29.1 174 159 2 20030731151609 72.1 98.3 29.1 175 158 2 20030731151612 72.1 98.3 29.1 176 159 2 20030731151615 72.1 98.3 29.1 177 159 2 20030731151618 72.1 98.3 29.1 178 159 2 20030731151621 72.1 98.3 29.1 179 162 2 20030731151624 72.1 98.3 29.1 180 157 2 20030731151627 72.1 98.3 29.1 181 159 2 20030731151630 72.1 98.3 29.1 182 159 2 20030731151633 72.1 98.3 29.1 183 160 2 20030731151636 72.1 98.3 29.1 184 161 2 20030731151639 72.1 98.3 29.1 185 161 2 20030731151642 72.1 98.3 29.1 186 157 2 20030731151645 72.1 98.3 29.1 187 159 2 20030731151648 72.1 98.3 29.1 188 164 2 20030731151651 72.1 98.3 29.1 189 160 2 20030731151654 72.1 98.3 29.1 190 158 2 20030731151657 72.1 98.3 29.1 191 158 2 20030731151700 72.1 98.3 29.1 192 158 2 20030731151703 72.1 98.3 29.1 193 161 2 20030731151706 72.1 98.3 29.1 194 160 2 20030731151709 72.1 98.3 29.1 195 161 2 20030731151712 72.1 98.3 29.1 196 161 2 20030731151715 72.1 98.3 29.1 197 164 2 20030731151718 72.1 98.3 29.1 198 160 2 20030731151721 72.1 98.3 29.1 199 159 2 20030731151724 72.1 98.3 29.1 200 161 2 20030731151727 72.1 98.3 29.1 201 163 2 20030731151730 72.1 98.3 29.1 202 162 2 20030731151733 72.1 98.3 29.1 203 158 2 20030731151736 72.1 98.3 29.1 204 160 2 20030731151739 72.1 98.3 29.1 205 161 2 20030731151742 72.1 98.3 29.1 206 162 2 20030731151745 72.1 98.3 29.1 207 161 2 20030731151748 72.1 98.3 29.1 208 161 2 20030731151751 72.1 98.3 29.1 209 164 2 20030731151754 72.1 98.3 29.1 210 160 2 20030731151757 72.1 98.3 29.1 211 164 2 20030731151800 72.1 98.3 29.1 212 160 2 20030731151803 72.1 98.3 29.1 213 161 2 20030731151806 72.1 98.3 29.1 214 161 2 20030731151809 72.1 98.3 29.1 215 161 2 20030731151812 72.1 98.3 29.1 216 161 2 20030731151815 72.1 98.3 29.1 217 157 2 20030731151818 72.1 98.3 29.1 218 159 2 20030731151821 72.1 98.3 29.1 219 157 2 20030731151824 72.1 98.3 29.1 220 157 2 20030731151827 72.1 98.3 29.1 221 178 3 20030731152146 72.1 98.3 29.1 61 219 3 20030731152149 72.1 98.3 29.1 62 214 3 20030731152152 72.1 98.3 29.1 63 213 3 20030731152155 72.1 98.3 29.1 64 215 3 20030731152158 72.1 98.3 29.1 65 214 3 20030731152201 72.1 98.3 29.1 66 211 3 20030731152204 72.1 98.3 29.1 67 222 3 20030731152207 72.1 98.3 29.1 68 214 3 20030731152210 72.1 98.3 29.1 69 215 3 20030731152213 72.1 98.3 29.1 70 210 3 20030731152216 72.1 98.3 29.1 71 222 3 20030731152219 72.1 98.3 29.1 72 219 3 20030731152222 72.1 98.3 29.1 73 217 3 20030731152225 72.1 98.3 29.1 74 221 3 20030731152229 72.1 98.3 29.1 75 222 3 20030731152231 72.1 98.3 29.1 76 216 3 20030731152234 72.1 98.3 29.1 77 215 3 20030731152237 72.1 98.3 29.1 78 228 3 20030731152240 72.1 98.3 29.1 79 224 3 20030731152243 72.1 98.3 29.1 80 226 3 20030731152246 72.1 98.3 29.1 81 219 3 20030731152249 72.1 98.3 29.1 82 225 3 20030731152252 72.1 98.3 29.1 83 216 3 20030731152255 72.1 98.3 29.1 84 215 3 20030731152259 72.1 98.3 29.1 85 215 3 20030731152301 72.1 98.3 29.1 86 226 3 20030731152304 72.1 98.3 29.1 87 218 3 20030731152307 72.1 98.3 29.1 88 212 3 20030731152310 72.1 98.3 29.1 89 216 3 20030731152313 72.1 98.3 29.1 90 225 3 20030731152316 72.1 98.3 29.1 91 218 3 20030731152319 72.1 98.3 29.1 92 219 3 20030731152322 72.1 98.3 29.1 93 222 3 20030731152325 72.1 98.3 29.1 94 217 3 20030731152328 72.1 98.3 29.1 95 222 3 20030731152331 72.1 98.3 29.1 96 225 3 20030731152335 72.1 98.3 29.1 97 218 3 20030731152338 72.1 98.3 29.1 98 212 3 20030731152340 72.1 98.3 29.1 99 217 3 20030731152344 72.1 98.3 29.1 100 217 3 20030731152346 72.1 98.3 29.1 101 218 3 20030731152350 72.1 98.3 29.1 102 210 3 20030731152352 72.1 98.3 29.1 103 219 3 20030731152356 72.1 98.3 29.1 104 215 3 20030731152358 72.1 98.3 29.1 105 220 3 20030731152401 72.1 98.3 29.1 106 212 3 20030731152404 72.1 98.3 29.1 107 213 3 20030731152407 72.1 98.3 29.1 108 212 3 20030731152410 72.1 98.3 29.1 109 215 3 20030731152413 72.1 98.3 29.1 110 214 3 20030731152416 72.1 98.3 29.1 111 221 3 20030731152419 72.1 98.3 29.1 112 218 3 20030731152422 72.1 98.3 29.1 113 223 3 20030731152426 72.1 98.3 29.1 114 226 3 20030731152428 72.1 98.3 29.1 115 223 3 20030731152431 72.1 98.3 29.1 116 215 3 20030731152434 72.1 98.3 29.1 117 213 3 20030731152437 72.1 98.3 29.1 118 217 3 20030731152441 72.1 98.3 29.1 119 216 3 20030731152443 72.1 98.3 29.1 120 219 3 20030731152446 72.1 98.3 29.1 121 223 3 20030731152449 72.1 98.3 29.1 122 220 3 20030731152452 72.1 98.3 29.1 123 217 3 20030731152455 72.1 98.3 29.1 124 217 3 20030731152458 72.1 98.3 29.1 125 218 3 20030731152501 72.1 98.3 29.1 126 217 3 20030731152505 72.1 98.3 29.1 127 217 3 20030731152507 72.1 98.3 29.1 128 216 3 20030731152510 72.1 98.3 29.1 129 218 3 20030731152513 72.1 98.3 29.1 130 214 3 20030731152516 72.1 98.3 29.1 131 215 3 20030731152519 72.1 98.3 29.1 132 217 3 20030731152522 72.1 98.3 29.1 133 215 3 20030731152525 72.1 98.3 29.1 134 222 3 20030731152528 72.1 98.3 29.1 135 223 3 20030731152532 72.1 98.3 29.1 136 221 3 20030731152534 72.1 98.3 29.1 137 216 3 20030731152537 72.1 98.3 29.1 138 231 3 20030731152540 72.1 98.3 29.1 139 221 3 20030731152543 72.1 98.3 29.1 140 219 3 20030731152546 72.1 98.3 29.1 141 215 3 20030731152549 72.1 98.3 29.1 142 220 3 20030731152553 72.1 98.3 29.1 143 222 3 20030731152555 72.1 98.3 29.1 144 213 3 20030731152558 72.1 98.3 29.1 145 221 3 20030731152601 72.1 98.3 29.1 146 229 3 20030731152604 72.1 98.3 29.1 147 225 3 20030731152607 72.1 98.3 29.1 148 222 3 20030731152610 72.1 98.3 29.1 149 218 3 20030731152613 72.1 98.3 29.1 150 232 3 20030731152617 72.1 98.3 29.1 151 221 3 20030731152619 72.1 98.3 29.1 152 222 3 20030731152622 72.1 98.3 29.1 153 222 3 20030731152625 72.1 98.3 29.1 154 217 3 20030731152628 72.1 98.3 29.1 155 224 3 20030731152631 72.1 98.3 29.1 156 225 3 20030731152634 72.1 98.3 29.1 157 230 3 20030731152637 72.1 98.3 29.1 158 229 3 20030731152640 72.1 98.3 29.1 159 218 3 20030731152643 72.1 98.3 29.1 160 217 3 20030731152646 72.1 98.3 29.1 161 227 3 20030731152649 72.1 98.3 29.1 162 221 3 20030731152652 72.1 98.3 29.1 163 213 3 20030731152655 72.1 98.3 29.1 164 214 3 20030731152659 72.1 98.3 29.1 165 222 3 20030731152701 72.1 98.3 29.1 166 213 3 20030731152704 72.1 98.3 29.1 167 217 3 20030731152707 72.1 98.3 29.1 168 213 3 20030731152710 72.1 98.3 29.1 169 207 3 20030731152713 72.1 98.3 29.1 170 224 3 20030731152716 72.1 98.3 29.1 171 218 3 20030731152719 72.1 98.3 29.1 172 221 3 20030731152722 72.1 98.3 29.1 173 212 3 20030731152725 72.1 98.3 29.1 174 218 3 20030731152728 72.1 98.3 29.1 175 220 3 20030731152731 72.1 98.3 29.1 176 210 3 20030731152734 72.1 98.3 29.1 177 216 3 20030731152737 72.1 98.3 29.1 178 212 3 20030731152740 72.1 98.3 29.1 179 214 3 20030731152744 72.1 98.3 29.1 180 215 3 20030731152746 72.1 98.3 29.1 181 218 3 20030731152750 72.1 98.3 29.1 182 221 3 20030731152752 72.1 98.3 29.1 183 217 3 20030731152755 72.1 98.3 29.1 184 216 3 20030731152758 72.1 98.3 29.1 185 221 3 20030731152801 72.1 98.3 29.1 186 230 3 20030731152804 72.1 98.3 29.1 187 220 3 20030731152807 72.1 98.3 29.1 188 230 3 20030731152810 72.1 98.3 29.1 189 223 3 20030731152814 72.1 98.3 29.1 190 231 3 20030731152816 72.1 98.3 29.1 191 216 3 20030731152819 72.1 98.3 29.1 192 221 3 20030731152822 72.1 98.3 29.1 193 218 3 20030731152825 72.1 98.3 29.1 194 231 3 20030731152829 72.1 98.3 29.1 195 221 3 20030731152832 72.1 98.3 29.1 196 220 3 20030731152834 72.1 98.3 29.1 197 213 3 20030731152837 72.1 98.3 29.1 198 225 3 20030731152840 72.1 98.3 29.1 199 12 3 20030731152843 72.1 98.3 29.1 200 225 3 20030731152846 72.1 98.3 29.1 201 4 3 20030731152849 72.1 98.3 29.1 202 219 3 20030731152852 72.1 98.3 29.1 203 219 3 20030731152855 72.1 98.3 29.1 204 222 3 20030731152858 72.1 98.3 29.1 205 224 3 20030731152902 72.1 98.3 29.1 206 212 3 20030731152904 72.1 98.3 29.1 207 216 3 20030731152907 72.1 98.3 29.1 208 218 3 20030731152910 72.1 98.3 29.1 209 223 3 20030731152913 72.1 98.3 29.1 210 217 3 20030731152916 72.1 98.3 29.1 211 225 3 20030731152919 72.1 98.3 29.1 212 220 3 20030731152922 72.1 98.3 29.1 213 220 3 20030731152925 72.1 98.3 29.1 214 219 3 20030731152928 72.1 98.3 29.1 215 226 3 20030731152931 72.1 98.3 29.1 216 218 3 20030731152934 72.1 98.3 29.1 217 230 3 20030731152937 72.1 98.3 29.1 218 216 3 20030731152941 72.1 98.3 29.1 219 213 3 20030731152943 72.1 98.3 29.1 220 222 3 20030731152947 72.1 98.3 29.1 221 205 6 20030731155049 72.1 98.3 29.1 61 63 6 20030731155052 72.1 98.3 29.1 62 62 6 20030731155055 72.1 98.3 29.1 63 43 6 20030731155101 72.1 98.3 29.1 65 53 6 20030731155104 72.1 98.3 29.1 66 54 6 20030731155107 72.1 98.3 29.1 67 48 6 20030731155110 72.1 98.3 29.1 68 44 6 20030731155113 72.1 98.3 29.1 69 41 6 20030731155116 72.1 98.3 29.1 70 46 6 20030731155119 72.1 98.3 29.1 71 44 6 20030731155122 72.1 98.3 29.1 72 60 6 20030731155125 72.1 98.3 29.1 73 56 6 20030731155128 72.1 98.3 29.1 74 61 6 20030731155131 72.1 98.3 29.1 75 56 6 20030731155134 72.1 98.3 29.1 76 49 6 20030731155137 72.1 98.3 29.1 77 40 6 20030731155140 72.1 98.3 29.1 78 48 6 20030731155143 72.1 98.3 29.1 79 55 6 20030731155146 72.1 98.3 29.1 80 57 6 20030731155201 72.1 98.3 29.1 85 39 6 20030731155204 72.1 98.3 29.1 86 39 6 20030731155210 72.1 98.3 29.1 88 44 6 20030731155213 72.1 98.3 29.1 89 53 6 20030731155216 72.1 98.3 29.1 90 43 6 20030731155234 72.1 98.3 29.1 96 49 6 20030731155237 72.1 98.3 29.1 97 41 6 20030731155240 72.1 98.3 29.1 98 56 6 20030731155243 72.1 98.3 29.1 99 51 6 20030731155246 72.1 98.3 29.1 100 49 6 20030731155249 72.1 98.3 29.1 101 42 6 20030731155252 72.1 98.3 29.1 102 42 6 20030731155255 72.1 98.3 29.1 103 35 6 20030731155258 72.1 98.3 29.1 104 49 6 20030731155304 72.1 98.3 29.1 106 41 6 20030731155307 72.1 98.3 29.1 107 35 6 20030731155310 72.1 98.3 29.1 108 52 6 20030731155316 72.1 98.3 29.1 110 39 6 20030731155319 72.1 98.3 29.1 111 46 6 20030731155328 72.1 98.3 29.1 114 44 6 20030731155331 72.1 98.3 29.1 115 49 6 20030731155334 72.1 98.3 29.1 116 44 6 20030731155337 72.1 98.3 29.1 117 55 6 20030731155340 72.1 98.3 29.1 118 43 6 20030731155349 72.1 98.3 29.1 121 48 6 20030731155431 72.1 98.3 29.1 135 50 6 20030731155434 72.1 98.3 29.1 136 46 6 20030731155437 72.1 98.3 29.1 137 52 6 20030731155440 72.1 98.3 29.1 138 53 6 20030731155443 72.1 98.3 29.1 139 54 6 20030731155452 72.1 98.3 29.1 142 53 6 20030731155501 72.1 98.3 29.1 145 58 6 20030731155504 72.1 98.3 29.1 146 55 6 20030731155507 72.1 98.3 29.1 147 46 6 20030731155510 72.1 98.3 29.1 148 55 6 20030731155516 72.1 98.3 29.1 150 51 6 20030731155519 72.1 98.3 29.1 151 52 6 20030731155522 72.1 98.3 29.1 152 50 6 20030731155525 72.1 98.3 29.1 153 48 6 20030731155528 72.1 98.3 29.1 154 47 6 20030731155531 72.1 98.3 29.1 155 46 6 20030731155534 72.1 98.3 29.1 156 57 6 20030731155537 72.1 98.3 29.1 157 54 6 20030731155540 72.1 98.3 29.1 158 43 6 20030731155543 72.1 98.3 29.1 159 53 6 20030731155546 72.1 98.3 29.1 160 46 6 20030731155549 72.1 98.3 29.1 161 48 6 20030731155552 72.1 98.3 29.1 162 53 6 20030731155555 72.1 98.3 29.1 163 51 6 20030731155558 72.1 98.3 29.1 164 57 6 20030731155607 72.1 98.3 29.1 167 51 6 20030731155610 72.1 98.3 29.1 168 58 6 20030731155619 72.1 98.3 29.1 171 61 6 20030731155625 72.1 98.3 29.1 173 59 6 20030731155628 72.1 98.3 29.1 174 44 6 20030731155631 72.1 98.3 29.1 175 49 6 20030731155637 72.1 98.3 29.1 177 56 6 20030731155640 72.1 98.3 29.1 178 53 6 20030731155646 72.1 98.3 29.1 180 51 6 20030731155649 72.1 98.3 29.1 181 50 6 20030731155652 72.1 98.3 29.1 182 45 6 20030731155655 72.1 98.3 29.1 183 52 6 20030731155658 72.1 98.3 29.1 184 49 6 20030731155701 72.1 98.3 29.1 185 43 6 20030731155704 72.1 98.3 29.1 186 59 6 20030731155713 72.1 98.3 29.1 189 45 6 20030731155719 72.1 98.3 29.1 191 50 6 20030731155722 72.1 98.3 29.1 192 56 6 20030731155728 72.1 98.3 29.1 194 42 6 20030731155731 72.1 98.3 29.1 195 47 6 20030731155734 72.1 98.3 29.1 196 50 6 20030731155737 72.1 98.3 29.1 197 50 6 20030731155740 72.1 98.3 29.1 198 44 6 20030731155743 72.1 98.3 29.1 199 41 6 20030731155746 72.1 98.3 29.1 200 42 6 20030731155749 72.1 98.3 29.1 201 39 6 20030731155752 72.1 98.3 29.1 202 43 6 20030731155758 72.1 98.3 29.1 204 54 6 20030731155801 72.1 98.3 29.1 205 48 6 20030731155804 72.1 98.3 29.1 206 41 6 20030731155807 72.1 98.3 29.1 207 56 6 20030731155810 72.1 98.3 29.1 208 47 6 20030731155813 72.1 98.3 29.1 209 46 6 20030731155816 72.1 98.3 29.1 210 46 6 20030731155819 72.1 98.3 29.1 211 53 6 20030731155822 72.1 98.3 29.1 212 54 6 20030731155825 72.1 98.3 29.1 213 48 6 20030731155828 72.1 98.3 29.1 214 47 6 20030731155831 72.1 98.3 29.1 215 43 6 20030731155849 72.1 98.3 29.1 221 50 6 20030731155852 72.1 98.3 29.1 222 48 6 20030731155858 72.1 98.3 29.1 224 57 6 20030731155901 72.1 98.3 29.1 225 51 6 20030731155904 72.1 98.3 29.1 226 49 6 20030731155907 72.1 98.3 29.1 227 48 6 20030731155919 72.1 98.3 29.1 231 64 6 20030731155928 72.1 98.3 29.1 234 55 6 20030731155931 72.1 98.3 29.1 235 53 6 20030731155937 72.1 98.3 29.1 237 44 6 20030731155940 72.1 98.3 29.1 238 53 6 20030731155943 72.1 98.3 29.1 239 59 6 20030731155946 72.1 98.3 29.1 240 53 6 20030731155949 72.1 98.3 29.1 241 36 6 20030731155952 72.1 98.3 29.1 242 17 6 20030731155955 72.1 98.3 29.1 243 58 6 20030731160004 72.1 98.3 29.1 246 60 6 20030731160013 72.1 98.3 29.1 249 35 6 20030731160019 72.1 98.3 29.1 251 52 6 20030731160022 72.1 98.3 29.1 252 64 6 20030731160025 72.1 98.3 29.1 253 63 6 20030731160040 72.1 98.3 29.1 258 47 6 20030731160043 72.1 98.3 29.1 259 50 6 20030731160055 72.1 98.3 29.1 263 48 6 20030731160101 72.1 98.3 29.1 265 58 6 20030731160107 72.1 98.3 29.1 267 68 6 20030731160110 72.1 98.3 29.1 268 51 6 20030731160113 72.1 98.3 29.1 269 55 6 20030731160116 72.1 98.3 29.1 270 38 6 20030731160125 72.1 98.3 29.1 273 52 6 20030731160128 72.1 98.3 29.1 274 51 6 20030731160134 72.1 98.3 29.1 276 60 6 20030731160140 72.1 98.3 29.1 278 48 6 20030731160146 72.1 98.3 29.1 280 49 6 20030731160152 72.1 98.3 29.1 282 48 6 20030731160155 72.1 98.3 29.1 283 47 6 20030731160158 72.1 98.3 29.1 284 48 6 20030731160201 72.1 98.3 29.1 285 45 6 20030731160204 72.1 98.3 29.1 286 40 6 20030731160207 72.1 98.3 29.1 287 45 6 20030731160210 72.1 98.3 29.1 288 51 6 20030731160216 72.1 98.3 29.1 290 45 6 20030731160219 72.1 98.3 29.1 291 42 6 20030731160222 72.1 98.3 29.1 292 42 6 20030731160225 72.1 98.3 29.1 293 43 6 20030731160231 72.1 98.3 29.1 295 54 6 20030731160234 72.1 98.3 29.1 296 45 6 20030731160237 72.1 98.3 29.1 297 48 6 20030731160240 72.1 98.3 29.1 298 38 6 20030731160243 72.1 98.3 29.1 299 50 6 20030731160246 72.1 98.3 29.1 300 48 6 20030731160249 72.1 98.3 29.1 301 49 6 20030731160252 72.1 98.3 29.1 302 48 6 20030731160255 72.1 98.3 29.1 303 51 6 20030731160258 72.1 98.3 29.1 304 51 6 20030731160301 72.1 98.3 29.1 305 46 6 20030731160304 72.1 98.3 29.1 306 50 6 20030731160307 72.1 98.3 29.1 307 44 2 20030731160623 72.1 98.3 29.1 61 50 2 20030731160629 72.1 98.3 29.1 63 57 2 20030731160644 72.1 98.3 29.1 68 57 2 20030731160647 72.1 98.3 29.1 69 44 2 20030731160656 72.1 98.3 29.1 72 64 2 20030731160701 72.1 98.3 29.1 74 51 2 20030731160708 72.1 98.3 29.1 76 51 2 20030731160717 72.1 98.3 29.1 79 56 2 20030731160720 72.1 98.3 29.1 80 53 2 20030731160723 72.1 98.3 29.1 81 58 2 20030731160738 72.1 98.3 29.1 86 57 2 20030731160750 72.1 98.3 29.1 90 58 2 20030731160759 72.1 98.3 29.1 93 59 2 20030731160805 72.1 98.3 29.1 95 66 2 20030731160814 72.1 98.3 29.1 98 62 2 20030731160817 72.1 98.3 29.1 99 56 2 20030731160826 72.1 98.3 29.1 102 45 2 20030731160841 72.1 98.3 29.1 107 62 2 20030731160847 72.1 98.3 29.1 109 59 2 20030731160859 72.1 98.3 29.1 113 56 2 20030731160910 72.1 98.3 29.1 117 52 2 20030731160914 72.1 98.3 29.1 118 67 2 20030731160917 72.1 98.3 29.1 119 65 2 20030731160941 72.1 98.3 29.1 127 54 2 20030731161126 72.1 98.3 29.1 162 45 2 20030731161132 72.1 98.3 29.1 164 48 3 20030731162825 72.1 98.3 29.1 61 23 3 20030731162828 72.1 98.3 29.1 62 22 3 20030731162832 72.1 98.3 29.1 63 22 3 20030731162834 72.1 98.3 29.1 64 26 3 20030731162837 72.1 98.3 29.1 65 22 3 20030731162840 72.1 98.3 29.1 66 25 3 20030731162843 72.1 98.3 29.1 67 22 3 20030731162846 72.1 98.3 29.1 68 24 3 20030731162849 72.1 98.3 29.1 69 26 3 20030731162853 72.1 98.3 29.1 70 23 3 20030731162855 72.1 98.3 29.1 71 22 3 20030731162858 72.1 98.3 29.1 72 24 Index: field-result.html =================================================================== RCS file: /cvsroot/firebug/firebug/web/field-result.html,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** field-result.html 29 Jul 2003 06:31:08 -0000 1.7 --- field-result.html 1 Aug 2003 20:16:31 -0000 1.8 *************** *** 337,340 **** --- 337,376 ---- <P> Raw Data from the experiment can be accessed from <a href="2003_7_28.txt">here</a> + + + + + <h1>FireBug Field Experiment #6</h1> + + <h2>Time, Location,Context</h2> + <p> + 7/31/2003 Wed. 15:30AM In front of Doe library.<br> + Sunny, light breeze, ~70F<br> + Motes are put on the grass ground<br> + Two Parameters are changed: 1. retransimission =0; 2.set radio + power to maximum. + + </p> + + <h2>Data Packet Summary</h2> + + <table class="db_schema"> + <tr><td>POS</td><td>Beginning Cnt#</td><td>End Cnt # </td><td>ID</td><td># Received</td><td># Transmitted</td><td>Received Rate</td></tr> + + <tr><td>5m</td><td>61</td><td>221</td><td>2</td><td>161</td><td>161</td><td>100%</td></tr> + + <tr><td>10m</td><td>61</td><td>221</td><td>3</td><td>161</td><td>161</td><td>100%</td></tr> + + <tr><td>15m</td><td>61</td><td>307</td><td>6</td><td>247</td><td>166</td><td>67.21%</td></tr> + + <tr><td>20m</td><td>61</td><td>164</td><td>2</td><td>64</td><td>26</td><td>40.63%</td></tr> + + </table> + <P> + From 25m and beyond, no data packet is received from motes. + <P> + Raw Data from the experiment can be accessed from <a href="2003_7_31.txt">here</a> + + </body> |