- EOL
Attention! The product has been discontinued. Check other products in category. |
Product description: Bluetooth module HC-05 v2
Simple communication system based on Blootooth HC-05 v2.0 + EDR module. It communicates through UART serial interface using AT commands. It works with a voltage of 3.3 V, which means thata voltage converteris required to operate with 5 V platforms (e.g.Arduino UnoorLeonardo).
In addition to the HC-05 module, there are also some on the board:
- LED diode, connected to the status pin PIO1 (when lit, it signals correct connection),
- the KEY pin connected to the PIO3 pin,
- resistors protecting UART interface lines - 1 kΩ,
- capacitors filtering supply voltage,
- soldered goldpin connectors, enabling the module to be connected to thecontact plateor connected bywires.
Module connection
To start the module, connect the supply voltage to the VCC pin. The module will be detected by a computer as an unknown chip or HC-05, in order to pair the two devices you need to enter a password:1234. A virtual COM port will appear in the system, through which you can transfer data using any terminal. The board has UART serial interface leads - RX and TX pins, which can be connected e.g. to Arduinoorto a computer viaFTDIadapter.
Although there are projects in the network where HC-05 system is directly connected to 5 V pins, e.g. Arduino Uno, for safety reasons we recommend using3.3 V - 5 Vconverter. |
Communication can be tested by pairing the module with a computer and connecting the board viaFTDI converter. In two windows of the terminal, select appropriate communication ports and specify transmission speed 9600 bps. If the configuration is correct, the text sent from one terminal will appear on the other.
Configuration of the module is done by popular AT commands, in order to enter this mode you have to connect KEY output up to 3.3 V (speed 38400bps). Examples of commands are
- AT- testing the connection, in response you get OK.
- AT+NAME- returns the device name.
- AT+NAME=XXX- changes the module name to XXX.
- AT+UART- returns UART interface configuration, three values separated by commas: speed, stop bit, parity.
- AT+UART=9600.0.0- changes the configuration of the UART interface: transmission speed 9600, 1 stop bit, no parity.
Note that the command must be followed by crlf characters. The full set of commands can be found inthe module documentation.
Bluetooth module specification HC-05 v2
- Power supply voltage: 3,3 V
- The outputs operate at 3.3 V
- Power consumption:
- Pairing 80 mA
- Transmission: 8 mA
- Class 2 - transmitter power max + 4 dBm
- Range: up to 10 m
- Standard: Bluetooth 2.0 + EDR
- SPP profile with settings via AT commands
- Communication: UART (RX, TX)
- Default pairing code: 1234
- Small dimensions: 37 x 17 mm
Useful links |