Sale!

Bluetooth Master Module HC-06

Original price was: 10,55 €.Current price is: 8,09 €. Excluding VAT

…

4 in stock (can be backordered)

Domande su questo prodotto? Scrivi a Lana su WhatsApp

🎬 The product on video

Description

What it is

The HC-06 Bluetooth Master Module is an electronic component that allows establishing a wireless connection between Arduino devices and other Bluetooth-enabled devices. This module enables bidirectional data transmission through the serial interface UART.

Features

  • Compatible with the SPP (Serial Port Profile) protocol
  • Provides Bluetooth connection for master and slave devices
  • Serial UART interface for data communication

What it is for

HC-06 modules are useful for projects that require wireless communication between Arduino and other Bluetooth devices, such as smartphones or tablets. Examples of applications include remote control of robots, data transmission from sensors to a mobile device, or implementation of home alarm systems.

Tutorial: How to use HC-06 Bluetooth Master Module

The HC-06 Bluetooth module is an ideal component for anyone who wants to connect to remote devices wirelessly. It is particularly useful for Arduino projects and can be used as either a master or slave device, allowing data to be sent between multiple devices.

What you need

  • Arduino Uno
  • USB PC-Uno Connection
  • Software Serial Monitor

Steps

  1. Connect the HC-06 module to the TX and RX pins of the Arduino (check the datasheet for specific pins).
  2. Download the BluetoothSerial library from the Arduino IDE.
  3. Insert the example sketch provided in the ‘Code’ section.
  4. Open the Serial Monitor and set the speed to 9600 baud.
  5. Press the enter key on the PC to send a message to the HC-06 module.
  6. Verify that the module receives data from the PC and transmits it to the Arduino.
  7. Modify the sketch to customize the interaction with the Bluetooth module.
  8. Test bidirectional communication between Arduino and Bluetooth device.

Example code

/*
BluetoothSerial BT;

void setup() {
  Serial.begin(9600);
  BT.begin(9600);
}

void loop() {
  if (BT.available()) {
    char c = BT.read();
    Serial.write(c);
  }
}

Mini project

Create a home alarm system that sends Bluetooth notifications to a smartphone when sensors are triggered.

Common mistakes

  • Set baud rate different from that of the module.
  • Fail to correctly connect TX and RX between Arduino and HC-06.
  • Omit downloading the BluetoothSerial library.
  • Enter incorrect code in Serial Monitor.

Recommended accessories

  • LCD 16×2 module
  • PIR motion sensors
  • LED printer

Frequently asked questions

How can I configure the HC-06 module?
Use the AT function of the module to set its preferences.

What is the maximum communication range?
The range varies depending on the environment, but generally it is between 10 and 50 meters.

Reviews

There are no reviews yet.

Be the first to review “Bluetooth Master Module HC-06”

Your email address will not be published. Required fields are marked *