[Tinyos-help] Help with tinyOs 2.0 in MTS400 SensorBoard
Luis Carlos Duque Arcila
carlitos359 at hotmail.com
Mon Mar 2 16:22:41 PST 2009
Hi Janos, Everyone
We have been triying to make it work with the resourses you give me, we totally understand now wath was our error.
Now that we triying to implement the "switch" part and the resto of the code, we discovered that the code doesn`t enter to the part of the Sth11ReaderP when the resource interface get in to the "granted" part (in Tempresourse), we can only think, that should mean the we are not in control of the resource, and if this granted doesn`t happen, the code that give me the finally data from the sth11 is not working.. :(
We will appreciate if you can give us some advice on this, i attach you the code that we have been working on..
please excuse us.
and tnx
L:C:
> Date: Mon, 23 Feb 2009 22:01:04 -0600
> Subject: Re: [Tinyos-help] Help with tinyOs 2.0 in MTS400 SensorBoard
> From: sallai at isis.vanderbilt.edu
> To: carlitos359 at hotmail.com; aurelien.francillon at inrialpes.fr
>
> Luis Carlos, Aurelien:
>
> I spent a few hours on the SHT driver. I'm attaching a zip file that
> contains the code I wrote. Currently, the sht11 is wired correctly,
> however it does not yet power on.
>
> It appears that there's an i2c switch on this sensor board that is
> used to turn on/off the power to specific sensors (
> http://www.analog.com/en/switchesmultiplexers/analog-switches/ADG715/products/product.html
> ). You will find a Mts400SwitchesP.nc file in my code, which is taken
> from tinyos-2.x-contrib/mts4x0, however, it's missing the
> implementation of the HumidityPower and HumidityConnect interfaces.
> You will need to do this -- unfortunately I don't have any more time
> working on it this week ( and I don't have the hardware, either). Take
> a look at how the GPS is turned on, and you will be able to write this
> code. Aurelien might be able to help you.
>
> The switch values are:
> HUMIDITY_POWER = 4
> HUMIDITY_SCLK = 7
> HUMIDITY_DATA = 8
>
> Based on the quality of questions you posted to tinyos-help, I'm
> pretty confident that you'll be able to do this. Once the driver is
> done, I would like to ask you to contribute back the code to the
> tinyos CVS.
>
> Janos
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090303/1dd1d7c1/attachment.htm
More information about the Tinyos-help
mailing list