VERY Urgent. Pls Help ME...


Closed Thread
Results 1 to 6 of 6
  1. #1
    weberclas's Avatar
    weberclas Guest

    Default VERY Urgent. Pls Help ME...

    I have 200 pic 16f84a chips.I want to communicate them (200 pic
    16f84a chips) on the same line . Communication speed isn't important. At
    the same time it can read or write.
    I must write commands in pic basic pro.


    Thanks for all.

  2. #2
    Join Date
    Oct 2003
    Location
    Cyprus
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    Hi weberclas,
    What is your question actually?
    Anyway, I believe that you don't know how to implement such a task isn't it?
    I am not an expert but I will try to express my idea on this.
    Use serial communication via the SEROUT/SERIN commands.
    Each PIC should have a address starting from 1 up to 200 for example. Then PIC no. 1 is the master of comms. Hence it should ask sequencially all the other PICs to transmitt their data. When communication ends, the master (no. 1) should send the address of the next PIC hence it could use the line for communication with the master or any other PIC whose address is indicated in the lets say first byte of the data string.
    In this way every PIC has it turn to talk. In the case a PIC is faulty and cannot talk, the master should allow a time out and call the next one.
    I am not sure if this is what you are asking or if it coould be implemented but it is just my idea.
    Regards
    K.

  3. #3
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello WeberClass,

    WEber>>I have 200 pic 16f84a chips.I want to communicate them (200 pic
    16f84a chips) on the same line . Communication speed isn't important. At
    the same time it can read or write.
    I must write commands in pic basic pro.<<

    We can help you, but we need more info...


    Are you going one master CPU, and 199 Slaves? Or are they
    goin to be all masters, with the ability to communicate to all?

    with the Serin Serout commands, you have a wait until a certain sequence of characters come across. With this command, you can achieve your goal.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  4. #4
    weberclas's Avatar
    weberclas Guest


    Did you find this post helpful? Yes | No

    Default help....

    I have a to do this. One pics is random or serial to other pics message from other pics 12 bytes info. when processins is done master pics recieve next question.

    For example I should show me temperature 12 bytes (12*8= 96 bits) at 199 areas. Please let me know randomly or sequence???
    Ekte prensib şemasını çizdim.


    I wrote the shema thx for everything
    Attached Images Attached Images  

  5. #5
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello Weberclas

    W>>I have a to do this. One pics is random or serial to other pics message from other pics 12 bytes info. when processins is done master pics recieve next question.<<

    Serin and Serout can do this...by using the "filter" in these commands, you can communicate to the chip that you want to.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    For example I should show me temperature 12 bytes (12*8= 96 bits) at 199 areas. Please let me know randomly or sequence???
    in case you want to show temperature at 199 different area at the same time, i suggest to have a specific address/code. Let's say 255. If PICs receive 255 as header, they directly show the following data....
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. guys pls help me in mp lab
    By darylbrown2005 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 9th March 2009, 16:58
  2. Help me pls
    By darylbrown2005 in forum mel PIC BASIC
    Replies: 3
    Last Post: - 7th March 2009, 18:40
  3. HELP! Serial input between Pic and PC (urgent)
    By cmyew in forum mel PIC BASIC Pro
    Replies: 34
    Last Post: - 10th December 2007, 13:05
  4. pls help me
    By london in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th November 2007, 07:02
  5. How to decode IR Hitachi remate (TV) pls help
    By chai98a in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th March 2006, 11:55

Members who have read this thread : 1

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