Ks0135 keyestudio EASY plug Bluetooth Module

From Keyestudio Wiki
Revision as of 10:47, 28 November 2018 by Keyestudio (talk | contribs)
Jump to navigation Jump to search
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. 
Note: this module should be used together with EASY plug control board.


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 Andriod 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 the PDF:
https://drive.google.com/open?id=1Mr_r2QrY43AbX_7-N4BhA-3FyjT9b3Zu

Download the Android APP:
https://drive.google.com/open?id=1-hAs0EuKjdde5damUvTonjoq7Gknd8uf

Download the code:
https://drive.google.com/open?id=1aGULLoiQDT7RABu2g25gvcaInyRzv54p



Buy from