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.
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.
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.
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...
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
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...
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....For example I should show me temperature 12 bytes (12*8= 96 bits) at 199 areas. Please let me know randomly or sequence???
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks