Ks0255 keyestudio Bluetooth 4.0 Expansion Shield: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 38: Line 38:
* Dimensions: 54mm x 48mm x 23mm
* Dimensions: 54mm x 48mm x 23mm
* Weight: 19g
* Weight: 19g
<br>[[File:KS0255 Detail.jpg|500px|frameless|thumb]]<br>
<br>[[File:KS0255 Detail.jpg|600px|frameless|thumb]]<br>
<br>
<br>


Line 77: Line 77:
<br>[[File:KS0255 Result.png|500px|frameless|thumb]] [[File:HC-COM.png|500px|frameless|thumb]]<br>
<br>[[File:KS0255 Result.png|500px|frameless|thumb]] [[File:HC-COM.png|500px|frameless|thumb]]<br>
<br>
<br>
You can download the APP HC-COM from the link below:<br>
 
https://drive.google.com/open?id=1VUemnItmdPMb3keW2HEL0W607txAVKBi


<br>
<br>


==Resources ==
==Resources ==
'''Download the PDF:'''<br>
https://drive.google.com/open?id=1xV9bKSYJD0IlQoNqeLERL3jIQoE502dC


'''Bluetooth APP:'''<br>
https://fs.keyestudio.com/KS0255
https://drive.google.com/open?id=1VUemnItmdPMb3keW2HEL0W607txAVKBi
 
<span style=color:red>Allow APP to access “location” in settings of your cellphone when connecting to Bluetooth module.</span>


<br>
<br>
==Get One Now ==
==Get One Now ==
*'''Official Websie:''' http://www.keyestudio.com/ks0255.html
*[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.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 ]  

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