I am attaching the raw values for temperature and voltage
These are the values from our modified Delta (where we also send humidity and voltage with DeltaMsg). So in our nesC we are taking all three values (temp, humidity, and volt) as in the code below:
async event result_t Humidity.dataReady(uint16_t data) { humidity = data; call Temperature.getData(); return SUCCESS; } event result_t HumidityError.error(uint8_t token) { humidity = 0; call Temperature.getData(); return SUCCESS; } async event result_t Temperature.dataReady(uint16_t data) { temperature = data; call InternalVoltage.getData(); return SUCCESS; } event result_t TemperatureError.error(uint8_t token) { temperature = 0; call InternalVoltage.getData(); return SUCCESS; } async event result_t InternalVoltage.dataReady(uint16_t data) { ivolt = data; post sendData(); return SUCCESS; } Joe Polastre wrote:
Can you post your raw data, including timestamps? On 7/24/06, Ioannis Krontiris <[EMAIL PROTECTED]> wrote:Hello, we are trying to get temperature, humidity and voltage from Tmote Sky. We are using the Delta application. For the temperature we are reading Sensirion Humidity and Temperature sensor. At the base station we are using the indicated formulas to convert to meaningful Celsius degrees: temperature = -39.60 + 0.01*SOt where SOt is the value we get from the sensor. The result is like 37 C where it should be 32 C. So we have a big difference. Are we doing something wrong? Also for the voltage, we are measuring the value from the mote attached to the USB (so the value should be 3V) but we get 2.3 V We are using the formula value/4096 * 1.5 * 2 Again, what is that we are doing wrong? We get the same results if we place new batteries to a mote. Thanks in advance, Ioannis. _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
d_msg.get_Temper() 2006-07-24 20:34:06.703 6553 2006-07-24 20:34:07.515 6569 2006-07-24 20:34:08.156 7011 2006-07-24 20:34:11.687 6553 2006-07-24 20:34:12.515 6570 2006-07-24 20:34:13.156 7005 2006-07-24 20:34:16.703 6553 2006-07-24 20:34:17.515 6569 2006-07-24 20:34:18.156 7007 2006-07-24 20:34:21.687 6552 2006-07-24 20:34:22.515 6570 2006-07-24 20:34:23.156 7009 2006-07-24 20:34:26.687 6552 2006-07-24 20:34:27.515 6566 2006-07-24 20:34:28.156 7011 2006-07-24 20:34:31.687 6551 2006-07-24 20:34:32.515 6564 2006-07-24 20:34:33.156 7008 2006-07-24 20:34:36.687 6550 2006-07-24 20:34:37.515 6562 2006-07-24 20:34:38.156 7003 2006-07-24 20:34:41.687 6549 2006-07-24 20:34:42.515 6561 2006-07-24 20:34:43.156 7007 2006-07-24 20:34:46.687 6551 2006-07-24 20:34:47.515 6564 2006-07-24 20:34:48.156 7004 2006-07-24 20:34:51.687 6553 2006-07-24 20:34:52.515 6567 2006-07-24 20:34:53.156 7004 2006-07-24 20:34:56.687 6553 2006-07-24 20:34:57.515 6568 2006-07-24 20:34:58.156 7009 2006-07-24 20:35:01.687 6553 2006-07-24 20:35:02.515 6568 2006-07-24 20:35:03.156 7014 2006-07-24 20:35:06.687 6553 2006-07-24 20:35:07.531 6569 2006-07-24 20:35:08.156 7011 2006-07-24 20:35:11.687 6553 2006-07-24 20:35:12.515 6569 2006-07-24 20:35:13.156 7007 2006-07-24 20:35:16.687 6553 2006-07-24 20:35:17.531 6568 2006-07-24 20:35:18.156 7003 2006-07-24 20:35:21.687 6553 2006-07-24 20:35:22.531 6568 2006-07-24 20:35:23.156 7001 2006-07-24 20:35:26.703 6553 2006-07-24 20:35:27.531 6568 2006-07-24 20:35:28.156 6998
d_msg.get_Voltage() 2006-07-24 20:39:23.171 2931 2006-07-24 20:39:28.171 2931 2006-07-24 20:39:33.187 2931 2006-07-24 20:39:38.187 2931 2006-07-24 20:39:43.187 2931 2006-07-24 20:39:48.187 2931 2006-07-24 20:39:53.187 2931 2006-07-24 20:39:58.187 2931 2006-07-24 20:40:03.187 2931 2006-07-24 20:40:08.187 2931 2006-07-24 20:40:13.187 2931 2006-07-24 20:40:18.187 2931 2006-07-24 20:40:23.187 2931 2006-07-24 20:40:28.187 2931 2006-07-24 20:40:33.187 2931 2006-07-24 20:40:38.187 2931 2006-07-24 20:40:43.187 2931 2006-07-24 20:40:48.187 2931 2006-07-24 20:40:53.187 2931 2006-07-24 20:40:58.187 2931 2006-07-24 20:41:03.187 2931 2006-07-24 20:41:08.187 2931 2006-07-24 20:41:13.187 2931 2006-07-24 20:41:18.187 2931 2006-07-24 20:41:23.187 2931 2006-07-24 20:41:28.187 2931 2006-07-24 20:41:33.187 2931 2006-07-24 20:41:38.187 2934 2006-07-24 20:41:43.187 2931 2006-07-24 20:41:48.187 2931 2006-07-24 20:41:53.187 2931 2006-07-24 20:41:58.187 2931 2006-07-24 20:42:03.187 2931 2006-07-24 20:42:08.187 2931 2006-07-24 20:42:13.187 2931 2006-07-24 20:42:18.187 2931 2006-07-24 20:42:23.187 2931 2006-07-24 20:42:28.187 2931 2006-07-24 20:42:33.187 2931 2006-07-24 20:42:38.187 2931 2006-07-24 20:42:43.187 2928 2006-07-24 20:42:48.203 2931 2006-07-24 20:42:53.203 2931 2006-07-24 20:42:58.203 2931 2006-07-24 20:43:03.203 2931 2006-07-24 20:43:08.203 2931 2006-07-24 20:43:13.203 2931 2006-07-24 20:43:18.203 2931
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help