This is marked as solved, but it doesn't seem like anyone solved anything! Am I missing something? What is the solution?
glad to know there's more people out there that are sharing my frustrations
however I've been trying to connect my arduino and the seedstudio shield to a wiimote instead of a phone and i was wondering if any of you have done this or may be of assistance ....Thanks
i am cant find the bluetooth shiled via mobile and i tried my best to make the D2 blink but nothing works can you please tell how you fixed that prob!?
momo0002:
i cant find the bluetooth SLD63030P via mobile and i tried my best to make the D2 blink (just D1 blink green) but nothing works can you please tell how you fixed that prob!?
Hey,
So I've got the same problems as a few people. I have used numerous sketches that have worked for others, I have checked and double checked my jumper connections, and have tried having the switch in both directions. When I upload the the sketch the green D1 LED will flash. I do not however have the red D2 and green D1 LEDs flashing. Attached are both the sketch I am using and the photos of the bluetooth shield connection with my Arduino UNO. Any help would be greatly appreciated!
/* Upload this sketch into Seeeduino and press reset*/
#include <SoftwareSerial.h> //Software Serial Port
#define RxD 6
#define TxD 7
#define DEBUG_ENABLED 1
SoftwareSerial blueToothSerial(RxD,TxD);
void setup()
{
Serial.begin(9600);
pinMode(RxD, INPUT);
pinMode(TxD, OUTPUT);
setupBlueToothConnection();
}
void loop()
{
char recvChar;
while(1){
if(blueToothSerial.available()){//check if there's any data sent from the remote bluetooth shield
recvChar = blueToothSerial.read();
Serial.print(recvChar);
}
if(Serial.available()){//check if there's any data sent from the local serial terminal, you can add the other applications here
recvChar = Serial.read();
blueToothSerial.print(recvChar);
}
}
}
void setupBlueToothConnection()
{
blueToothSerial.begin(38400); //Set BluetoothBee BaudRate to default baud rate 38400
blueToothSerial.print("\r\n+STWMOD=0\r\n"); //set the bluetooth work in slave mode
blueToothSerial.print("\r\n+STNA=SeeedBTSlave\r\n"); //set the bluetooth name as "SeeedBTSlave"
blueToothSerial.print("\r\n+STOAUT=1\r\n"); // Permit Paired device to connect me
blueToothSerial.print("\r\n+STAUTO=0\r\n"); // Auto-connection should be forbidden here
delay(2000); // This delay is required.
blueToothSerial.print("\r\n+INQ=1\r\n"); //make the slave bluetooth inquirable
Serial.println("The slave bluetooth is inquirable!");
delay(2000); // This delay is required.
blueToothSerial.flush();
}
Hello everybody, I stumbled upon this topic while struggling through the same problem as everyone else. I found the solution here: http://www.rjanick.com/2012/11/26/seeed-studio-bluetooth-shield/
The sketch lists the Tx and Rx pins as 6 and 7. In the link above he uses pins 2 and 3.
What worked for me was to do the following (from the link above):
Shield: connect jumper from Rx to pin 3; Tx to pin 2
Code: #define RxD 2
#define TxD 3
After uploading this change (and resetting the arduino) the BT Shield began flashing green/red!! Discovered by my SII!! Success!!!
EDIT: I realize that this post was started quite a while ago, but as this seems to be a common problem and the last reply was recent, I thought I would share a solution that works XD
You can buy Bluetooth 4.0 related boards (BLEduino,BLE Bee, BLE shield) here.
Ok, to summarize the points made in this thread:
- You need to jumper this board to unused data pins on your own particular ardunio project. It can be jumpered for pins 0-7. In my case, I'm using it on a DFRobotShop rover with a v1.5 board. On this device, pins 5-8 are used for motor control and pins 0 & 1 are hardware serial. So, I jumpered it for pins 3 and 4.
- The labels for the pins on this shield are correct. However, you always connect the TX pin of a shield to the RX pin of arduino and vice versa. So it appears that they are labeled incorrectly since when you code, you do it from the perspective of the arduino board. ie: coding TX to pin 1 on arduino means I would jumper RX pin 1 to the digital bus on the shield so it would receive the signals transmitted on pin 1.
- Many devices with BT 4.0 stacks can't see this device even if it is in pairing mode (red/green flashing). Forget it if you have any iDevice; IOS doesn't support Bluetooth's Serial Port Profile. Android is your best bet here. I successfully paired it with a Galaxy Nexus running Kitkat.
- I highly recommend the Bluetooth Serial Controller Android app for this shield.
When you are writing your sketch, set the pins that you have jumpered when you define SoftwareSerial. In my case, where digital pin 3 on the shield is jumpered to transmit and 4 is jumpered to receive, I define it thusly:
SoftwareSerial BluetoothSerial(4,3).
Now I can send the ASCII commands that this board needs using my definition:
BluetoothSerial.print("")
That's it.
Hello !
I know this post is solved but I can't access the link above (http://www.rjanick.com/2012/11/26/seeed-studio-bluetooth-shield/)
I tried all day long to make the bluetooth shield v2.2 master/slave from itead work on Arduino Mega 2560, without success ( I don't get the red/green light alternatively, just a green light ) and I don't know what to do. I used the several codes displayed earlier. If someone made it work successfuly and can upload his code and his bumper configuration it would help a lot.
Thank you for your answers!
After reading through this thread and still having big troubles with the Seeedstudio Bluetooth shield V2 I want to share some details that I found out. I got it alle more or less working now.
-
https://www.arduino.cc/en/Reference.SoftwareSerial
If you are using the SoftwareSerial library to communicate with the shield, make sure you read about the restriction, this library has. For me this meant, I had to connect to other pins than D0-7 on my Arduino Mega. In the end I used one of the other Serial connections (Serial3 on pins 14 and 15) -
The factory name of the shield is HMSoft (for me, at least)
-
The default pin for pairing was 1234 instead of 0000
-
The default baudrate was 9600 instead of 38400
-
As Sleuth255 already pointed out, the labels on the pin rows are correct. This means, that you have to cross-wire the serial communication lines. Tx to Rx and Rx to Tx
Good Luck!
Yo i've a problem ! i want to connect two Bluetooth shield together but i don't know any thing on arduino ! so I serch on internet for code example but i'ven't find any things ! I try this:
#include <SoftwareSerial.h>
#define BT_TX 4
#define BT_RX 5
SoftwareSerial mySerial(BT_RX, BT_TX);
void setup()
{
Serial.begin(9600);
mySerial.begin(9600);
}
void loop()
{
}
That is true, but i don't know what i do take in void loop !
please help x'D
