Bluetooth module configurations

For advanced users who wish to customize their Bluetooth module configurations, this tutorial shows you how this can be done.

Few important things you can change on your BT module

  • Baudrate
  • Module name
  • Find Version of firmware
  • RESET the module
  • Change/See default password for bluetooth binding
  • Check connection status


You will need to connect the bluetooth module directly to your PC through serial interface. Since these days hardly any PC has serial interface, a USB-to-RS232 converter like the one below may be used.

Wire this module to the Bluetooth module according to the table below. make sure the BT module power is supplied by the USB-Serial module (5V).

Bluetooth module USB to Serial Module
Vcc Vcc

While configuring the bluetooth module, it shouldn't be connected wirelessly with any other bluetooth devices, so switch off the bluetooth of your PC and/or smart phones.

The default settings of the Bluetooth is:

Baudrate: 9600

Name: linvor

Pairing code: 1234

Any changes to the above configurations will be saved even when power is off.

All the commands sent to the Buetooth must not contain a 'newline' character at the end, puTTY doesn't do well in this regards. Hence we recommend using the 'Serial Monitor' in the Arduino IDE to configure the Bluetooth module. The procedures are as follows:

  • Connect the Bluetooth to the pc, the LED should be flashing
  • If you have an Arduino board connecting to the pc via USB, please unplug it.
  • Launch the Arduino IDE (the program where you write Arduion code and download to the Arduino)
  • Select the correct COM port that the Bluetooth is connected to.

Open the 'Serial Monitor'


Once the Serial Monitor pops up, make sure the 'no line ending' is selected. To test the communication between the Bluetooth and the PC, send the command AT (case sensitive), and hit the 'Send' button, the Bluetooth should reply 'OK'

If you can get the Bluetooth to reply, you are ready to configure the Bluetooth module to your preference!


Change the Baudrate

The example below shows how to set the baudrate to 4800 bps

Send the command (case sensitive!)


the Bluetooth will reply:


As shown in the figure below

Now, since the Baudrate of the Bluetooth has been changed, you need to change the Baudrate of the terminal program to 4800 in order to talk to the Bluetooth again.

The index  after the command AT+BAUD corresponds to the following Baudrate:


The change of Baudrate takes effect immediately after the command is sent. So if you want to keep configuring the Bluetooth module, you need to set the Baudrate of your terminal program to the new Baudrate the Bluetooth is using. To test it, send AT again, you should receive 'OK'.

NOTE: some MAX 232 chips cannot work reliably for Baudrates faster than 115200bps, therefore, we don't recommend to set the Bluetooth to a Baudrate that is faster than 115200bps.


Change name

This example show you how to change the name of the Bluetooth module to hobbyist:

In the terminal program, send the command (case sensitive):


The Bluetooth should reply:


as shown in the figure below

The Bluetooth needs to be reboot (power off then on) for the name to be changed

Please note that the length of the name cannot exceed 20 characters!


Change pairing code

The following example shows how to change the pairing code to 5566

In the terminal program, send the command (case sensitive):

Ex: Set PIN eg 5566   

AT+PSWD=”5566” reply OK

to check AT+PSWD

The Bluetooth should reply:


The change of pairing code takes effect immediately.


NOTE: If the bluetooth module has a button, the procedure to put the module in AT command mode is as below.

as show in wiring table above.

1. Then remove the VCC connector temporarily

2. Press the button and hold it pressed

3. Connect the VCC connector, now the module should start blinking slowly ( once in 2 secs )

4. Now the module is in AT command mode.

Try 9600 or 38400 baud for these modules, one of these baud rates should return response for

AT command.

Zircon - This is a contributing Drupal Theme