Relay Shield (DFR0144) and LCDKeypad Shield (DFR0009) by gregrahkin
[Today at 01:52:54 am]


DFRduino L298p Shield Reverse Problems by jakfourie
[May 20, 2013, 11:00:12 pm]


10 DOF Problems ?? by Jose
[May 20, 2013, 06:57:57 pm]


Trouble with Purchase of LCD Backpack by Jose
[May 20, 2013, 06:29:50 pm]


GPS via Arduino using GPS/GPRS/GSM Module V3.0 (SKU:TEL0051) Not working by rene.mm
[May 20, 2013, 05:03:40 pm]


Ecoduino V1 by Phoebe
[May 20, 2013, 04:14:14 pm]


KIT0015 - MiniQ Motor Wheel Set with Encoder Issue by lumi
[May 20, 2013, 03:48:59 pm]


GPS/GPRS/GSM Module V3.0 (SKU:TEL0051) SIM and Online Connection by Jose
[May 20, 2013, 01:04:15 pm]


RoMeo V2 [R3] + DF-BluetoothV3 by Jose
[May 17, 2013, 12:54:51 pm]

Sorry, this shoutbox does not exist.

Author Topic: DF-Bluetooth V3  (Read 9675 times)

Ricky

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
  • Karma: +7/-0
    • Follow us on Twitter for coupons and product updates!
Re: DF-Bluetooth V3
« Reply #10 on: April 12, 2011, 06:36:40 pm »
After a week test and research.  We do find lots of serial software do not support this bluetooth serial port.

One works for us is the hyper terminal which can read and write data.

Try this .
Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

luispena15

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
Re: DF-Bluetooth V3
« Reply #11 on: April 14, 2011, 11:44:47 am »
Hello admin!

Regardless what serial software I am using to watch what is happening at serial port, the bluetooth module should be capable to get paired with other devices like a phone or a computer.

Is there some point to consider to get a successfull connection with other device?

Thanks.

Ricky

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
  • Karma: +7/-0
    • Follow us on Twitter for coupons and product updates!
Re: DF-Bluetooth V3
« Reply #12 on: April 14, 2011, 12:09:08 pm »
The bluetooth module can be set as Master or slave.

the default mode is slave mode which can be found by your computer and mobile phones. 

You can try to pair the bluetooth module use your phone, we've tested HTC, nokia, iphone without any problems.

Also, the computer pair has been tested recently both on windows 7 (32 and 64 bits) with success.
Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

luispena15

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
Re: DF-Bluetooth V3
« Reply #13 on: April 14, 2011, 01:03:27 pm »
Hello!

Ok, I "pair" the bluetooth module with my laptop, my sony ericsson, a blackberry; there is no problem. The problem is the bluetooth module seems no recognize any bluetooth device. I said that because I have never seen the famous Link LED on.

Certainly, I have a curiosity: how independent is the bluetooth module from arduino? I assume the negotiation about pairing with other device is done only by the bluetooth module, without intervention of arduino so the bluetooth module has to pair with other device regardless I am using serial functions in my program? Am I wrong? (obviusly you use this module for serial connections with a program using serial functions but it would be interesting know the independenceof the module from arduino).

Thanks.

Ricky

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
  • Karma: +7/-0
    • Follow us on Twitter for coupons and product updates!
Re: DF-Bluetooth V3
« Reply #14 on: April 14, 2011, 01:41:45 pm »
The Bluetooth itself has nothing to do with Arduino. It is a stand-along product which is just the same as all other bluetooth device.

The link led will only on when you actually open the serial port which actually turn on the bluetooth. The pair stage is just some pre-stage.

So, basically, you will need a software which can talk to you bluetooth.  For example,  http://www.amarino-toolkit.net/   is working excellently with Andriod mobile phone.

For winodws, you will need a software such as hyper terminal to open the serial port which will then actually turn the bluetooth on.

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

luispena15

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
Re: DF-Bluetooth V3
« Reply #15 on: April 16, 2011, 08:25:19 am »
Hello!

Is there some way to configure the bluetooth module with "no pairing code needed"? It would be easier if the bluetooth module don´t require authentication and connects with the device I want.

Thanks.

R2D2

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: DF-Bluetooth V3
« Reply #16 on: April 20, 2011, 01:33:51 pm »
Hey guys I'm new at this, but I tried so hard to communicate my Arduino UNO with a bluetooth Mate Gold and I can pair the Bluetooth with computer but just can't make the bluetooth comunicate with arduino. I'd also tried with NewSoftSerial. The problem is that I can comunicate the arduino when it's wired to computer and It works perfectly but the bluetooth just do not work !!! Can anyone help me here's my code:

**I almost forgot it I used Processing and the IDE for Arduino and I'd tried with every single BAUN value I can

***este es el codigo del software processing
//import class to set up serial connection with wiring board
import processing.serial.*;
//import cc.arduino.*;

Serial port;


//button setup
color currentcolor;
RectButton rect1, rect2;
boolean locked = false;
void setup() {
//println(Arduino.list()); //hace lo mismo que serial.list
  //set up window
  size(200, 200);
  //color baseColor = color(102, 102, 102);
  color baseColor=color(0,0,0);
  currentcolor = baseColor;

  // List all the available serial ports in the output pane.
  // You will need to choose the port that the Wiring board is
  // connected to from this list. The first port in the list is
  // port #0 and the third port in the list is port #2.
  println(Serial.list());

  // Open the port that the Wiring board is connected to (in this case 1
  // which is the second open port in the array)
  // Make sure to open the port at the same speed Wiring is using (9600bps)
  port = new Serial(this, Serial.list()[2], 115200);

  // Define and create rectangle button #1
  int x = 30;
  int y = 100;
  int size = 50;
 // color buttoncolor = color(153, 102, 102);
  color buttoncolor=color(47,30,245);
 // color highlight = color(102, 51, 51); // el boton rojillo cuando se le pone encima el mouse se pone mas intenso su color
  color highlight = color(22,9,193);
  rect1 = new RectButton(x, y, size, buttoncolor, highlight);

  // Define and create rectangle button #2
  x = 90;
  y = 100;
  size = 50;
  //buttoncolor = color(153, 153, 153);
  buttoncolor=color(10,10,10);
  //highlight = color(102, 102, 102);
  highlight =color(0,0,0);
  rect2 = new RectButton(x, y, size, buttoncolor, highlight);
}


void draw() {

  background(currentcolor);
  stroke(255);
  update(mouseX, mouseY);
  rect1.display();
  rect2.display();
}


void update(int x, int y) {

  if(locked == false) {

    rect1.update();
    rect2.update();
  } else {
    locked = false;
  }

  //Turn LED on and off if buttons pressed where
  //H = on (high) and L = off (low)
  if(mousePressed) {
    if(rect1.pressed()) {            //ON button
      currentcolor = rect1.basecolor;
      port.write('H');
    } else if(rect2.pressed()) {    //OFF button
      currentcolor = rect2.basecolor;
      port.write('L');
    }
  }
}


class Button {

  int x, y;
  int size;
  color basecolor, highlightcolor;
  color currentcolor;
  boolean over = false;
  boolean pressed = false;   

  void update()
  {
    if(over()) {
      currentcolor = highlightcolor;
    } else {
      currentcolor = basecolor;
    }
  }

  boolean pressed()
  {
    if(over) {
      locked = true;
      return true;
    } else {
      locked = false;
      return false;
    }   
  }

  boolean over()
  {
    return true;
  }

  void display()
  {

  }
}


class RectButton extends Button {

  RectButton(int ix, int iy, int isize, color icolor, color ihighlight)
  {
    x = ix;
    y = iy;
    size = isize;
    basecolor = icolor;
    highlightcolor = ihighlight;
    currentcolor = basecolor;
  }

  boolean over()
  {
    if( overRect(x, y, size, size) ) {
      over = true;
      return true;
    } else {
      over = false;
      return false;
    }
  }

  void display()
  {
    stroke(255);
    fill(currentcolor);
    rect(x, y, size, size);
  }
}


boolean overRect(int x, int y, int width, int height) {

  if (mouseX >= x && mouseX <= x+width &&
      mouseY >= y && mouseY <= y+height) {
    return true;
  } else {
    return false;
  }
}
 



***And this is the code for IDE WIRING ARDUINO
#include <NewSoftSerial.h>

//Wiring Code

char val; //variable que recibe info del puerto serial
int ledPin =13; //LED conectado al pin 13
NewSoftSerial serial (2,3);

void setup()
{
  pinMode(ledPin,OUTPUT); //Pin del LED es salida
  serial.begin(115200); //comienza la comunicación con el puerto serie
}

void loop()
{
  if(serial.available()) //si hay información para leer ...
  {
    val=serial.read(); //lee lo que hay en el puerto y lo guarda en 'val'
  }
  //Serial.println(val);
  if(val=='H')
  {
    serial.println(val);
    digitalWrite(ledPin,HIGH);
  }
  else
  {
    if(val=='L')
    {
      serial.println(val);
      digitalWrite(ledPin,LOW);
    }
  }
  delay (100);
}

**


Ricky

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
  • Karma: +7/-0
    • Follow us on Twitter for coupons and product updates!
Re: DF-Bluetooth V3
« Reply #17 on: May 13, 2011, 09:12:41 pm »
Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Akangsyauqee

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: DF-Bluetooth V3
« Reply #18 on: May 01, 2012, 02:51:09 pm »
Hi admin..

I just wan't to ask...

can bluetooth v3 used on ARM ST microelectronic(STM32F103)?

and how to pairing with other bluetooth v3?

please help

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: DF-Bluetooth V3
« Reply #19 on: May 02, 2012, 12:19:06 pm »
Hi,


You can use the Bluetooth V3 with anything else that uses a serial port (TTL, UART). All it needs is


GND
Vcc
Tx
Rx


Pairing for 2 modules is a bit difficult but it can be done through a serial terminal like putty.

-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

 

SimplePortal 2.3.4 RC1 © 2008-2011, SimplePortal