PICs on a bus . . . ?


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263

    Default PICs on a bus . . . ?

    Given: One PIC is "the boss", one port is defined as output. Some x others, "slaves", each having one port defined as input. They share an 8-bit parallel bus.

    Any issues? And what is the fanout limitation?
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    In theory, dozens... since the master PIC can sink/source 25mA and the slaves have relatively high impedance (2K-10K) inputs. However in practice this will depend on the Data Transfer Speed and the total loaded circuit capacitance. You 'may' need some Pull-Up's on the Bus. If you're breadboarding, you'll discover if it's needed, if you're laying down a PCB board as a starter, there's no harm in adding the holes for a SIL Resistor pack in case it's needed. I can confirm FOUR PICS on a (small two-wire) Bus without problems. Watch you don't use a Port on the Master which has an Open-Drain pin - otherwise you WILL need that external Resistor.

  3. #3
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Russ,

    I recently built 2 systems that have 20 PICs reporting to 1 PIC on a 2 wire buss. One is Busy and the other is data. They work great!

    Let me know if you need more info on this type of system.

    BobK

  4. #4
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default Thanks, Melanie and Bob

    Bob, I've sent you a PM on this so we won't clutter up the forum. I'll look forward to hearing from you.

    Melanie, thanks for the reminder on pullup(s). I'm using the 16F87xA devices (so far), and the only open drain I see in the data sheet is RA4. Being a fussy creature of habit, I'll probably want to put 4.7K pullups on anything that resembles a parallel bus . . .
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  5. #5
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Default Ot

    Sorry, but I had to chime in.... Does this sound like a bad Samuel L. Jackson movie to anyone else? Pics on a Bus..... Snakes on a Plane.
    Wisdom is knowing what path to take next... Integrity is taking it.
    Ryan Miller

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rhino
    Sorry, but I had to chime in.... Does this sound like a bad Samuel L. Jackson movie to anyone else? Pics on a Bus..... Snakes on a Plane.
    Just taking it a lil' further, how about a Rhino in soup?

    Hey I'm only jokin. So, don't get serious.

    Jerson

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Lightbulb Not so hastey . . .

    Quote Originally Posted by RussMartin
    Bob, I've sent you a PM on this so we won't clutter up the forum. I'll look forward to hearing from you.
    All the jokes aside, . . .
    Lots of Noobies out here looking to learn from posts such as this - It's not clutter to us, Thank You.

  8. #8
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default Sorry, JoeS

    My apologies--I wasn't intending to be rude! I sent a private message to Bob merely to request more details. I'm sure he would be happy to share with all . . .
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

Similar Threads

  1. RS485 bus - starting probem
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th January 2010, 13:35
  2. Communicating between two PICs over DC bus
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 7th May 2009, 12:57
  3. 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
  4. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  5. Two pics in a I2C bus?
    By robert0 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 4th January 2006, 13:44

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