Hi Chris

Thanks for the ports!
I've been working of the SHT11 code from telosa.chips.sht11 so far I've
copied the folder to the IRIS folder and added to the .platform file to make
it find the folder when it compiles. I realize that this is not the best way
to go about it but for now it should do.
So now I have an iris.chips.sht11 folder with the code from the telosa
folder.
Next I changed the HplSensirionSht11C.nc file replacing "Msp430" with
"Atm128" then changing the DATAM port from 15 to E3(ln56) and SCKM port from
16 to C3(ln57). However the telosa code has a PWRM refence do you know what
port should be mapped to it?

Ln73 was also changed from ".Port11;" to ".PortE3;"

Charles



On Wed, Jun 25, 2008 at 9:29 PM, Christopher Leung <
[EMAIL PROTECTED]> wrote:

> Hi Charles,
>
> No problem for the digital IO ports.
>
> As for the SHT15, it too uses a two-wire-interface. But its TWI is not
> compatible with I2C so you will have to control the pins directly by using
> the tos.chips.atm128.pins.HplAtm128GeneralIOC and
> tos.chips.atm128.pins.HplAtm128InterruptC components. For starters, I can
> tell you that its Data pin is connected to PortE3 (Int3 I think) and its SCK
> pin to PortC3. For information on what to write onto both lines, you can
> check out its datasheet on the Sensirion website.
>
> I hope you can get started with that,
>
> Chris
>
> ________________________________
>
> From: [EMAIL PROTECTED] on behalf of Charles
> Elliott
> Sent: Wed 6/25/2008 3:23 PM
> To: tinyos-help@millennium.berkeley.edu
> Subject: [Tinyos-help] Accessing the SHT15 on the MDA300
>
>
> Hello All
>
> Thanks to Andrey and Chris for getting me started on the digital IO ports.
>
> I know that the SHT15 does not use the I2C bus so how is it accessed?
> I've looked at the SHT11 code for the telosb, and telosa, platforms but
> there is some processor specific code in it so it does not seem to work with
> other platforms.
>
> Is there any code to access the SHT15 on the MDA300 using an IRIS mote?
>
> Thanks
>
> Charles
>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to