Bluetooth module HC-06

  • 149 kr

This Bluetooth module can easily achieve serial wireless data transmission. Its operating frequency is among the most popular 2.4GHz ISM frequency band (i.e. In

I lager.
Lagersaldo: 49
Artikelnummer: 231
Dela

This Bluetooth module can easily achieve serial wireless data transmission. Its operating frequency is among the most popular 2.4GHz ISM frequency band (i.e. Industrial, scientific and medical). It adopts Bluetooth 2.1+EDR standard. In Bluetooth 2.1, signal transmit time of different devices stands at a 0.5 seconds interval so that the workload of bluetooth chip can be reduced substantially and more sleeping time can be saved for bluetooth. This module is equipped with serial interface, which is easy-to-use and simplifies overall design/development cycle.

Specification

  • Bluetooth protocol: Bluetooth 2.1+ EDR standard
  • USB protocol: USB v1.1/2.0
  • Operating frequency: 2.4GHz ISM frequency band
  • Modulation mode: Gauss frequency Shift Keying
  • Transmit power: ≤ 4dBm, second stage
  • Sensitivity: ≤-84dBm at 0.1% Bit Error Rate
  • Transmission speed: 2.1Mbps(Max)/160 kbps(Asynchronous); 1Mbps/1Mbps(Synchronous)
  • Safety feature: Authentication and encryption
  • Supported configuration: Bluetooth serial port (major and minor)
  • Supply Voltage: +3.3 VDC 50mA
  • Operating temperature: -20 to 55

Sample code:

int val;

int ledpin=13;

void setup()

{

Serial.begin(9600);

pinMode(ledpin,OUTPUT);

} void loop()

{ val=Serial.read();

if(val=='a')

{

digitalWrite(ledpin,HIGH);

delay(250);

digitalWrite(ledpin,LOW);

delay(250);

Serial.println("keyestudio");

}

}

 

 Model 2

HC-06 är en Bluetooth-modul av klass 2 som är konstruerad för transparent trådlös seriekommunikation. När den är kopplad till en Bluetooth-enhet som t.ex. PC, smarta telefoner och surfplattor blir användningen transparent för användaren. All data som tas emot via seriell ingång överförs omedelbart över luften. När modulen tar emot trådlösa data skickas den ut via seriell gränssnitt exakt när den tas emot. Ingen användarkod som är specifik för Bluetooth-modulen behövs alls i Microcontroller-programmet.

HC-06 kommer att arbeta med matningsspänning på 3,6VDC till 6VDC, men den logiska nivån på RXD-stiftet är 3.3V och är inte 5V tolerant. En Logic Level Converter rekommenderas för att skydda sensorn om den ansluter till en 5V-enhet (t.ex. Arduino Uno och Mega).

Funktioner:
Bluetooth v2.0 + EDR
2,4 GHz ISM bandfrekvens
Standard baudrate: 9600
Strömförsörjning: 3.6V till 6V DC
Passkey: 1234
Dokument:

Data Sheet 
Dimension: 38 (L) x 15 (W) x 2,35 (H) mm

  • Connect the HC-06 Ground (GND) pin to ground (duh!).
  • Connect the HC-06 VCC pin to 5v.
  • Connect the HC-06 TX/TXD pin to Arduino digital pin 4.
  • Connect the HC-06 RX/RXD pin to Arduino digital pin 2.