Hc-06 at commands pdf

Note that at commands sent to the hc 06 must not be followed by cr lf. The command set of hc03 and hc05 are more flexible than hc04 and hc06s. The hc 05 comes with a rich set of at commands to perform various tasks. You can watch the following video or read the written tutorial below. Jan 02, 2016 this post describes the hc 06 bluetooth module and shows a simple app to turn on and off a lamp with an arduino board. Many of these request packets take a boolean parameter called. I have listed a few popular at commands that will change the hc05 device name, pass code, and speed. And only a few at commands and functions can be used, like reset the. Hc 06 based modules are sold at ebay, dealextreme, rctimer and a lot of other places. I n the particular case of this project, the bolt 18f2550 system was used, as shown in the following photos, to transmit the at commands, through the serial port of the hc 06 bluetooth module. At commands hc06 uart hi, i have a hc06 bluetooth module 9600baud, 8n1 which is bounded to my pic18f4620 microchip. Type the command into notepad etc then copy and paste it into the terminal program. So much power here are a few at commands that i found useful. Eric huang description bc04 has external 8m flash and edr module hc 06 is industrial, and compatible with civil hc04 appd.

The hc 05 comes with a rich set of at commands to perform various tasks such as changing the modules default settings including changing the pass code, the device name, and the baud rate. Hc06 is industrial, and compatible with civil hc04. Due to variances in suppliers, the default baud rate and discoverable name may vary from module to module. I tried the same sketch to an hc05 module and it works fine instaed. For instance, the module hc 06 labelled zs040with firmware version 3. Hc 06 bluetooth module datasheet and configuration with arduino. How to configure the bluetooth hc06 module with at commands, using bolt 18f2550. Hc serial bluetooth products user instructional manual. How to configure the bluetooth hc06 module with at commands.

Hc06 is a cheap bluetooth module that supports spp serial port profile, which allows the establishment of an emulated serial connection using bluetooth. For at mode use to change the default setting or etc, please refer to this link modify the hc05 bluetooth module defaults using at commands. The hc06 firmware on the other hand only can be a slave device, with very limited at commands. Hc 05 datasheet, hc 05 pdf, hc 05 data sheet, hc 05 manual, hc 05 pdf, hc 05, datenblatt, electronics hc 05, alldatasheet, free, datasheet, datasheets, data sheet. On arduino serial monitor type at without the quotes and press enter, ok will confirm at. This connections is transparent for the microcontroller, since the module handles all the bluetooth protocol. Nov 23, 2017 here, i will show you can configure the hc 05 bluetooth module using at attention commands. You will find a full set of at commands from the attached hc05 reference pdf file. This example runs through communicating through a hc 06 module to a computer serial terminal with the psoc. Using the bluetooth hc06 module spring 2018 introduction the hc06 module allows one to use simple uart protocols over bluetooth. You can rename the device, change the baud rate, and change the pinpassword.

Hc12wirelessserialportcommunicationmodule usermanual v1. The hc05 is a common bluetooth module used in many microcontroller projects. The default baud rate is 9600 the hc06 requires all at commands to be in uppercase. May 25, 2014 the arduino sketch below will allow you to configure your hc 06 module using the arduino ide serial monitor.

The arduino will act as a middleman between the bluetooth module and your computer. The hc06 is a very common and affordable bluetooth module that enables communication between your android devices and your arduino. But the process of switching the hc 05 into at command mode for first time users of the module is not straight forward and the docs takes short cuts. Configuring the hc05 bluetooth module with at commands. Hc06 bluetooth module datasheet and configuration with arduino. How to configure the bluetooth hc06 module using a. Heres a compilation of all hc05 bluetooth at commands. The pin state determines whether the module works in at command mode or normal mode. How to use hc05 bluetooth modules tutorial australia. The hc06 does not have many commands, apart from setting the baud rate and renaming it, there isnt a lot you can do. This program permits a user to transmit commands for remote control the relay of board and read its dip switches, using an standard terminal emulator program.

Connecting to the bluetooth module the bluetooth module runs the spp serial protocol over bluetooth protocol. I use this type of bluetooth module and a arduino uno. Sending data between an arduino or compatible board and a bluetoothequipped device such as an android smartphone or tablet is very easy thanks to the inexpensive hc06 bluetooth module we have in stock at pmd way. I should connect with the hc06 to another bluetooth device through at commands, from code discoveringpairingconnecting. Having multiple bluetooth modules with the same name can be confusing. Hc04 and hc06 are former version that user cant reset the work mode master or slave. Renaming the hc05 bluetooth module using at command. Then the hc 06 module is now seen, by my mobile for example, like as sopwithcamel but any replies appears in my serial interface, nor ok nor sopwithcamel appear if now i try to send the at command. Then, im trying to send the simplest at command to the hc 06 without newline character, i do know its different from hc 05. The schematic of the circuit is shown helps you to understand the connection you are going to make as per the. There are several commands that can be used to configure the serial port adapter.

Its different from hc04 and hc06 they dont need terminator. The led on the bluetooth module should stay on and the app will show connected. Hc06 bluetooth module not responding to any at commands. Or in slave mode to make a wireless bridge to a notebook. This document contains proprietary technical information which is the property of quectel limited. Jun 10, 2017 interfacing bluetooth hc 05 and hc 06 with arduino using at commands in master mode. You can then type your at commands into the terminal input line and have them control the hc05. You can send at commands to the hc05 from the arduino ide serial monitor while the arduino is running the attached arduino program. Hc05 bluetooth module provides switching mode between master and slave mode which means it able to use neither receiving nor transmitting data.

To bring bluetooth hc 05 and hc 06 in command mode, connect pin 34 command with 3. Set speed to 9600 baud,n,8,1 and make sure to send crlf after each line. Hc06 bluetooth module datasheet and configuration with. How to configure and pair two hc05 bluetooth module as. Sometimes it may require to change the default settings like baud rate, or masterslave role of the module. I have it near the start of my script before i start writing data out from the arduino to the hc 06. Hc06 bluetooth module user manual hc06spec shenzhen. Tutorial using hc06 bluetooth to serial wireless uart adaptors with arduino. Main is to do a test jig for operator to test this kind of product. Serial port bluetooth, dropin replacement for wired serial connections, transparent usage. Using the bluetooth hc 06 module spring 2018 introduction the hc 06 module allows one to use simple uart protocols over bluetooth. This example runs through communicating through a hc06 module to a computer serial terminal with the psoc. In this example we will add bluetooth support to our arduino, there are several low cost modules labelled either hc 05 or hc 06.

Hc05 hc06 master and slave mode can be switched master and slave mode cant be switched. Im doing this check and switch every time at startup in case the module ever defaults back to 9600 for whatever reason, and so i dont have to manually switch new. For at mode use to change the default setting or etc, please refer to this link modify the hc 05 bluetooth module defaults using at commands. Comparing it to the hc06 module, which can only be set as a slave, the hc05 can be set as master as well which enables making a communication between two separate arduino boards. Hc 06 hc 06 is a cheap bluetooth module that supports spp serial port profile, which allows the establishment of an emulated serial connection using bluetooth. Hc0305 embedded bluetooth serial communication module at. The hc05 bluetooth module defaults using at commands.

To put into at command mode the key pin must be set high. After entering this post i remembered that i had a problem with the hc06 modules. The hc06 starts in at command mode on power on and expects commands to be uppercase without line endings so no \r characters. I can connect to the hc06 from my phone and multiple computers, but at commands dont work. If i pair with the device, windows thinks it has paired ok, but the 2 leds on the module continue to blink fast. Diagram below shows the hardware connection between hc05 bluetooth module and arduino uno. On the back of the lcd, you can easily see the pin configurations. I do not know if this is intentional but some commands only work when pin34 is high.

Hc12wirelessserialportcommunicationmodule usermanual productapplication wirelesssensor communitybuildingsecurity robotwirelesscontrol. Generally, the bluetooth of hc03hc05 is recommended for the user. I dont think the key pin does anything on the hc06 on the hc05 its needed to put it into at command mode, whereas the hc06 is always in at command modesupposedly. Installing bluetooth hc06 module with bolt 18f2550 system and pc. Hc0305 embedded bluetooth serial communication module. If hc 06 module goes well, ok will be returned, as shown below. Arduino and hc06 bluetooth example arduino learning. This guide shows how to enter at command mode of hc05 hc06 bluetooth module with the help of usb to ttl converter. Simple at commands are then used to configure the module to match your project. How to use hc06 bluetooth module to enable communication.

The hc 06 seems to need all the characters of the command to be sent very quickly. Tap the hc06 in the list, and you will then be asked for the pin it is 1234. The function below works to change a paired hc 06 from 9600 baud to 57600 baud. Different versions of the bluetooth module hc 06 exit and the list of at commands may vary.

The hc06 starts in at command mode on power on and expects commands to be uppercase without line endings so no \r\n characters. Hc 06 bluetooth module confguration using at commands the hc 06 confgurations options are covered in section 9 of the modules datasheet. Some breakout boards will only leave four output pins only because of this reason. Free software such as teraterm or putty can be used. Below is the example of interfacing between arduino uno and pc via hc05 bluetooth module. Hc05 datasheet, hc05 pdf, hc05 data sheet, hc05 manual, hc05 pdf, hc05, datenblatt, electronics hc05, alldatasheet, free, datasheet, datasheets, data sheet.

This post describes the hc06 bluetooth module and shows a simple app to turn on and off a lamp with an arduino board. Part 2 basic at commands hc05 fc114 and hc06 fc114. These at commands can be used to check and change the name, password, baud rate for communication of hc 05 bluetooth module. Interfacing bluetooth hc05 and hc06 with arduino using at commands in master mode. Hc06 bluetooth module getting this sucker into at command.

Jan 11, 2018 comparing it to the hc 06 module, which can only be set as a slave, the hc 05 can be set as master as well which enables making a communication between two separate arduino boards. According to the manufacturers specification, the entire command without enter crlf, should be transmitted from the microcontroller board to the hc06 bluetooth in a single time, at 9600 bps which is the default rate for this purpose, using the bolt 18f2550 system, three ansi c programs were developed to send some of the. The hc06 bluetooth serial port module instruction is command instruction set. You can use bluetooth module simply for a serial port replacement to establish connection between mcu, pc to your embedded project and etc.

Here, i will show you can configure the hc05 bluetooth module using at attention commands. And only a few at commands and functions can be used, like reset the name of bluetooth only the slaver, reset the password, reset the baud rate and check the version number. Aug 31, 20 in this video, i will demo how to change the settings of the ubiquitous hc 05 bluetooth module using the at command set. Finally, open your terminal app on the smartphone, and select connect a device from the app menu. The hc 05 module can build a connection to other modules. Jun 19, 20 the hc 06 firmware on the other hand only can be a slave device, with very limited at commands.

Hc06 bluetooth module confguration using at commands the hc06 confgurations options are covered in section 9 of the modules datasheet. The hc06 configurations options are covered in section 9 of the modules. It will communicate with your pc over the built in serial connection through the usb cable, and with the hc 06 bluetooth module over pins 4 and 2, using. Most commands follow a similar syntax, you enter at short for attention and then the command version, role, cmode etc followed by a question to query the state of the setting, or an followed by the parameters to change the setting. Hc 12wirelessserialportcommunicationmodule usermanual productapplication wirelesssensor communitybuildingsecurity robotwirelesscontrol. Contents1 setting hc05 to at command mode2 test command3 reset4 get firmware version5 restore default6 get module address7 setcheck module name. Bluetooth hc05, hc06 command master mode and at commands. Hc06 shell commands status and at commands can only be used if the device is not paired yet means. If this parameter is set to 1 the setting will be applied immediately and also when the. It will communicate with your pc over the built in serial connection through the usb cable, and with the hc06 bluetooth module over pins 4 and 2, using. Tutorial using hc06 bluetooth to serial wireless uart.

In this example we will connect one of these modules to our arduino, use the software serial library and using a terminal program send a command via your pc and switch the on board. The hc05 module can build a connection to other modules. At commands were unavailable directly through arduinos uart port i was ating arduino, not the jymcu hc06, key pin up just didnt change anything. May 20, 2016 hi i have some hc 06s with this latest v2. The arduino sketch below will allow you to configure your hc06 module using the arduino ide serial monitor. In this example we will add bluetooth support to our arduino, there are several low cost modules labelled either hc05 or hc06. These at commands can be used to check and change the name, password, baud rate for communication of hc05 bluetooth module. Apr 15, 2016 in this arduino tutorial we will learn how to configure and pair two hc 05 bluetooth modules as master and slave devices. To set those commands the complete command has to be. If you want the master module has the function of remembering slave module, the most. Oksetname will be returned and then the bluetooth name will be changed to bolutek. Below is the example of interfacing between arduino uno and pc via hc 05 bluetooth module.

The copying of this document, distribution to others, and communication of the. Eric huang description bc04 has external 8m flash and edr module hc06 is industrial, and compatible with civil hc04 appd. In other word, the function of hc04 and hc06, hc03 and hc05 are mutually compatible with each other. March 23, 2018 admin c523a coding and physical computing part 1, guides, learn c523a, learn. You can use it simply for a serial port replacement to establish connection between mcu and gps, pc to your embedded project and etc. The missing \r\n is present for all commands of the hc06 firmware.

The command set of hc03 and hc05 are more flexible than hc04 and hc 06 s. In this tutorial lets learn how to use hc06 bluetooth module, how to control it using at commands, and turn on some leds remotely. Hello, i tried many ways from internet that i could find to use at command for changing the baud rate of hc06 bluetooth but nothing seems to work. Here are the main factory parameters of hc05 and hc06. In this arduino tutorial we will learn how to configure and pair two hc05 bluetooth modules as master and slave devices. In them we only need to use four for successfully interfacing the module.

The hc05 comes with a rich set of at commands to perform various tasks such as changing the modules default settings including changing the. Part 3 master mode and auto connect on the zs040 modules there are 2 at modes. For these tests you will need the bolt 18f2550 module, a pc or laptop computer with windows 7 or windows 8, a 300 ma. Modify the hc05 bluetooth module defaults using at commands. Hc04 and hc 06 are former version that user cant reset the work mode master or slave. More detailed at commands are given in the 1st pdf. Besides arduino, it may interface with any microcontroller such as pic and etc. I found that typing in a command manually does not seem to work.

Hc05d, hc06d with baseboard, for test and evaluation. Connect arduino mega board to laptop and upload a blank sketch to the arduino. Hc06 bluetooth module configuration using at commands. To bring bluetooth hc05 and hc06 in command mode, connect pin 34 command with 3.

909 1352 357 182 856 1315 1276 655 1281 690 1165 1448 1461 1122 217 550 501 307 1084 783 733 658 894 895 366 486 962 935 418 476 938 1156 640 45 348 80