+ Post New Thread + Reply to Thread
Results 1 to 2 of 2

Thread: TinyOS (probomega128) and Sensiron SHT sensor

  1. #1
    Newbie level 2
    Join Date
    Aug 2009
    Posts
    2
    Helped
    0 / 0

    sensirion sht10 tinyos

    Hi,

    I am really desperate for help now

    I have a crumb128 module with an ATmega128 processor (TinyOS 1) http://www.chip45.com/download/Infos...128_080715.pdf and a sensirion sht10 digital temperature and humidity sensor http://www.sensirion.com/en/pdf/prod...nsor-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.

    •   Alt 

      Advertising

      advertising

        
       

  2. #2
    Newbie level 6
    Join Date
    Aug 2005
    Posts
    12
    Helped
    0 / 0

    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)



+ Post New Thread + Reply to Thread