/upload/medium/2769.jpg

Phone

(8)3896.8699-0972924961

Giỏ hàng 0 item(s)

Giỏ hàng trống

Danh Mục
Sản phẩm mới
Đang tải...
Bình luận mới
Sản phẩm đã xem
Arduino Bluetooth Bee

Arduino Bluetooth Bee

Bluetooth wireless module is compatible with Xbee base master from one serial port

0 Phản hồi ROHS

Nhà sản xuất: Chưa xác định

Liên hệ đặt hàng

Số lượng mua

1190 lượt xem

Bảng giá

Số lượng
(Cái)
Giá(VND)
1
295,000
5
290,000
10
285,000
20
280,000
50
270,000

Bluetooth Bee Bluetooth wireless module using XBEE design, volume compact size compatible XBEE expansion base, suitable for all kinds of 3.3V microcontroller system, remember that the module can not be used more than 3.3V power supply, or easily burn module. Modules can use the AT command set the baud rate, the pairing password user information, default baud rate: 38400, slave mode, the pairing 1234.

Can be used with through the following ways:
1. USB serial chip, as a Bluetooth adapter for easy connection to exchange data with Bluetooth Bee and PC

 

2. Sensor expansion board for Bluetooth Bee and sensor module with use.

3. Relay expansion board for Bluetooth Bee with a variety of modules with use.

4. Bluetooh Bee Shield, for insertion Bluetooth Bee to the Arduino, arduino control Bluetooth data to facilitate

5 Bluetooth adapter and Bluetooth Bee for devices such as Bluetooth pairing from use.



The Bluetooth wireless module comes with efficient on-board antenna, antenna exposed transmit the signal quality is better farther, transparent serial port can be used with a variety of Bluetooth adapter, Bluetooth phone paired. User-friendly design to facilitate the secondary development.

The module has been tested with the market all paired with a Bluetooth adapter (included with the Bluetooth laptops and cell phones)

The Bluetooth module also supports slave mode, the user can set parameters via simple AT commands. Use freely flexible and can be adapted to the special needs of more users. General and PC, PDA and other Bluetooth devices can be paired to slave mode.

In Bluetooh Bee Shield expansion board as an example, a Bluetooth module and communication between Android phones.

If the motherboard is Manduino UNO appropriated 5V power supply, expansion boards toggle opening transferred to the right (PROG) BT_TX, BT_RX jumper cap were BT_TX -> D2, BT_RX -> D3

After power, POWER LED on the module will always bright, LED1 will flash once for about one second, if not, re-power or reset.

(A) Set the Bluetooth parameters, the following procedures can be modified by the relevant parameters:

#include <NewSoftSerial.h>   //Software Serial Port
#define RxD 2
#define TxD 3

#define LED 13

NewSoftSerial blueToothSerial(RxD,TxD);

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

    pinMode(RxD, INPUT);
    pinMode(TxD, OUTPUT); 
    setupBlueToothConnection();
}

void loop()
{
       digitalWrite(LED, HIGH);
       delay(500);
       digitalWrite(LED, LOW);
       delay(500);        
}

void setupBlueToothConnection()
{
    Serial.println("Setting Bluetooth parameters");       

    blueToothSerial.begin(38400); //Set BluetoothBee BaudRate to default baud rate 38400
    delay(100);
    sendBlueToothCommand("AT\r\n");
    sendBlueToothCommand("AT+NAME=Manolins\r\n");
    sendBlueToothCommand("AT+ROLE=0\r\n");
    sendBlueToothCommand("AT+PSWD=1234\r\n");
    sendBlueToothCommand("AT+UART=38400,0,0\r\n");
    sendBlueToothCommand("AT+RMAAD\r\n");
    delay(100);
    Serial.println("Setup complete");
}
void sendBlueToothCommand(char command[])
{
    char a;
    blueToothSerial.print(command);
    Serial.print(command);                        
    delay(100);
    while(blueToothSerial.available())            
    {                                                
       Serial.print(char(blueToothSerial.read())); 
    }                                             
}

 

After the burning is complete, do not change the connection circuit, open the serial port, if it returns "OK", it means the right to modify the parameters

 

(B) a Bluetooth module and mobile communications Andrid:

Find the APK file "ANDROI system P Serial Assistant" directory from the "Download", the install APK files to the android phone. Expansion board struck the opening tune on the left (RUN), re-power.

After power, POWER LED on the module will always bright, LED1 will flash once for about half a second, if not, re-power or reset.

Burn test code as follows:

#include <NewSoftSerial.h>   //Software Serial Port
#define RxD 2
#define TxD 3

String BT_DATA = "";

NewSoftSerial blueToothSerial(RxD,TxD);

void setup()
{

    Serial.begin(38400);          

    pinMode(RxD, INPUT);
    pinMode(TxD, OUTPUT); 
    blueToothSerial.begin(38400);
}

void loop()
{
   while(blueToothSerial.available()) //Receivedata              {                                                             
       Serial.print(char(blueToothSerial.read())); 
    } 
   if(Serial.available()){  //Tx data
     do{
        BT_DATA += char(Serial.read());
        delay(2);
     }while (Serial.available() > 0);
    
    if (BT_DATA.length() > 0){
        blueToothSerial.println(BT_DATA);
        Serial.println(BT_DATA);
        BT_DATA = "";
    }}     
}

Bình luận(0)

Mã xác nhận*

8E9g9Y  

Vui lòng Đăng Nhập hoặc Đăng ký để chia sẻ và tích luỹ điểm.
Đang tải...
Đang tải...
Bình chữa cháy
Thegioiic-live-support