I want to connect the two bluetooth HC-05 to each other using one arduino.
The Master Bluetooth properties:
VERSION:5.0-20220104
+ROLE:1
+UART:38400,0,0
+ADDR:5856:00:0029E9
+CMODE:1
+BIND: 1B00:3:412360
The Slave Bluetooth properties:
+VERSION:hc05V2.3_le
+ROLE:0
+UART=38400,0,0
+ADDR=1B:00:03:41:23:60
+CMODE:FAIL (For some reason when i type AT+CMODE=0 it outputs "FAIL")
+BIND=00:00:00:00:00:00
How I set them up separately using the same arduino:
VCC to 5V, GND to ground, EN to 3.3V, TXD to TX, RXD to RX
After that I wanted to test them out if they would connect:
I only connected the VCC and the GND of the two bluetooth HC05 to 5V Batteries, but they don't sync they just keep on blinking rapidly. Do I need two arduinos to to also connect the TX and RX of both of them?
I'm new to the community so I'm not familiar with anyone named Robin2. Could you please send me some source links for the good examples you're talking about which I can look into ?
So what you are saying is that the Master should be bound to the Slave ? What do you mean by "bound"? Do you mean that I should connect the TX and RX of the Master to the RX and TX of the Slave?
One you do the BIND operation on, the other gets no special prep - as I recall.
The one that gets the BIND operation, I wouldn't figure as pairable with anything but its assigned address ("partner"). I believe you posted that you could still pair connect with both your units
It's silly and pointless, but can be done in order to just prove it can be done. One way is to have one on hardware serial and the other (presumably) on 9600 baud software serial, and text to be transmitted included in the programme. I suppose it can be used to confirm Blueteeth are properly configured.
See post#5. I understand master finds slave as soon as the latter is powered.