I2C Slave with a PIC


Closed Thread
Results 1 to 40 of 130

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: I2C Slave with a PIC

    SDA and SCL are not good combination in one pair. Because of cross talk.
    Much better is to combine GND and SDA on ona pair, GND and SCL on second pair. But capacitance play big roll. Probably CLK must be driven, not with pull up. SDA should have strong pull up.
    But do not connect multiple GND on both sides, as that will create long loop antenna, probably...
    I thing, but maybe i'm wrong, best chanse to get it to work is:
    1. Pair GND and signal on 2 pairs for SDA and SCL, connect that ground only on output port of module.
    2. Use third pair for power
    3. Ground unused pair master, as GND for signals.
    Generally not good idea to run TTL signals out of boards.
    If you design master and slave's why not to go with RS485, half duplex or duplex?

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: I2C Slave with a PIC

    Personally, I start getting nervous as soon as a signal leaves a board!
    me too

    spi can get that sort of distance but you need a cs signal for each slave

    I wonder if you used a pair of those 3v-5v level shifters back to back if they could act like a repeater ?
    could be a cheap solution

    wireless may be an option
    rfm69 modules and the like can get 300k bps over that range and a master slave setup is no too difficult

Similar Threads

  1. Problem with PICto PIC I2C MASTER-SLAVE
    By juanen19 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th June 2013, 02:58
  2. PIC as I2C Slave
    By Mainul in forum General
    Replies: 4
    Last Post: - 5th January 2013, 13:23
  3. I2C Slave, config Vref - + in pic with ADC
    By sebapostigo in forum PBP Wish List
    Replies: 4
    Last Post: - 5th March 2007, 03:21
  4. Pic as an i2c slave
    By Robert Soubie in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th January 2007, 21:11
  5. Use pic as slave in I2C
    By robert0 in forum General
    Replies: 2
    Last Post: - 3rd February 2006, 19:26

Members who have read this thread : 2

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