Interconnect Many PICS


Closed Thread
Results 1 to 3 of 3
  1. #1

    Default Interconnect Many PICS

    Hello all!

    Itīs been some time since my last post.

    I am intendig to create some kind of PICS network, every device should be able to Transmit and receive.

    I Know the possibility of for example the I2C command with PicBasicPro, but i think i need some kinf of interrupt to receive data, i canīt afford to loop waiting for data and act according to it.

    Any ideas on this matter would be great.

    Thanks

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Since you need mutiple masters (where any device can initiate a conversation), I2C is possible, but is a terrible mess.

    I recommend that you use RS-232 in its open-collector variant. It is much easier to run multi-master, and PBP already has extensive support. It greatly simplifies things especially if the PIC you choose has a hardware USART.

    I run 38.4 Kbaud on my little PIC network without any extra hardware support. If you have the ability to add one open-collector gate to every device, you can run up to at least 115Kbaud. I communicate between an 18F8723 and several 18F2221's. The 18F2221's are running on their internal oscillators. The network has been very reliable across wide temperature ranges.
    Charles Linquist

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Josuetas View Post
    I am intendig to create some kind of PICS network, every device should be able to Transmit and receive.
    You should consider RS485 networks - thats my bit.

    Jerson

Similar Threads

  1. Multiple Pics accessing single EEPROM
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd February 2008, 17:22
  2. Retrieving infos from multiple PICs on a bus/chain
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th October 2007, 04:42
  3. Programming Pins of PICs?
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th August 2007, 18:59
  4. Dead PICs
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 15th August 2007, 13:12
  5. USB Pics, ICD2, pic basic pro
    By vacpress in forum USB
    Replies: 34
    Last Post: - 20th January 2007, 20:50

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