0 ratings0% found this document useful (0 votes) 88 views3 pagesBluetooth Module
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
BLUETOOTH HCO5
INTRODUCTION
‘The HCOS Bluetooth Module can be used in a Master or Slave configuration, making it a great
solution for wireless communication. You can use it simply for a serial port replacement to establish
‘connection between MCU and GPS, PC to your embedded project. The HCDS Bluetooth Module has 6 pins
\Vec, GND, TX, RX, Key, and LED. It comes preprogramed as a slave, so there is no need to connect the Key
pin, unless you need it change it to Master Mode. The major difference between Master and Slave modes
is that, in Slave mode the Bluetooth module cannot initi
ste a connection, it can however accept incoming
connections.
‘After the connection is established the Bluetooth module can transmit and receive data regardless
of the mode itis running in. If you are using a phone to connect to the Bluetooth module, you can simply
use it in the Slave mode. The default data transmission rate is 9600Kbps. The range for Bluetooth
‘communication is usually 30m or less. The module has a factory set pin of “1234” which is used while
pairing the module to a phone.
The HC-05 module can build a connection to other modules. .g. a Robot being a master and
connecting to slave Bluetooth module. Or in slave mode to make a wireless bridge to a notebook.
PIN CONFIGURATION
1. STATE: NC (No Connection).
RX : TX of Microcontroller.
TX: RX of Microcontroller
GND : Ground,
Vcc : 45V.
EN : NC (No Connection)
BLUETOOTH HCO5FEATURES
Protocol: Bluetooth Specification v2.0+€0R
Frequency: 2.4GHz ISM band
Modulation: GFSK
Emission power: <4d8m, Class 2
Sensitivity: <84d8m at 0.1% BER
Speed: Asynchronous: 2.1Mbps (Max) / 160 kbps,
Synchronous: 1Mbps/1Mbps
Security: Authentication and encryption
Profiles: Bluetooth serial port profile (SPP)
Power supply: +3.3VDC 50mA.
Working temperature: 20 ~ +75 Centigrade
Range: Up to 10cm
ADVANTAGES:
Good Range and High Data transfer speed.
Compact Size.
TTL Interface.
It comes with integrated antenna.
It operates at low power
APPLICATIONS:
Computer and peripheral devices
GPS receiver
Industrial control
Microcontroller unit projects
Mouse, keyboard, joystick
SOME COMMONDS:
‘A FEW EXAMPLES:
AT (AT Test command. Should respond with OK)
AT+VERSION? (show the firmware version)
AT+UART=9600,0,0 (Set baud rate to 9600, 1 stop bit, no parity)
BLUETOOTH HCO5BLUETOOTH MASTER MODE:
AT+RMAAD Clear any paired devices
AT+ROLE=1 Set mode to Master
AT+RESET After changing role, reset is required
AT#CMODE=0 Allow connection to any address
AT+INQM=0,5,5 Inquire mode - Standard, stop after 5 devices found or after 5 seconds
AT+PSWD=1234 Set PIN. Should be same as slave device
AT+INIT Start Serial Port Profile (SPP)
ATSINQ Start searching for devices
SLAVE MODE:
AT+ORGL Reset to defaults
‘AT+RMAAD Clear any paired devices
AT+ROLE=0 Set mode to SLAVE
AT+ADDR Display SLAVE address
‘© For more details refer the given link below
[Link]
DEVICE IMAGE:
Hi
a
MASTER
——
SLAVE
i tee
BLUETOOTH HCO5