electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

TinyOS (probomega128) and Sensiron SHT sensor


Post new topic  Reply to topic    EDAboard.com Forum Index -> Robotics and Automatics Forum -> TinyOS (probomega128) and Sensiron SHT sensor
Author Message
h0wi3



Joined: 03 Aug 2009
Posts: 2


Post03 Aug 2009 18:07   

sensirion sht10 tinyos


Hi,

I am really desperate for help now Crying or Very sad

I have a crumb128 module with an ATmega128 processor (TinyOS 1) http://www.chip45.com/download/Infosheet_Crumb128_080715.pdf and a sensirion sht10 digital temperature and humidity sensor http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf

What confuses me is how am I going to read the data ? I connected the serial data port to the MOSI PB2 port and am using the probomega128 platform. I have looked up on reading data off MOSI, but most of the them are for Mica2.

Anyone care to start me off ? an example will be greatly appreciated !!!

Thanks in advance.
Back to top
Google
AdSense
Google Adsense




Post03 Aug 2009 18:07   

Ads




Back to top
MirekCz



Joined: 23 Aug 2005
Posts: 12


Post10 Aug 2009 9:59   

sensiron


Don't use the hardware spi.
Simply do it by hand - you need to connect data to one pin and clk to another pin (any general i/o pins will do).
Now just send appropriate commands like:
1.set/reset data bit
2.change clk pin
3.change clk pin
4.repeat 1 untill command is send

Few lines of code and it works like charm in software.
Remember that you need to wait xx ms before you can read down measurement results (time depends on measurement precision - see datasheet)
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Robotics and Automatics Forum -> TinyOS (probomega128) and Sensiron SHT sensor
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Wireless Sensor Network, TinyOS, and Micaz platform question (3)
About TinyOS and MSP430 (2)
Board design help - what SHT stands for? (2)
tinyos manual (6)
zigbee in tinyOS (2)
TinyOS, anyone worked with ? (1)
Tinyos with Proteus VSM (3)
TinyOS, Micaz motes...WSN related question. (2)
Amega32 and SHT15 temperature and humidity sensor (1)
looking for technical info about CMOS Sensor & CCD Sensor (11)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS