Rucksikaa Raajkumar
Published © GPL3+

Interfacing the HC-06 Bluetooth module with Arduino

A simple and informative tutorial about interfacing the HC-06 Bluetooth module with Arduino

IntermediateFull instructions provided1 hour63,407
Interfacing the HC-06 Bluetooth module with Arduino

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1
HC-06 Bluetooth Module
×1
Resistor 1k ohm
Resistor 1k ohm
×2
Male/Male Jumper Wires
×6

Software apps and online services

Arduino IDE
Arduino IDE
Bluetooth Terminal App - Qwerty

Story

Read more

Schematics

Schematic

Code

Code

Arduino
Credits to : http://www.martyncurrey.com/arduino-and-hc-06-zs-040/
#include <SoftwareSerial.h>
SoftwareSerial BTSerial (2,3);
void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  Serial.println("Enter AT Commands");
  BTSerial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  if(BTSerial.available()){
    Serial.write(BTSerial.read());
  }
  if(Serial.available()){
    BTSerial.write(Serial.read());
  }
}

Credits

Rucksikaa Raajkumar

Rucksikaa Raajkumar

41 projects • 91 followers
Amateur Arduino Developer. Undergraduate. YouTuber (https://www.youtube.com/c/RucksikaaRaajkumar/videos) and Blogger (Arduino Projects by R)

Comments