Ks0255 keyestudio Bluetooth 4.0 Expansion Shield: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[image:Ks0255 bluetooth 4.0.png|thumb|600px|right|Keyestudio Bluetooth 4.0 Expansion Shield]]
<br>
==Introduction==
The keyestudio Bluetooth 4.0 shield is an integration of sensor shield and HM-10 Bluetooth-4.0, fully compatible with UNO R3. So it is very easy to stack it onto the UNO R3 board.<br>
The shield has extended all the digital and analog pins out into 3PIN, simple to connect the sensor using 3PIN wire.<br>
It also come with a HM-10 Bluetooth-4.0 used for Bluetooth communication. The slide switch is used to control the power supply for Bluetooth. <br>
Onboard is set with jumper cap, default by communicating the Bluetooth module to UNO R3 serial port. If connect two jumpers, need to set the virtual serial port for UNO R3 board, that is D2 to TX, D3 to RX.<br>


==Keyestudio Bluetooth 4.0 Expansion Shield ==
<br>
<br>[[File:KS0255 (2).jpg|500px|frameless|thumb]]<br>
==Features==
==Introduction==
* Extends 14 digital pins into 3PIN
* Extends 6 analog pins into 3PIN
* Comes with a reset button
* Comes with a slide switch to control the Bluetooth communication
* Comes with jumper interface to control the serial communication pin (default built-in serial port, can select the analog serial port, TX to D2, RX to D3.)
* Comes with a Bluetooth 4.0 module


Keyestudio Bluetooth 4.0 expansion shield integrates sensor expansion board with HM -10 Bluetooth 4.0. It is fully compatible with keyestudio UNO R3 control board, which can work only through stacking the expansion board on the keyestudio UNO R3 control board, easy and convenient. It extends all digital ports and analog ports of keyestudio UNO R3 control board in the form of steering gear sequence. A sensor only needs a universal 3P sensor cable, which is very simple and fast.
<br>
Expansion board with HM -10 Bluetooth 4.0 can be used for the bluetooth communication, and toggle switch control the power supply for Bluetooth. There is a jumper cap set on the board, and the default jumper wire achieves the direct communications between bluetooth module and keyestudio UNO R3 control board serial port. If the jumper cap connects another two jumper wires, achieving a serial port communication needs the keyestudio UNO R3 control board to set up the virtual serial port, which needs that the digital port 2 is set to RX, and digital port 3 is set to the TX.
==Bluetooth 4.0 Parameters==
* Terminal block spacing: 3.5mm
* Bluetooth protocol: Bluetooth Specification V4.0 BLE
* No byte limit in serial port Transceiving
* Realize 100m ultra-distance communication with iphone4s in open field.
* USB protocol: USB V2.0
* Working frequency: 2.4GHz ISM band
* Modulation method: GFSK(Gaussian Frequency Shift Keying)
* Transmission power: -23dbm, -6dbm, 0dbm, 6dbm, can be modified by AT command.
* Sensitivity: ≤-84dBm at 0.1% BER
* Transmission rate: Asynchronous: 6K bytes ;  Synchronous: 6k Bytes
* Security feature: Authentication and encryption
* Supporting service: Central & Peripheral UUID FFE0, FFE1
* Power consumption: Auto sleep mode, stand by current 400uA~800uA, 8.5mA during the transmission.  
* Power supply: 5V DC
* Working temperature: -5 to +65 Centigrade


<br>
==Technical Details==
* Dimensions: 54mm x 48mm x 23mm
* Weight: 19g
<br>[[File:KS0255 Detail.jpg|600px|frameless|thumb]]<br>
<br>


==Specification==
==PINOUT Guide==
<br>[[File:KS0255 PINOUT.jpg|800px|frameless|thumb]]<br>


* Bluetooth protocol: Bluetooth Specification V4.0 BLE
<br>
* No byte limit in serial port Transceiving
* In open environment, realize 100m ultra-distance communication with iphone4s
* USB protocol: USB V2.0
* Working frequency: 2.4GHz ISM band
* Modulation method: GFSK(Gaussian Frequency Shift Keying)
* Transmission power: -23dbm, -6dbm, 0dbm, 6dbm, can be modified by AT command.
* Sensitivity: ≤-84dBm at 0.1% BER
* Transmission rate: Asynchronous: 6K bytes  ;Synchronous: 6k Bytes
* Security feature: Authentication and encryption
* Supporting service: Central & Peripheral UUID FFE0, FFE1
* Power consumption: Auto sleep mode, stand by current 400uA~800uA, 8.5mA during  transmission.
* Power supply: 5V DC
* Working temperature: –5 ~ +65 Centigrade
==Sample Code ==


==Test Code==
<pre>
int val;  
int val;  
int ledpin=13;  
int ledpin=13;  
Line 44: Line 65:
}
}
}
}
</pre>
<br>
==Example Use==
Stack the shield onto keyestudio UNO R3 board, power up and upload the code. <br>
Turn on the slide switch to power the HM-10 Bluetooth-4.0. 
<br>[[File:KS0255 Use.jpg|500px|frameless|thumb]]<br>
<br>
Then open the APP HC-COM, search device and pair the Bluetooth device. If connected, the LED on the Bluetooth module is normally on. <br>
Enter an “a” on the HC-COM, then click Send, it will display “keyestudio”. Every time sends an “a” , Pin13 LED on the board flashes once.
<br>[[File:KS0255 Result.png|500px|frameless|thumb]] [[File:HC-COM.png|500px|frameless|thumb]]<br>
<br>




==Result==
<br>


The keyestudio Bluetooth 4.0 expansion board is stacked on the keyestudio UNO R3 control board. After the power is turned on, burn the procedure and dial the toggle switch to power on HM-10 Bluetooth - 4.0. Open APP HC-COM, click to search device and select the device;when the device is connected,the LED on the Bluetooth module is on. Enter “a” in HC-COM, click “Send”, Bluetooth APP will display keyestudio. Each time HC-COM sends an “a”, the Pin13 LED on the main board blinks once.
==Resources ==


<br>[[File:图片1.png|500px|frameless|thumb]]<br>
https://fs.keyestudio.com/KS0255


<span style=color:red>Allow APP to access “location” in settings of your cellphone when connecting to Bluetooth module.</span>
<br>


==Get One Now ==
==Get One Now ==
*[https://www.keyestudio.com/keyestudio-bluetooth-40-shield-expansion-shield-board-for-arduino-uno-r3-p0173.html    '''Official Websie''']
*[https://www.aliexpress.com/store/product/Keyestudio-Bluetooth-4-0-Shield-Expansion-Shield-Board-for-Arduino-UNO-R3/1452162_32822074612.html?spm=2114.12010612.8148356.28.6d41276fj00U9Q  SHOP ON Aliexpress ]
* [https://www.ebay.com/itm/132744184279  SHOP ON eBay]


http://www.keyestudio.com/catalogsearch/result/?q=ks0255


[[Category: shield]]
  [[Category: shield]]

Latest revision as of 14:16, 6 January 2021

Keyestudio Bluetooth 4.0 Expansion Shield


Introduction

The keyestudio Bluetooth 4.0 shield is an integration of sensor shield and HM-10 Bluetooth-4.0, fully compatible with UNO R3. So it is very easy to stack it onto the UNO R3 board.
The shield has extended all the digital and analog pins out into 3PIN, simple to connect the sensor using 3PIN wire.
It also come with a HM-10 Bluetooth-4.0 used for Bluetooth communication. The slide switch is used to control the power supply for Bluetooth.
Onboard is set with jumper cap, default by communicating the Bluetooth module to UNO R3 serial port. If connect two jumpers, need to set the virtual serial port for UNO R3 board, that is D2 to TX, D3 to RX.


Features

  • Extends 14 digital pins into 3PIN
  • Extends 6 analog pins into 3PIN
  • Comes with a reset button
  • Comes with a slide switch to control the Bluetooth communication
  • Comes with jumper interface to control the serial communication pin (default built-in serial port, can select the analog serial port, TX to D2, RX to D3.)
  • Comes with a Bluetooth 4.0 module


Bluetooth 4.0 Parameters

  • Terminal block spacing: 3.5mm
  • Bluetooth protocol: Bluetooth Specification V4.0 BLE
  • No byte limit in serial port Transceiving
  • Realize 100m ultra-distance communication with iphone4s in open field.
  • USB protocol: USB V2.0
  • Working frequency: 2.4GHz ISM band
  • Modulation method: GFSK(Gaussian Frequency Shift Keying)
  • Transmission power: -23dbm, -6dbm, 0dbm, 6dbm, can be modified by AT command.
  • Sensitivity: ≤-84dBm at 0.1% BER
  • Transmission rate: Asynchronous: 6K bytes ; Synchronous: 6k Bytes
  • Security feature: Authentication and encryption
  • Supporting service: Central & Peripheral UUID FFE0, FFE1
  • Power consumption: Auto sleep mode, stand by current 400uA~800uA, 8.5mA during the transmission.
  • Power supply: 5V DC
  • Working temperature: -5 to +65 Centigrade


Technical Details

  • Dimensions: 54mm x 48mm x 23mm
  • Weight: 19g


thumb

PINOUT Guide


thumb


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


Example Use

Stack the shield onto keyestudio UNO R3 board, power up and upload the code.
Turn on the slide switch to power the HM-10 Bluetooth-4.0.
thumb

Then open the APP HC-COM, search device and pair the Bluetooth device. If connected, the LED on the Bluetooth module is normally on.
Enter an “a” on the HC-COM, then click Send, it will display “keyestudio”. Every time sends an “a” , Pin13 LED on the board flashes once.
thumb thumb



Resources

https://fs.keyestudio.com/KS0255

Allow APP to access “location” in settings of your cellphone when connecting to Bluetooth module.


Get One Now