Retrieving infos from multiple PICs on a bus/chain


Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default Retrieving infos from multiple PICs on a bus/chain

    Hello,

    I'm building up a system using twenty-two PICs ("sensor") connected to one PIC ("master").

    The distance between each "sensor" PIC is two meters so the bus or daisy-chain will be around 25 meters long, end-to-end to the "master" PIC.
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2084&stc=1&d=119234804 4">
    The "sensor" PICs control photodiodes and have to provide a binary value to the "master" PIC anytime it has changed. They also have to provide their ID (i.e. PIC's #).

    The "master" PIC will gather and convert this info to an 0V to 10V information for the BMS (Building Monitoring System = alarm visualisation system).

    Since I have a few of them in my drawer, I have chosen 10F202 PIC as the "sensor" PICs and will see if the same one can be use as the "master" one.

    Question: to get me started correctly, how do I connect the PICs (I2C, SPI,..?) and how am I retrieving their information?
    Attached Images Attached Images  
    Roger

Similar Threads

  1. Simultaneous programming of multiple pics - is it possible?
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 18th April 2010, 04:56
  2. Multiple PICS from Same Crystal?
    By WOZZY-2010 in forum General
    Replies: 2
    Last Post: - 6th February 2010, 15:18
  3. Multiple Pics accessing single EEPROM
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd February 2008, 17:22
  4. Multiple PIC's with 1 crystal
    By puma in forum Schematics
    Replies: 11
    Last Post: - 20th March 2007, 17:02
  5. Multiple Pics to One serial port
    By Rleonard in forum Serial
    Replies: 1
    Last Post: - 18th January 2007, 18:30

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