Sensirion SHT11 with a PIC16F628-20


View Poll Results: Have I included enough relevant material to make the problem clear?

Voters
1. You may not vote on this poll
  • YES. I see what you mean

    0 0%
  • COULD BE BETTER: Kind of understand what your trying to say

    1 100.00%
  • NO: What the heck are you talking about

    0 0%
Results 1 to 27 of 27

Threaded View

  1. #19
    Join Date
    Aug 2005
    Posts
    4


    Did you find this post helpful? Yes | No

    Default addition to NavMicroSystems example

    Hi!

    I know this is an old thread but this might still help someone.

    NavMicroSystems' example works fine, if you place wx=wy<< bt+(bt & wx.bit15)
    instead of wx=(wy< Next.

    It has some issues with negative temperatures but ok...

    It's important that you don't forget 10k pullup on DTA line.

    There's one more thing: you should replace all HIGH dta
    commands with INPUT dta.

    Datahseet SHT1x @ page 5.

    "To avoid signall contention the microcontroller must only
    drive DATA low".

    When you have appropriate (10k) pullup on dta the line
    goes high if you set the dta pin to input. I tested it and
    it works perfectly fine.

    Also: if this is your first attempt to communicate with SHT1x maybe
    you should consider omitting dewpoint calculations and just read
    raw data.

    For room ambient (i had about 22°C and 35 %RH when testing) you should
    get readings like 0x1855 for 14bit temperature and 0x03EE for 12bit humidity).

    Best regards,

    Rok
    Last edited by psenek; - 26th January 2011 at 10:47.

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. INT2 anomaly in DT_INTS-18??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th February 2010, 20:07
  3. capture/repeat data ?
    By Sam in forum Serial
    Replies: 44
    Last Post: - 27th November 2006, 03:19
  4. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31
  5. Serout PIC16F628 to PC R18iXL Board
    By Spindle in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th June 2005, 00:29

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts