Ks0135 keyestudio EASY plug Bluetooth Module

From Keyestudio Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
EASY plug Bluetooth 2.0 Module

Introduction

Keyestudio Bluetooth 2.0 module can easily achieve serial wireless data transmission. The 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.
It has build-in on-board antenna which provides high quality signals. 
This module should be used together with EASY plug control board.

Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.


Specification

  • Bluetooth protocol: Bluetooth 2.1+ EDR standard
  • USB protocol: USB v1.1/2.0
  • Operating frequency: 2.4GHz ISM frequency band
  • Modulation mode: GFSK (Gauss Frequency Shift Keying)
  • Transmit power: ≤ 4dBm, class 2
  • Sensitivity: ≤-84dBm at 0.1% Bit Error Rate
  • Transfer rate: Asynchronous: 2.1Mbps(Max)/160kbps ; Synchronous: 1Mbps/1Mbps
  • Safety feature: Authentication and encryption
  • Supported configuration: Bluetooth serial port
  • Supply Voltage: 5V DC /50mA
  • Operating temperature: -20℃ to +55℃


Technical Details

  • Dimensions: 52mm*16mm*18mm
  • Weight: 5.3g


Connect It Up

Connect the EASY Plug Bluetooth module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.

thumb


Upload the Code

Copy and paste below code to Arduino IDE and upload.
Firstly should upload the code to control board, then connect the Bluetooth module. Otherwise, it will fail to upload the program.

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


What You Should See

Done uploading the test code, powered on, power indicator is turned on, and LED on Bluetooth module is blinking.
thumb

Then open Bluetooth on your mobile phone, pair Bluetooth device, input 1234, and you should see the paired device.
thumb

After that, open an Bluetooth serial communication assistant - BTClient.
You can download the Android APP here: https://drive.google.com/open?id=1RM6wJCVlOMAWziZQR4YbZHPQyAV0xetJ
Search for device, then select your Bluetooth device.

thumb thumb

Done connected, when send an “a” , it will display “keyesdudio”.
thumb


Resources

Download App and code:
https://fs.keyestudio.com/KS0135



Buy from