I2C sensor Quirk


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Storrs, Ct.
    Posts
    91

    Default I2C sensor Quirk

    I have 2-TC74 temperature sensors plugged into my Bboard. Wired for I2C with 4.7K resistors on SLK and SDA as per specs.
    I'm useing a 16F876 in a LabX-2, PBP 2.44 with LCD plugged into the servo pins.
    Volts at the sensors is steady 5V.

    Everything works great with one exception, the Temp1 and Temp2 are between 0 and 4 degrees celsius apart. Changed sensors to no avail, same 0-4 degree difference. I even tried heatsinks on the sensors thinking they'd be less succeptable to ambient changes. The result was a steadier reading but still average 2 degrees apart.

    I am not a specsheet guru but I did find what could be the problem on page 2.
    It says Temp accuracy in degrees celcius is -2 min and +2 max.
    Could this be my 4 degree spread?
    Code is attached. Couldn't send the datasheet, it is too big.

    Thanks in advance for any input..
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i think you can find the solution there
    http://list.picbasic.com/forum/messages/6851/7299.html?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  4. I2C slave
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th March 2008, 03:46
  5. Please help with i2cslave i2c slave
    By cycle_girl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st December 2005, 13:55

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