Iam working with gyroscope and Iam trying to send its values from one bluetooth(HC-05) module to another bluetooth module but the data exchange is not happening and I have used 2 arduino boards to do it.
Is there a simple way to do it?
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It only takes a minute to sign up.
Sign up to join this communityIam working with gyroscope and Iam trying to send its values from one bluetooth(HC-05) module to another bluetooth module but the data exchange is not happening and I have used 2 arduino boards to do it.
Is there a simple way to do it?
I think there is no simple answer for that. First you have to pair 2 HC-05 modules. To do so, you have to configure one HC-05 as slave, and other HC-05 as master.
Steps for SLAVE:
AT+PSWD?
, AT+NAME?
and AT+ADDR?
(let's say 1111:22:123456) commands. You might set the password to 1234 for easy remembering. Issue AT+PSWD=0000
...AT+ROLE=0
command.Steps for MASTER:
AT+ORGL
command.AT+RMAAD
command.AT+PASSWD=0000
command.AT+ROLE=1
AT+CMODE=1
AT+INIT
AT+INQ
command will list the modules you see.AT+LINK=1111,22,123456
(note the commas).With these steps you should exchange data...