Bluetooth Module HC06: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Storm32-bgc-v017-board-bottom-wbluetooth-01-wp01.jpg|thumb|caption|STorM32 BGC v0.17 board with HC06 bluetooth module]]
''The feature got removed with firmware v2.61.''
The STorM32-BGC can be equipped with a Bluetooth module for wireless communication. Specifically, it is the HC06 slave module.


== Yellow Status Led ==
[[File:Storm32-bgc-v017-board-bottom-wbluetooth-01-wp01.jpg|thumb|caption|STorM32-BGC v0.17 board with HC06 bluetooth module]]
The STorM32 v1.x BGC boards can be equipped with a Bluetooth module for wireless communication. Specifically, it is the HC06 slave module (meaning that it must be a HC06 slave module).
 
The on-board Bluetooth capability is not intended for telemetry purposes or other long-range applications; it's only for easing the near-distance configuration of the STorM32 board.


There is also a third yellow led on the STorM32BGC board, which is related to the HC06 bluetooth module. Hence, its meaning has to be read off from the documentation for the HC06 module.
{{COMMENT|HC05 modules cannot be used; they look identical but have a different firmware and pin assignment.}}


== Installation and Configuration ==
== Installation and Configuration ==


In order to use the StorM32 BGC via Bluetooth just solder the HC06 BT-Module in place, connect via USB and start the "BTConfigureTool - Configure Bluetooth Module" option from the Tools menu in OlliW's o323BGCTool.
In order to use the STorM32 board via Bluetooth just solder the HC06 module in place, connect via USB and start the {{GUI|Bluetooth Module Configure Tool}} option from the {{GUI|Tools}} menu in the GUI o323BGCTool.
 
The name, with which the board is recognized by the Bluetooth stack, can be changed (per default it is "STorM32-BGC"). This can be handy when one is using two or more STorM32 boards.
 
Once the module has been configured, please restart the board by pressing reset or remove and resume power. Then try to connect via Bluetooth. For those who wonder what the correct PIN is: It is "1234".
 
The process is also nicely shown in this video by rcgroups user alcurtis93:
{{#ev:youtube|V73BSCHaIRw}}
 
== Yellow Status Led ==
 
There is a third, yellow led on the STorM32 v1.x boards, which, if enabled, is directly connected to the HC06 Bluetooth module and shows its status. The meaning of the blinks is described in the documentation for the HC06 module.
 
== Manual Commands ==


Once the module has been configured, please restart the board by pressing reset or remove and resume power. Then try to connect via Bluetooth - for those who wonder what the correct PIN is: It is "1234"
The procedure to send commands manually to the BT module is simple: Connect the board to only the USB, as said in the {{GUI|Bluetooth Module Configure Tool}} wizard, and choose the COM port. When enter the string xQB and hit {{GUI|Send}}. From now on you can send any command to the BT module, like you usually would do with a terminal, except that it has to be preceded by '@' and a lower case character a, b, ..., h, which determines the baudrate of the communication (@a = 1200, ..., @d = 9600, ..., @h = 115200). For instance, a simple command would be @hAT, where the '@h' sets the baudrate to 115200, and 'AT' is the AT query command, or @dAT for the same but just at 9600 baudrate. The response can be seen in the message window. After each {{GUI|Send}} please wait for the 'Done'.


== Where to get the HC06 module from ==
== Where to get the HC06 module from ==
See the wiki entry [http://www.olliw.eu/storm32bgc-wiki/index.php5/Where_to_buy_assescories_and_supplies#HC06_Bluetooth_module Where_to_buy_assescories_and_supplies: HC06_Bluetooth_module]
 
Search for "HC06" and check that it is a slave (it sometimes is available also as master). In case of doubt carefully compare the product picture with the item in the above picture. It is important that you get indeed a HC06 module, and not e.g. a HC05 which can be easily confused with a HC06 since the hardware is identical (but the firmware is different). The HC05 cannot be configured using the {{GUI|BTConfigureTool}}.
 
For possible sources, see the wiki entry [[Where_to_buy_accessories_and_supplies#HC06_Bluetooth_Module|Where to buy accessories and supplies: HC06 Bluetooth Module]]
 
== Technical Documentation ==
* [http://wiki.pinguino.cc/index.php/SPP_Bluetooth_Modules Pinguino - SPP Bluetooth Modules]
* [http://www.exp-tech.de/media/archive/gm/service/datasheet/HC-Serial-Bluetooth-Products.pdf ExpTech - HC Serial Bluetooth Products User Instructional Manual]
* [http://mcuoneclipse.com/2013/06/19/using-the-hc-06-bluetooth-module/ MCU on Eclipse - Using the HC-06 Bluetooth Module]
<!-- * [http://www.rcscomponents.kiev.ua/datasheets/hc_hc-05-user-instructions-bluetooth.pdf RCS Components - HC Serial Bluetooth Products User Instructional Manual]-->

Latest revision as of 09:28, 30 July 2022

The feature got removed with firmware v2.61.

STorM32-BGC v0.17 board with HC06 bluetooth module

The STorM32 v1.x BGC boards can be equipped with a Bluetooth module for wireless communication. Specifically, it is the HC06 slave module (meaning that it must be a HC06 slave module).

The on-board Bluetooth capability is not intended for telemetry purposes or other long-range applications; it's only for easing the near-distance configuration of the STorM32 board.

Comment: HC05 modules cannot be used; they look identical but have a different firmware and pin assignment.

Installation and Configuration

In order to use the STorM32 board via Bluetooth just solder the HC06 module in place, connect via USB and start the [GUI:Bluetooth Module Configure Tool] option from the [GUI:Tools] menu in the GUI o323BGCTool.

The name, with which the board is recognized by the Bluetooth stack, can be changed (per default it is "STorM32-BGC"). This can be handy when one is using two or more STorM32 boards.

Once the module has been configured, please restart the board by pressing reset or remove and resume power. Then try to connect via Bluetooth. For those who wonder what the correct PIN is: It is "1234".

The process is also nicely shown in this video by rcgroups user alcurtis93:

Yellow Status Led

There is a third, yellow led on the STorM32 v1.x boards, which, if enabled, is directly connected to the HC06 Bluetooth module and shows its status. The meaning of the blinks is described in the documentation for the HC06 module.

Manual Commands

The procedure to send commands manually to the BT module is simple: Connect the board to only the USB, as said in the [GUI:Bluetooth Module Configure Tool] wizard, and choose the COM port. When enter the string xQB and hit [GUI:Send]. From now on you can send any command to the BT module, like you usually would do with a terminal, except that it has to be preceded by '@' and a lower case character a, b, ..., h, which determines the baudrate of the communication (@a = 1200, ..., @d = 9600, ..., @h = 115200). For instance, a simple command would be @hAT, where the '@h' sets the baudrate to 115200, and 'AT' is the AT query command, or @dAT for the same but just at 9600 baudrate. The response can be seen in the message window. After each [GUI:Send] please wait for the 'Done'.

Where to get the HC06 module from

Search for "HC06" and check that it is a slave (it sometimes is available also as master). In case of doubt carefully compare the product picture with the item in the above picture. It is important that you get indeed a HC06 module, and not e.g. a HC05 which can be easily confused with a HC06 since the hardware is identical (but the firmware is different). The HC05 cannot be configured using the [GUI:BTConfigureTool].

For possible sources, see the wiki entry Where to buy accessories and supplies: HC06 Bluetooth Module

Technical Documentation