Serial Port Bluetooth Module (Master/Slave) : HC-05

KR-MD0026

New

  • HC-05 supports Master and Slave Mode. Modify by AT Command

3 Items

Ready Stock

Rp 130.000,00

HC-05 Bluetooth Wireless Module Features:

  • HC-05 supports Master and Slave Mode. Modify by AT Command
  • HC-05 Bluetooth wireless module allows your device to both send or receive the TTL data via Bluetooth technology without connecting a serial cable to your computer. Just Power, Ground, RX, TX and you can send data to/from Arduino.
  • Works with any USB Bluetooth Adapters
  • Default Baud Rate: 9600, 8, 1, n. Default Passcode: 1234
  • Built-in Antenna
  • Coverage up to 30ft

Specifications

  • Bluetooth Version: V2.0 + EDR
  • Operating Voltage: 3.3V
  • Default Baud Rate: 9600, 8, 1 n
  • Signal Coverage: 30ft

 

Basic AT commands

CommandReturnParameterDescription
ATOKNoneTest
AT+VERSION?+VERSION:<Param> OKParam: Version numberGet the soft version
AT+ORGLOKNoneRestore default status
AT+ADDR?+ADDR: <Param> OKParam: Bluetooth addressGet module Bluetooth address
AT+NAME=<Param>OKParam: Bluetooth device nameSet device’s name
AT+NAME?+NAME:<Param> OKParam: Bluetooth device nameInquire device’s name
AT+ROLE=<Param>OKParam:0=Slave role; 1=Master role; 2=Slave-Loop roleSet module role
AT+ ROLE?+ ROLE:<Param>Param:0=Slave role; 1=Master role; 2=Slave-Loop roleInquire module role
AT+UART=<Param>,<Param2>,<Param3>OKParam1: baud rate( bits/s); Param2: stop bit; Param3: parity bitSet serial parameter
AT+ UART?+UART=<Param>,<Param2>,<Param3> OKParam1: baud rate( bits/s); Param2: stop bit; Param3: parity bitInquire serial parameter

 

Sample

char NOMBRE[10]  = "BTDENIS01";    // Module Name
char BPS         = '4';           // 1=1200 , 2=2400, 3=4800, 4=9600, 5=19200, 6=38400, 7=57600, 8=115200
char PASS[10]    = "1234";   // pass key 

void setup()
{
  Serial.begin(9600);
  pinMode(13,OUTPUT);
  digitalWrite(13,HIGH);
  delay(10000);
  digitalWrite(13,LOW);

  Serial.print("AT"); 
  delay(1000);

  Serial.print("AT+NAME"); 
  Serial.print(NOMBRE);
  delay(1000);

  Serial.print("AT+BAUD"); 
  Serial.print(BPS); 
  delay(1000);

  Serial.print("AT+PIN");
  Serial.print(PASS); 
  delay(1000);    
}

void loop()
{
  digitalWrite(13, !digitalRead(13));
  delay(500);
}


No customer comments for the moment.

Write a review

Serial Port Bluetooth Module (Master/Slave) : HC-05

Serial Port Bluetooth Module (Master/Slave) : HC-05

  • HC-05 supports Master and Slave Mode. Modify by AT Command

Related Products

Top