[Tinyos-help] Accessing the SHT15 on the MDA300
Christopher Leung
christopher.leung at mail.mcgill.ca
Wed Jun 25 18:29:55 PDT 2008
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: tinyos-help-bounces at millennium.berkeley.edu on behalf of Charles Elliott
Sent: Wed 6/25/2008 3:23 PM
To: tinyos-help at 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
More information about the Tinyos-help
mailing list