Ks0055 keyestudio Bluetooth Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
<br>
<br>
==Connection Diagram ==
==Connection Diagram ==
<br>[[File:ks0068 31-2.png|500px|frameless|thumb]]<br>
<br>[[File:KS0055-1.png|700px|frameless|thumb]]<br>


<br>
<br>
==Sample Code==
==Sample Code==
<pre>
<pre>

Revision as of 15:23, 15 April 2019


Bluetooth HC-06 Module


thumb


Introduction

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 set with serial interface, which is easy-to-use and simplifying 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: 5 V DC 50mA
  • Operating temperature: -20 to 55℃



Connection Diagram


thumb


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");
}
}


Resources

  • Video

http://video.keyestudio.com/ks0055/

  • PDF

https://drive.google.com/open?id=1B-EwHqoXlDfeFROblmHQT47tvtQBwOZW


Buy from