Back Forum New

Arduino + Serial Port Bluetooth With Baseboard (Master)

I have Arduino Duemilanove and Bluetooth module. I connect Bluetooth with GND, 3.3V and TX, RX to pin 2 & 3 on Arduino. If I understand, I have to initialize bluetooth module to start a connection and to be visible?
I wrote a simple program:
#include <NewSoftSerial.h>

NewSoftSerial mySerial(2, 3);

void setup()  
{
  Serial.begin(9600); //terminal on PC
  Serial.println("Start");
  mySerial.begin(9600);  //bluetooth
}
void loop()
{
  if (mySerial.available()) {
      Serial.print(mySerial.read());     
  }
  if (Serial.available()) {
      mySerial.print(Serial.read());
  }
}

I don't get any reply from bluetooth? If I understand, I have to send AT commands to configure bluetooth?
Please help if you can

Thanks for your ratification and support.
We will try our best to do better.
If you have any other question,please feel free to contact us.

Regards

TOP

Thank you for the tips.
Now I have connected bluetooth to Rx and Tx of arduino and can access bluetooth module with terminal(serial).
If I send command AT, the response is OK. If i send name and address command, the response is OK+name of BT and OK+mac address. So far so good. But when I try to change the name of module, it doesn't change it and it does not return OK. Also when i send AT+INQ=1 command, the response is OK+UNFOUND. I have two USB BT and 2 phones searching for devices and visible.
I will keep trying, when I try all of ideas I will write you for more help, sorry

You are really great shop with support, I already recommended you!

TOP

To mih :
  First , you must confirm that you connect with the right GND, 3.3V and TX, RX , you can connect according our manual : http://www.emartee.com/product/4 ... eboard-%28Master%29
  Second : this is the master board, so you can connect with more slave.
  Third : As you said you must  have to initialize bluetooth module by setting AT commandto start a connection and to be visible through AT command.
  Then you may use it successfully.
Hope this will help you.

TOP

Back Forum