Interfacing two PIC micros


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    3

    Default Interfacing two PIC micros

    Hi all,

    I ve already interfaced 16F870 to RTC chip DS1307. After a few problems, its running fine now.

    Now, I am trying to interface to independently running PIC micros, both 16F870. But facing a few difficulties, like :

    i) what should be the read/write address for the slave PIC

    ii) How can we define variables in a particular memory location (in slave PIC), using Picbasic because DIM statement creates variables, but memory location is not known to the user.

    iii) How to define SDA and SCL pins on the slave PIC.

    I think, I need all the information for interfacing two PICs, using Picbasic.

    Kindly help me and oblige.

    Thanking you all in anticipation.
    Regards,
    Sajid

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sajid View Post
    ii) How can we define variables in a particular memory location (in slave PIC), using Picbasic because DIM statement creates variables, but memory location is not known to the user.
    Good luck DIM'ing anything in PicBasicPro.
    Check Proton Basic forums instead.

  3. #3
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Talking

    Good luck DIM'ing anything in PicBasicPro.
    Check Proton Basic forums instead.

    I DIMmed a light using the X10 commands once!

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ron Marcus View Post
    Good luck DIM'ing anything in PicBasicPro.
    Check Proton Basic forums instead.

    I DIMmed a light using the X10 commands once!
    Good one...
    Come to think of it, I've DIMmed a whole load of LEDs using PBP too...

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


    Did you find this post helpful? Yes | No

    Default

    Ah come on guys! This is his first post here and he need help... you can't help him, then just shut the ******

    Sajid, are you using Melabs PICBasic, Melabs PicBasic PRO or Crownhill Proton (PDS) ?

    If you're using Crownhill Proton (PDS) you'll need to go on their forum.
    www.picbasic.org/forum

    yeah.. both are known as PicBasic...
    Steve

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

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    This might be of use.

    Is there a way to do what sajid ask in PBP?
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. TTL(i) or CMOS for interfacing to PIC?
    By Elnino in forum Off Topic
    Replies: 0
    Last Post: - 16th September 2009, 01:35
  2. Interfacing DS1603 to PIC 16F877
    By hackableFM in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 25th February 2009, 21:37
  3. PLC Interfacing with PIC
    By skian85 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 19th June 2008, 23:05
  4. PIC interfacing with FTDI's VDIP1
    By Vidya in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th May 2008, 17:02
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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