2 Arduino BT device communication


we have 2 arduino bt modules. try send digital input data taken 1 device through bluetooth such other device receive message , set necessary digital out ports high.
first of connected device (tx) laptop entering ther necessary password "12345" , automatically com port assigned. necessary coding while push switch bt send "1" serial port.
later connected other device (rx) laptop , completed same steps above. coding while send "1" laptop through serial monitor set led  mode high.
after step removed laptop , tried send "1" while pressing switch in tx module , tried turn on led didn't work.
the reason might handshake protocol between 2 bt modules.
because both of them want necessary password "12345" start communication each other. question is possible start communication between 2 arduino bt modules.
and while initilazing bt there code this
  serial.println("set bt pagemode 3 2000 1");
  serial.println("set bt name arduinobt");
  serial.println("set bt role 0 f 7d00");
  serial.println("set control echo 0");
  serial.println("set bt auth * ");
  serial.println("set control escape - 00 1");
  serial.println("set control baud 115200,8n1"); 
do have tke make changes start communication.



Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > 2 Arduino BT device communication


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial