Loading...

0

You have no items in your shopping cart.

 
 
 
×

Registration

Profile Informations

Login Datas

or login

First name is required!
Last name is required!
First name is not valid!
Last name is not valid!
This is not an email address!
Email address is required!
This email is already registered!
Password is required!
Enter a valid password!
Please enter 6 or more characters!
Please enter 16 or less characters!
Passwords are not same!
Terms and Conditions are required!
Email or Password is wrong!
Captcha is required!
Captcha is wrong!

Serial Port Bluetooth Module (Slave) Connect to PC

Recently we got a serial port Bluetooth module. Users can use it simply for a serial port replacement to establish connection between MCU and GPS, PC to your embedded project.

The module use the CSR Bluetooth chip, compatible with the Bluetooth V2.0 protocol.Default setting is slave mode,serial port 9600 baud rate, N, 8, 1.  And the pincode is 1234.

Below is the AT command that the module used:

1. Communications Test :

Sent : AT
receive : OK

2. Change baud rate :

Sent : AT+BAUD1
receive : OK1200
Sent : AT+BAUD2
receive : OK2400
1———1200
2———2400
3———4800
4———9600
5———19200
6———38400
7———57600
8———115200

Baud rate setting can be save even power down.

3. Change Bluetooth device name:

Sent : AT+NAMEdevicename
receive : OKname
(devicename is the name you want the device to be , and it will be searched with this name)

Name setting can be save even power down.

4. Change Pincode:

Sent : AT+PINxxxx
receive : OKsetpin
(xxxx is the pin code you set)

Pin code can be save even power down.

Now we connect the serial port Bluetooth module with Foca , so we can use the serial monitor to control the serial port Bluetooth module by AT command.

First , we try to sent the AT communication test . Sent the “AT” to module , and we will get the “OK” . And go on to reset the name for the module , sent the “AT+NAMEITead”, get the “OKname” , now we can open the Bluetooth manager on the PC, and we can find a device named ITead by search Bluetooth devices.

Select the ITead, and press Next button, and we need to input the pincode to matches PC and module , the default pincode is 1234 .

Press Next button, the PC will build the communication between PC and module , we can found the Bluetooth serial on the device manager — COM22 and COM23.

Open the serial monitor on PC , select the COM22 or COM23 , then we can transport data from these ports between PC and Bluetooth module.

Now we have test using the Arduino to control the Bluetooth module to connect with Android Phone and succeed, we are gong to write a Bluetooth serial monitor software on Android  — Bluechannels. May be in this week , Bluechanels Beta will come out ; )