Bluetooth Serial Port Module for ArduinoPart number: VUPN5926
Looking for an easy way to wirelessly communicate with your Arduino microcontroller? This Bluetooth module is an inexpensive way to let your Arduino exchange data with an Android Phone, iPhone, or PC with a Bluetooth radio. This module works much like a PC modem, it is controlled using "AT" style commands and is easy to get running. This is a very popular board and many tutorials can be found online for using this Bluetooth module with your Arduino.
The full documentation for this module can be downloaded here: http://www.cutedigi.com/pub/Bluetooth/BMX_Bluetooth_quanxin.pdf - This link is for the older firmware version. It provides some useful data, but not everything is applicable to this module version.
The latest revision of these modules from our supplier ship with the HC06 firmware, which offers more limited AT command set. The following AT commands are supported by the HC06 firmware version:
|AT||Returns "OK" - use this to check that the module is connected|
|AT+VERSION||Returns the version of the module (firmware version)|
|AT+BAUDx||Returns "OK(baud rate)" - Set the Baud Rate (x) to one of the following:
|AT+NAMEstring||Set the device name - the bluetooth device name has a 20 character limit|
|AT+PINxxxx||Returns "OKsetpin" - This is used to change the pin/paring code. The default is 1234|
As you can see from reading CuteDigi's documentation, this module's capabilities are vast, and there are a great many AT commands for configuring all the minutiae of the bluetooth protocol. This is daunting for the hobbyist who wants a drop-in replacement for a wire, without any additional conceptual sophistication.
Fortunately, such simplicity is provided in this module's default configuration. This module has only four external pins: ground, power, transmitted data, and received data. The default UART parameters are 9600 bits per second, 8-bit word-length, 1 stop bit, and no parity bit. This combination of parameters is commonly abbreviated as 96008N1. The default bluetooth device name is linvor. This is the name that will show up on your PC or smartphone when you attempt to discover nearby bluetooth devices while this module is powered up and in range. The pairing code is 1234. You will need to enter this code on the host bluetooth device during the bluetooth pairing process.
After the pairing process, this device will show up as a serial port on your PC; for all intents and purposes, you can pretend that the module's transmit and receive pins are connected by wire to a physical serial port on your PC. This functionality will satisfy the recreational user.
However, if you want more control, you will be pleased to learn that, in addition to the four external pins mentioned above, there are two through-hole solder pads which provide extended access to the device. These solder pads are in line with the other four pins, and would readily receive two additional header pins. The names printed on the board next to these two solder pads are STATE (with an arrow indicating that this pin is for data coming out of the module) and KEY (with an arrow indicating that this pin is for data going into the module). The STATE pin provides access to the signal that drives the onboard status LED. The KEY pin is connected to the PIO11 pin of the CuteDigi module. Driving the KEY pin high puts the module into AT command mode, wherein you can set and retrieve all sorts of settings by sending and receiving AT style modem commands through the Tx and Rx pins. The AT commands allow you to change the bit rate, set the device name and address, turn the device into a bluetooth master, configure pairing with other devices, activate and configure power saving mode, and enable encryption - just to name a few.
For usability and price, this board is hard to beat.
This module has a 4 pin 0.1" spaced header, and includes a 4 pin connector and 4 single pin connectors on a 6" cable.
QTY: 1 x Bluetooth Serial Port Module for Arduino