Nairobi
admin@elffie.com
No image

Generic · HC-06

HC-06 Bluetooth Module

KSh 800In stock

Specification

Part number
HC-06
Manufacturer
Generic
Stock code
COM-HC06
Category
Communication
Supply voltage
5 V
Connection
Serial
Protocol
Bluetooth
Protocol
UART
Availability
25 in stock

Details

Classic Bluetooth serial. Pair it with a phone and anything you print to the serial port arrives in a terminal app — the quickest way to add a remote control or a data readout to a project without touching Wi-Fi.

The HC-06 is slave-only: a phone or PC can connect to it, but it cannot initiate a connection to another device. If you need two modules talking to each other, you want an HC-05 for at least one end. Also note it is Bluetooth Classic, not BLE, so it will not pair with iPhones — Android and Windows only.

Ask about this part

Answers come from this listing and the assistant can still be wrong — the manufacturer's datasheet is what governs. For anything you are going to wire up, check it there or ask us.

Using this part

Starting points, not finished firmware. Check them against the datasheet.

Echo between the module and the serial monitor

cpp
// VCC -> 5V, GND -> GND
// Module TXD -> D10 (Arduino RX)
// Module RXD -> D11 (Arduino TX) THROUGH A DIVIDER — the RXD pin
// is 3.3V logic and 5V straight into it will damage it over time.
#include <SoftwareSerial.h>

SoftwareSerial bt(10, 11);   // RX, TX

void setup() {
  Serial.begin(9600);
  bt.begin(9600);            // default baud on most HC-06 modules
  Serial.println("ready — pair, then type");
}

void loop() {
  if (bt.available())     Serial.write(bt.read());
  if (Serial.available()) bt.write(Serial.read());
}