Ks0144 keyestudio XBee Bluetooth Wireless Module HC-06: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 63: | Line 63: | ||
* '''PDF''' <br> | * '''PDF''' <br> | ||
https://drive.google.com/open?id= | https://drive.google.com/open?id=1zUkF9U1Wb8DsBjVedNRf6EvJ5o1UG8tT | ||
*'''Code''' <br> | |||
https://drive.google.com/open?id=1-oSDOns1sMII6U0yCXvSoMwS3VnS9obs | |||
<br> | <br> | ||
==Get One Now== | ==Get One Now== | ||
You can get one now from below link:<br> | You can get one now from below link:<br> |
Revision as of 09:54, 19 April 2019
Keystudio XBee Bluetooth Wireless Module HC-06
Introduction
Keyestudio Bluetooth XBee Bluetooth wireless module HC-06 adopts XBEE design.
It has features of compact size, compatible with XBEE shield, and suitable for various 3.3V MCU systems.
The module can use AT command to set baud rate and master/slave mode. The default settings are baud rate 9600, paring password 1234, slave mode.
It comes with efficient on-board antenna. The exposed antenna ensures better signal quality and longer transmitting distance. Transparent serial port can be used to pair up with various Bluetooth adapters, Bluetooth phones.
The humanized design offers convenience for secondary development.
After testing, the module is known to be suitable in using with all Bluetooth adapters on the market (PC and phones with Bluetooth).
Specification
- Supply voltage: 3.3V (voltage above 3.3V is forbidden. It will damage the module)
- Bluetooth paring user name: HC-06
- Bluetooth paring password: 1234
- Default baud rate: 9600
- Modified baud rate takes effect after module reboot
Connection
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"); } }
Test Result
Connect the 3 wire jumpers of the shield to APC ports; enter cell phone “settings”; pair up the Bluetooth; device name is HC-06; pairing PIN No. is 1234.
After device is paired, open APP “BTClient”; click search for device, pair up the Bluetooth.
After successful connection, enter “a” in BTClient and click send, the BTClient APP page will display keyestudio. And Pin13 LED will blink once.
Resources
- Video
http://video.keyestudio.com/wp/ks0144/
- PDF
https://drive.google.com/open?id=1zUkF9U1Wb8DsBjVedNRf6EvJ5o1UG8tT
- Code
https://drive.google.com/open?id=1-oSDOns1sMII6U0yCXvSoMwS3VnS9obs
Get One Now
You can get one now from below link: