Hello!
thanks Dora for your explanation and you are 100% right by using software solution.
but when you talked about using an ID protocol , you didnot comment on the hardware .
So i am assuming you are confirming that it is possible to receive by multiple slaves on the same port .
regards
Well, to be frank, I have never tried to do that with RS232, neither with UART directly, but I see no
technical reason that could prevent it to work. At least as long as you don't have zillions of receivers
on the same UART. I suppose there is a physical limit to the number of hart RX that a single TX can
drive without relaying it. But let's suppose you have a reasonable number of receivers, I'm sure
it can work at least for single sender to multiple receivers.
Now, there is a slight problem if you want it to be bidirectional:
Suppose you have 3 devices, A, B and C. We will note the Tx and Rx AT, AR, BR, BR, CT, CR.
If you want to send message to any device seamlessly, you should connect:
-> AT to BR and CR
-> BT to AR and CR
-> CT to AR and BR
In this case, you have AT = BR = CR (from line 1)
But you have also CR = AR = BT (from line 2)
And since CT is also AR (from line 3)
then you end up with all the RX and TX connected together which might create some problems.
At least, you have to disable any Tx which is not allowed at a certain time. Like if you have
10 people in one room, distribute speech right and forbid 2 people to talk at the same time.
That will be tricky to design, but I'm sure it's possible.
Dora.