I2C Bus (max wire lenght)


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762

    Default I2C Bus (max wire lenght)

    I'm working on a project with 18F452 and a number of (16) I2C I/O Expanders (PCF8574).
    This would give additional 128 I/O Ports.

    The PCF8574's will be on separate PCBs each.
    I'm planning to use a ribbon cable to connect all the Boards to the I2C bus.

    Do you have any experience regarding the max cable length for I2C communication?

    regards

    Ralph

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


    Did you find this post helpful? Yes | No

    Default

    Hi ralph,
    i never experiment i2c long distance task but i heard a few time 9-12 meters depending clock speed and load.
    Steve

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

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    See link posted in Documentation Section.

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Using the Philips P82B715 I2C extender on long cables.
    (Read first AN444.pdf).

    P82B715 I²C bus extender:
    http://www.semiconductors.philips.co...P82B715PN.html

    P82B715 Datasheet:
    http://www.semiconductors.philips.co.../P82B715_6.pdf

    P82B715 Application Note:
    http://www.semiconductors.philips.co...otes/AN444.pdf

    One mile long I2C communication using the P82B715:
    http://www.semiconductors.philips.co...otes/AN452.pdf


    Where to buy in small quantities:

    http://www.distrelec.com Art.No: 649003
    http://www.schuricht.de Art.No: 649003

    Regards

  5. #5
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Thanks to all of you for your response.

    I have done some tests and it looks good so far.

    Max wire lenght I need for this project is about 3m.
    (But in a "noisy" environment)

    I promise to write a short report after I have finished the project.

    (I'm dealing with a total 150+ I/O lines on a "small" PIC 18F452)

    Regards

    Ralph

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


    Did you find this post helpful? Yes | No

    Default

    In a noisy environement. the only thing that i can suggest is to use multiple pair shielded each other in a shielded cable. and wish you good luck.`


    regards
    Steve

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

  7. #7
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    As promised here the first results,

    the MCU Board:
    Attached Images Attached Images  

  8. #8
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    16 Bit I2C Input:
    Attached Images Attached Images  

  9. #9
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    16 Bit I2C Output:
    Attached Images Attached Images  

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. Compass module and I2C bus
    By vladimir059@hot in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th December 2006, 20:29
  5. Two pics in a I2C bus?
    By robert0 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 4th January 2006, 13:44

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