I2C Communication, PIC 16F616 to Honeywell humiditysensor HIH6131


Results 1 to 12 of 12

Threaded View

  1. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default Re: I2C Communication, PIC 16F616 to Honeywell humiditysensor HIH6131

    EDIT: I finally found Melanie's thread:
    http://www.picbasic.co.uk/forum/showthread.php?t=587

    Use variables instead of constants.


    Typical start-up time is 50 ms by the way.

    (sample code from PBP v2.60 manual, bottom p.96)


    Referring to datasheet from here:
    http://tinyurl.com/7d8jwk9

    PBP manual says 4K7 pull-up resistors on both I2C lines. The datasheet says 2K2 pull-up resistors.

    PBP supports 100kHz I2C devices up to 8MHz. You need DEFINE I2C_SLOW 1 to run above that.

    Robert
    Last edited by Demon; - 9th February 2012 at 18:09. Reason: merged post from below, added Melanie's thread

Members who have read this thread : 0

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