With base plate, HC-05 master-slave one, Bluetooth module, Ar duino
wireless Bluetooth serial pass-through module
HC05 main switch from one serial port Bluetooth module / with
backplane
1, 6V - 4.5V power supply;
2, can be associated Bluetooth-enabled Android phones;
3, the default baud rate: 9600, according to the data sheet can be
modified;
AT command set
HC-05 Embedded Bluetooth serial communication module (hereinafter
referred to as modules) has two operating modes: Command response
mode and automatic connection mode, the automatic connection mode
module can be divided into the main (Master), from (Slave) and
loopback (Loopback) three working roles. When the module is
automatically connected mode, it will automatically connect
according to pre-set data transmission; respond when the module is
in command mode can perform all of the following AT commands, the
user can send a variety of AT commands to the module, the module
setting control parameters or control the release command. By
external pin control module (PIO11) input level, you can achieve a
state of dynamic conversion module.
Pin serial port module used in the definition:
1, PIO8 connection LED, indicating the module status, the module
was powered flashing, flashing different states in different
intervals.
2, PIO9 connection LED, indicating a successful connection module,
Bluetooth serial match after a successful connection, LED grow
lights.
3, PIO11 module state switching feet high -> AT command response
mode, low or floating -> Bluetooth routine operation.
4, the module with a reset circuit, re-power on reset is complete.
Setting procedure based module:
1, PIO11 set high.
2, the power module into the AT command response status.
3, HyperTerminal or other serial tool, set the baud rate of 38400,
8 data bits, 1 stop bit, no parity, no flow control.
4, the serial port to send the characters "AT + ROLE = 1 r n", a
successful return "OK r n", where r n is a carriage return line
feed.
5, PIO set low, re-power, module-based modules, automatic search
from module to establish a connection.