Retrieving infos from multiple PICs on a bus/chain


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Common mode problems.

    If all units are plugged in to a single power point then you might get away with direct connecting each device but 25 metres is getting up to the distance limits, particularly if devices can be powered by different phases of the mains along the length. The common mode problems will almost certainly bite you.

    Optical isolation, RS422/485 or transformer isolation were all devised to get around this problem. The simplest/cheapest is RS485 IMHO.

    If the system will have only one power supply then a direct connect system with three signalling wires is what I would use. One wire is calle ATTention, the second is ACKnowledge and the third is DATa. These three are resistively pulled high and all devices are set with their three pins as inputs. When any device wants to send it pulls the ATT line low and repeatedly sends the ID it is trying to call on the DATa line. When the selected receiver senses its address on the data line it pulls the ACK line low. The sender now knows it has a link to the desired address and now the sender repeatedly sends the message (with checksum) until the ACK line floats high which signals the recevier has got a clean message through. I just use TTL RS-232 via SERIN/SEROUT for this and it works a treat.

    HTH
    Brian

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default

    Flotul

    Here is a link to get you started on RS485.

    http://www.bb-elec.com/technical_library.asp


    Jerson

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