How to connect 1 master and 2 slaves (not at the same time) using UART

Hi,
i have 1 master and 2 slaves. I am using 3 HC-05s. I have to send data from slaves to master. As you know, it is impossible to conect 2 slaves to 1 master at the same time. So, how can i connect slaves to master, respectively.

squalo89:
So, how can i connect slaves to master, respectively.

Maybe it would be better to think of it the other way around - have the master connect to each slave in turn.

...R

Robin2:
Maybe it would be better to think of it the other way around - have the master connect to each slave in turn.

...R

I can connect them using AT commands. But how can slave arduino can understand that, it is connected.

Have the master connect to each slave and request the data, successively.