like this. i can set up arduino hc-06 module to master mode using this code.
but, since xbee bluetooth module have a xbee shield, so i can't set up
SoftwareSerial bluetooth(2,3);
this line that TX pin and RX pin.
it is hard to connect with two module.
plz, can get some information or answer about this problem that hc-06 module connect with xbee blue tooth module that have xbee shield....?
plz help me:(
i understand your mean. so, in conclusion, if i want to connect two module, i have to use hc-05 module.
and then communication way is same as hc-06 to hc-06. is this correct?
if i have a hc-05 module. how do i connect xbee bluetooth module to hc-05?
i'm curious that hc-05 is easy to declare TX,RX pin like SoftwareSerial bluetooth(2,3);
but xbee bluetooth module (i know that this module support HC-03,04,05,06) that have xbee shield is not declare like hc-05 module.
How to set the transmit receive pin for xbee module with code??
in conclusion, if i want to connect two module, i have to use hc-05 module. yes but you only need one, the other can be HC-06
and then communication way is same as hc-06 to hc-06. is this correct? No. there is no such thing as HC-06 to HC-06 comms
if i have a hc-05 module. how do i connect xbee bluetooth module to hc-05? check herelink Note that all the real work is done by HC-05. The HC-06 is just a slave.
i'm curious that hc-05 is easy to declare TX,RX pin like SoftwareSerial bluetooth(2,3);
but xbee bluetooth module (i know that this module support HC-03,04,05,06) that have xbee shield is not declare like hc-05 module. An HC-05 on an XBee board should work just like any other HC-05, and use the same software commands.
How to set the transmit receive pin for xbee module with code?? All you need do is ensure the proper pins are connected to Arduino. This presupposes the proper pins are identified on the XBee board. It also presupposes you have kosher power to the XBee
If xbee bluetooth module is used as hc-06 and other bluetooth module is used as hc-05, it means that communication is possible, right?
If I simply use hc-06 or hc-05 Bluetooth, I can set it as a digital input pin because the pin is out, but if I use the xbee shield board, it is difficult to set the tx rx pin because the tx and rx pins of the xbee are not exposed outside.....
so you mean that ,
Then, in order to give a command to set the Tx and Rx pins on the xbee shield board (hc-06), I have to refer to the data sheet, check the RX, TX pins, and enter the command ?
like SoftwareSerial bluetooth(2,3);
If xbee bluetooth module is used as hc-06 and other bluetooth module is used as hc-05, it means that communication is possible, right? Yes. It doesn't actually matter which is which, so long as one is a master (HC-05).
If I simply use hc-06 or hc-05 Bluetooth, I can set it as a digital input pin because the pin is out, but if I use the xbee shield board, it is difficult to set the tx rx pin because the tx and rx pins of the xbee are not exposed outside..... Incoherent, and no comment. I don't know anything about XBee
so you mean that ,
Then, in order to give a command to set the Tx and Rx pins on the xbee shield board (hc-06), I have to refer to the data sheet, check the RX, TX pins, and enter the command ?
like SoftwareSerial bluetooth(2,3); Yes. I understand XBee is a stand-alone device, and I guess you don't have the flexibility of Arduino.