Loading...

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!

Gboard 800/ Gboard Pro 800 Bluetooth AT Commands Guide

Compared to SIM900 or SIM908, the SIM800 has an advantage of Bluetooth function. For now, SIM800 is applied in two ITEAD mainboards: Gboard 800 and Gboard Pro 800. In this blog, we will introduce the SIM800 Bluetooth AT command and demonstrate how to make SIM800 communicate with cellphone.

Preparation

1. Test Gboard 800 Bluetooth function. Plug a Foca to Gboard, and power Gboard with DC 9V. Then an empty program is required to be uploaded to the board via Foca.

	void setup(){}
	void loop(){}

Then connect the jumpers as below: ST->D1; SR->D0.

2. Test Gboard Pro 800 Bluetooth function. The connection with Foca is as Gboard 800 and also power with DC 9V. The following codes should be uploaded via Foca so that Gboard Pro 800 can be sent and received AT commands through Foca.

void setup()
{
     Serial.begin(9600);
     Serial2.begin(9600);
}
void loop()
{
     if(Serial.available())
     Serial2.write(Serial.read());
     if(Serial2.available())
     Serial.write(Serial2.read());
}

Here we list some Bluetooth AT commands and show how to use them. 

Smartphone pair with SIM800 

To realize communication with SIM800, you shall install an Bluetooth SPP APP in your smartphone. You can search and download it from Google Play.

Connect Foca to computer, and open the serial port tool SSCOM3.2 (or other serial port tools you are used to use).

The AT commands we use has showed in the right column of the following picture. You can find more Bluetooth AT commands using guide in its application manual.


 

  1. Send AT+BTPOWER=1 to power on SIM800. If error occurs, you shall send AT+BTPOWER=0 to close SIM800, then repower it by the previous same command.
  2. Open the Bluetooth in your smartphone. Send AT+BTSCAN=1, 20 in SSCOM3.2 to search the available Bluetooth. You can let your phone pair with SIM800 by clicking SIM800 on your cellphone. In the serial tool, send AT+BTPAIR=1, 1 to accept the pairing request from smartphone.

When they get paired with each other, open Bluetooth SPP app in your phone. At this time, send AT+BTCONNECT=1, 4 in SSCOM3.2 to set up the SPP connection to smartphone. Now, we can send something to SIM800 in Bluetooth SPP app, and SIM800 can send something back to smartphone by using the command AT+BTSPPSEND via SSCOM3.2

Note: 

All AT commands shall be added line break, namely “0x0D 0x0A”. You can just click the “SendNew” to get a same effect.

After sending AT+BTSPPSEND command, you can send the data like “hello back”. At the end, you should press Ctrl+Z on your keyboard. Pressing these two keys in the same time, the SSCOM will show it as “→”, namely the terminator “0x1A” in HEX format.