Hi, You have to measure motes Vcc in order to do the following conversion:
//this is the mote battery voltage, rawVccMote is ADC counts vccMote = rawVccMote/4095.0 * 1.5 * 2;//the 2 multiplying is because the internal msp430 voltage measure circuit has a bridge that divides the tension by 2, we are measuring HALF Vcc //This came from sensirion datasheet, rawTemperature is adc raw values in your case 6400-6600 temperature = (-39.55 - (vccMote - 2.5)*0.1) + 0.01 * rawTemperature; just check suppose you have new batteries that is vcc = 3.0 V then for your measures between 6400-6600 your temperature is between: (-39.55 - (3.0 - 2.5)*0.1) + 0.01 * 6400 = -39.6 + 64 = 24.4 Celsius; (-39.55 - (3.0 - 2.5)*0.1) + 0.01 * 6600 = -39.6 + 66 = 26.4 Celsius; good Luck -Bill On Fri, Oct 2, 2009 at 2:56 PM, Group <mailforgr...@gmail.com> wrote: > Hi, > > I'm using tinyos-2.x on telosb mote and sensirion component to get the > temperature readings. Values are in the range of 6400-6600 integral values > at > room temperature. Is there any conversion formula to convert these readings > to > degree celsius. I looked through the crossbow datasheet but could not find > any. > Can any one please let me know on how to do this. Thanks in advance. > > -- > Thanks & Regards, > Mallik > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Ing. Guillermo De Cesco Invenio Ingenieria srl. tel: (54)2944 442119 web: www.invenioing.com Av. Pioneros 4163 Dpto 6. CP(R8402AMH) San Carlos de Bariloche. Rio Negro, Argentina.
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help