hc-06 bluetooth module
In Stock
Price: KSH 500.00

HC-06 Bluetooth Module

The HC-06 Bluetooth module is a widely used serial Bluetooth transceiver. It enables wireless communication between a microcontroller and other Bluetooth-enabled devices like smartphones, tablets, and computers. It is often used in remote control projects, wireless data transmission, and many IoT applications.

Applications:

  • Wireless communication for microcontrollers
  • Remote control applications
  • Bluetooth serial data transmission
  • IoT projects
  • Wireless robotics

Key Features:

  • Serial communication via Bluetooth
  • Compatible with Arduino and other microcontrollers
  • Low power consumption
  • Range: Up to 10 meters
  • Simple AT command configuration
  • Supports Bluetooth 2.0 + EDR (Enhanced Data Rate)

Pinout Description:

  • VCC: Power supply (3.3V or 5V depending on the model)
  • GND: Ground pin
  • TX: Transmit serial data (connect to the RX pin of the microcontroller)
  • RX: Receive serial data (connect to the TX pin of the microcontroller)
  • State: Shows the Bluetooth status (ON/OFF)

Sample Working Code for Arduino:

// HC-06 Bluetooth Communication Example

#include 

SoftwareSerial BTSerial(10, 11); // RX, TX (Adjust according to your wiring)

void setup() {
  Serial.begin(9600);        // Start serial communication
  BTSerial.begin(9600);      // Start Bluetooth serial communication
  Serial.println("Bluetooth Initialized");
}

void loop() {
  if (BTSerial.available()) {
    char receivedChar = BTSerial.read();  // Read incoming data
    Serial.print("Received: ");
    Serial.println(receivedChar);         // Print received data to Serial Monitor
  }

  if (Serial.available()) {
    char sendChar = Serial.read();       // Read from Serial Monitor
    BTSerial.write(sendChar);            // Send data via Bluetooth
  }
}
        

🔥RELATED PRODUCTS🔥

🔗 HIMASTORES PRODUCTS