+ Reply to Thread
Results 1 to 2 of 2

Thread: I2C and SMBus

  1. #1
    Join Date
    Nov 2011
    Posts
    2

    Default I2C and SMBus

    G'day:
    I'm working on a small development that uses an airborne PC as grandmaster talking over a serial link (RS-422/RS-485)to a PIC 16F877A from which I operate and read a number of devices. I chose the 16F877A because I could get it locally and it had the SPP master cabability. I have a couple of devices - like the SRF08 range sensor - that need the I2C bus. So far so good - that looks reasonably straightforward with the I2C commands in my PicBasic Pro 2.47. I also have a temperature sensor TMP102 which is on the closely related SMBus. Now I have worked through being able to program the PIC on its board with ICSP and have it communicate on the Tx/Rx serial link - which entailed a fair bit of trial and error, using Oimax PG3B and P-40 boards and setting up the connection through a MAX 489 transceiver - I'm all set to have a go at the I2C line. Anyone want to pass on any experience or advice re using the PIC I2C link with devices on the SMBus? Also, if anyone is having trouble with RS-422/485 I don't mind sharing what I have learned - all of it is basically available on the net, but it needs thinking and working through the first time round!
    Best of the season to all.
    Carl

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    1,779

    Default Re: I2C and SMBus

    Moved from Code Examples.

    Robert


    Hi, we are pleased to see that you are using our forum.

    We'd like you to become a member of our community. Membership is FREE, please REGISTER and view our forums without these annoying reminders!

    Once registered you may post on the forums, download from the file areas and use the WIKI without interruption.





Members who have read this thread : 2

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

Tags for this Thread

Posting Permissions

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