Thanks Giri, Changing that one line of code fixed it.
Regards, //Nuru. -----Ujumbe Asilia----- Kutoka: Giri Baleri [mailto:[EMAIL PROTECTED] Tumwa: February 8, 2007 2:44 PM Kwa: [EMAIL PROTECTED]; Nuru Yakub Othman Nk: [email protected] Somo: RE: [Tinyos-help] Problem with Temperature Sensing using MTS300 withmica2 The MTS300/310CBs use a different power control line (PW0) for Temp sensor as compared to MTS300/310CA (INT2). The reason was to free up INT2 line for radio control for MICAz. It sounds like you are using CA code on CB hardware and hence the Temp sensor never gets turned on. The software modification involves changing one line of code. In sensorboard.h file of the app, change TOSH_ALIAS_PIN(TEMP_CTL, INT2) to TOSH_ALIAS_PIN(TEMP_CTL, PW0) Regards, Giri -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schippling Sent: Thursday, February 08, 2007 11:24 AM To: Nuru Yakub Othman Cc: [email protected] Subject: Re: [Tinyos-help] Problem with Temperature Sensing using MTS300 withmica2 I would first check that there really is a temp sensor installed. If I recall my perusal of the MTS specs correctly it's not fully populated... MS Nuru Yakub Othman wrote: > Hi, > > We have received the xbow classroom kit and are making some trials. We > are facing a problem in sensing temperature as it appears to be giving > a constant value .. never changes even when we put the sensor close to > a heater with high temp. > > We have tried with the XSensor application, and use xlisten to read > the output. The light and sound values are OK, but the temperature > stays at > -273.15 Celcius, absolute zero. > > We also modified OscilloscopeRF to sense temperature, the raw value on > the graph stays constant at -7. > > It looks like the sensor is not really sensing. We tried with several > MTS300CB sensor modules with same results. > > Can someone help as to what we might be missing? Is there a switch or > anything that should be enabled? > > I don't think the problem is with the code, but I can send the code if > required. > > > Thank you in advance. > > //Nuru. > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-h > elp _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel p _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
