Connecting two arduino pro minis via two BlueSmirfs?

Hello,

I just bought 2 Arduino Mini Pro boards and 2 BlueSmirf Gold chips, but I have no idea on how to make them communicate with each other without having a PC to bridge this communication.

I have read about configuring BlueSmirfs to work as masters or slaves. But I could not find any good reliable step by step “tutorial” on how to do it.

At my University, our teachers said it is not possible, but I already found many forums where they say it is possible, but how!??

So the ideal would be to have these BlueSmirfs connected to each Arduino Mini board and they should detect each other, pair, and communicate at anytime and anywhere.

I hope someone can help, and thanks in advance!

BTW: I already took a look at this thread but is not very usefull for me, I would need some kind of very clear step by step explained process from the begining to the end: viewtopic.php?p=19898&sid=87fc2c8502fe7 … 41e7d82963

Thanks!

No help yet!??

Ok, I have spent the last week searching all over the internet to find out how make this work, since nobody can help me, i will post what i found which might help someone in the future.

I found a way to connect to various Bluetooth devices via PC by using this Processing code, haven’t tested it yet though: http://www.tigoe.net/pcomp/code/category/Processing/19

But I would like the Bluesmirfs to find each other and connect without any PCs in the middle.

Please help.

Plzzzzzzz

Try this and let me know if it works.

From what I understand, one model is the slave (default factory

settings) and one module should be configured as the master.

In order to configure it as a master, enter configuration mode

(during the 60 second boot after power up)

Then do the below procedure

  1. Type “I” and the slave module will reply with an address

  2. Type “SR,slave address” to store the slave address into the master

  3. Type SM,3

  4. re-power the module so the settings take place

after re-powering the units they should connect automatically.

This is the programming guide:http://www.rovingnetworks.com/documents … oth-um.pdf

I got this tip from the techs of the manufacturer of the bt module but I have not tried it yes because I’m still waiting for my second bluesmirf to arrive.

Let me know if you try it and it works

Oh, thanks a lot, finally got some help lol

Yep, I kinda did that last night, but instead of doing SM,3, I did SM,4 and SM,5 because in the programming guide it says that the device will always look for the stored address and I was scared of not being able to connect to it via Teraterm anymore. Mainly because of this postings: viewtopic.php?t=7352&highlight=

Anyways, what I didn’t know is that I could connect to the Bluesmirf via USB and then put it in command mode via Teraterm.

Then what I did is send the command IN, and then C. It connected both Bluesmirfs, but then my only way to disconnect them was to turn off the slave lol

So now I am trying to write an Arduino Sketch to make the Bluesmirf to go on command mode and then make an inquiry and connection if a Bluesmirf COD was found. No luck so far though. Im quite a newbie in all these stuff :stuck_out_tongue:

Thanks for your help though. Any further help will be much appreciated.

Below is my code (not working yet) to try to make the Bluesmirf go on command mode:

char inByte;
int ledPin = 12;

void setup(){
  Serial.begin(9600);
  contactBluesmirf();
}

void loop(){
  if(Serial.available() > 0){
    inByte = Serial.read();
    if(inByte == 'C'){
      digitalWrite(ledPin, HIGH);    
    }else{
      digitalWrite(ledPin, LOW);
      contactUART();    
    }
  }
  delay(10);
}

void contactBluesmirf(){
  if(Serial.available() <= 0){
    Serial.print('$

Cheers., BYTE);
}
}


Cheers.

From what I see in the manual, you can always restore your setting to factory default if all fails. This is difficult in the bluesmirf gold since it does not dip switches but not impossible since the pins are available.

Factory Reset- Set this switch/PIO4 on power up to arm the reset function. Then toggle OFF / ON three
times to reset all settings to the factory defaults (other than the Bluetooth name).

I’ll have more info when I receive my second module.

My goal is to make a bt remote control between my tracked robot and a bt remote that I’m building. The robot will relay info (sensors data. The remote will operate with bt and have two 2-axis joysticks (used for robot navigation) and a 7 inch tft screen for the video feed. The screen will also have a video overlay with all the info that the robot relays