I had an HC-06 slave only Bluetooth receiver in my project. Receiving fine and all is well.
I changed that for a HC-05 yesterday, as I would like to be able to transmit data when it's not busy receiving.
But... I appear to have got that wrong.
I know that you enter AT mode by pressing the button and you can then set the modules role as master or slave. I set the new one to Master.
From what I can see, I cannot actually use that module as a transmitter and receiver at the same time (obviously not transmitting and receiving at the same time).
I believe the EN pin does the same as the button? Therefore i could put the module into AT mode, change it's role, and then transmit. Then enter AT again and put it back to receive once I am done.
But, that will slow my routine up unacceptably.
Am I right here? I have not found any way to switch between transmit and receive by software command. Or... in master mode, should it still be able to receive? (because mine doesn't)
So, it looks like either add a second Bluetooth module (but they are noisy power hungry chaps), or bin Bluetooth altogether.
The problem with 2 Bluetooth modules is I cannot connect to my Android phone with 2 Bluetooth modules at the same time.
OR... am I totally wrong. Advice? Thanks