

Step 1: Check if the HC-05 master is in command mode: AT Pairing configuration is done through the master device. One module is the master device while the other is the slave device. The default baud rate for command mode is 38400.

Then use Arduino’s serial monitor to send out commands.
#ARDUINO BLUETOOTH TUTORIAL PDF HOW TO#
Use an FTDI USB to Serial converter to configure the bluetooth module once it’s in command mode ( how to set in command mode). Param: Recently Authenticated Device AddressĬancel Inquiring Bluetooth Device Command Most Recently Used Authenticated Device Command Set/Check - Query access patterns Commandġ - inquiry_mode_rssi Param2: Maximum number of Bluetooth devices to respond toĪT+ SENM? + SENM:, 1-sec_mode1+non_secure Set/Check GIAC (General Inquire Access Code) Command Param: Bluetooth module name (Default :HC-05)Įxample: AT+NAME=HC-05 set the module name to “HC-05” Slave mode, pin code :1234, device name: H-C- ,Baud 38400bits/s. Below is an example wiring diagram and sketch/code: The following commands require that the HC-05 is connected to the Arduino as a serial device. The HC-05 is now in command mode if the red LED flashes once every two seconds. To solve this, wire pin 34 of the IC to 3.3 V: However, there are modules where the KEY pin is missing or is not wired to the actual KEY pin of the IC. To put into AT command mode the KEY pin must be set (high). In this mode, the module acts like a serial bridge. By default, the HC-05 is configured in data mode.
