PIC TO PIC's (data interchange)


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    65

    Default PIC TO PIC's (data interchange)

    Ladies & gentlemen;

    I want a PIC to control 4 other PICs. (...USB PIC to control stepper 4 motors) (18F4550 & 4 16F628A's)
    Could someone give me a couple of code lines to read/write data between PIC's ?

    My Questions:
    Q1 Hardware connection:
    a.- Each 'slave' PIC: connected directly to 'master' (example slave1 to master.pin1, slave2 to master.pin2, slave3 to master.pin3, etc...)
    b.- Each 'slave' PIC: connected as chain/network (master to slave1 to slave2 to slave3, etc...)

    Q2- IF Q1 option B, I guess it's needed to Identify each pic..? how?
    Q3- Wich command? (Serin/Serin2/HSerin/HSerin2/I2CRead/ \out\write) interrupts or ASM ?
    Q4- Can I just send from master or I can also request data to slave??
    Q5- Is there a book or website where to get that info, so I could help someone, not just ask... well that's it.

    Thank you
    Last edited by RodSTAR; - 9th December 2007 at 23:08.
    "Beethoven had his critics too, see if you can name 3 of them"

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


    Did you find this post helpful? Yes | No

    Default

    Steve

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

Similar Threads

  1. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 02:51
  2. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 03:46
  3. Sending data from 1 pic to other pic
    By PoTeToJB in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th September 2007, 01:51
  4. send serial data to PIC 16f84 ausing VB6
    By win_832001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th March 2006, 22:14
  5. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 15:50

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