Multiple PICs on usart network


Closed Thread
Results 1 to 40 of 52

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154

    Default Re: Multiple PICs on usart network

    I needed 115200 at 48mhz, not sure diodes could handle it. Switching coms in software doesn't add hardware limitations.

  2. #2
    Join Date
    Apr 2011
    Location
    Kent, UK
    Posts
    52

    Default Re: Multiple PICs on usart network

    Attached is a pdf schematic similar to Jose P's posting, but halving the number of transistors per channel.
    Also need to add a TX BUSY bus to prevent collision. (Hold to ground when transmitting, tristate when idle).
    A similar circuit ran fine at 115200 baud.

    Almost any signal diode in series to the TX pins (cathode to the TX pin) with a bus pull up resistor on the anode could also work fine.

    Tim.
    Attached Images Attached Images

  3. #3
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164

    Default Re: Multiple PICs on usart network

    Hey Everybody,

    Thanks for this thread, you saved me a truckload of frustration! The series diodes worked in my case.

    All the Best,
    Paul
    The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.

  4. #4

    Default Re: Multiple PICs on usart network

    Look guys,
    My schematic use 2 transistor and 3 Rs per tx line. You dont need any other ic as converter or similar.
    I am mounting 4 PIC forming a network, 1 master and 13 slaves. Tx from master will be conected to all Rx of slaves, then all Tx from slaves will be conected to master Rx.

    Anyway, looks like demon have resolve this...

    /jose p

Similar Threads

  1. PICs in a RS-485 network?
    By atomski in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 12th November 2011, 09:52
  2. Multiple PICS from Same Crystal?
    By WOZZY-2010 in forum General
    Replies: 2
    Last Post: - 6th February 2010, 15:18
  3. Problems controlling multiple pics
    By gandora in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 29th May 2007, 08:59
  4. Multiple Pics to One serial port
    By Rleonard in forum Serial
    Replies: 1
    Last Post: - 18th January 2007, 18:30
  5. Multiple Data on to USART RX pin
    By Squibcakes in forum Serial
    Replies: 2
    Last Post: - 20th July 2006, 00:37

Members who have read this thread : 3

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