Introduction: How to Connect HC-05 With Arduino | Arduino Home Automation With HC-05 | Voice and Manual On/Off Control | Dual Mode

Click Here for more Special Informations

Arduino Home Automation Demo with Android Control, Voice and Manual On/Off Control (Dual control Mode),

Requirement:

  1. Arduino Uno
  2. HC-05 Bluetooth module
  3. Breadboard (multi-functional board)
  4. jumper wires
  5. Android Device

Application use:

  1. Blueuino

Note: Before make this project, please watch this video for your overview and if you like this video so please subscribe my youtube channel.

Step 1: Step 1: Connection

Connect you Arduino with HC-05 as shown in pic and try to check ATmode with Arduino IDE terminal.

Note: Check it both side baudrate should be same.

Step 2: Step 2: Connect Your HC-05 With Android Device

You can download this app from play store,

https://play.google.com/store/apps/details?id=g.pa...

Step 3: Step 3: Now Check It, Your Led Will Blink on Android App Switching Mode

Note: when you android device is established connection with your HC-05 then HC-05 led will blink slowly. if its not connect with your android app then it will blink fast as normal mode.

Step 4: Step 4: Try to Use Voice Command

Note: you have to configure voice command in android app.

Step 5: Step 5: Arduino Code

char data = 0; //Variable for storing received data

void setup() {

Serial.begin(9600); //Sets the baud for serial data transmission

pinMode(13, OUTPUT); //Sets digital pin 13 as output pin

} void loop() {

if(Serial.available() > 0) // Send data only when you receive data:

{ data = Serial.read(); //Read the incoming data & store into data

Serial.print(data); //Print Value inside data in Serial monitor

Serial.print("\n");

if(data == '1') // Checks whether value of data is equal to 1

digitalWrite(13, HIGH); //If value is 1 then LED turns ON

else if(data == '0') // Checks whether value of data is equal to 0

digitalWrite(13, LOW); //If value is 0 then LED turns OFF } }

Comments

About This Instructable

79views

1favorite

License:

Bio: Advanced and latest technology tutorials on my youtube channel and now i started instructable so i will post one by one latest tutorial.
More by Tatsu Technologies:Control Led by Pushbutton | Raspberry Pi 3 | Tutorial - 2Raspberry Pi Tutorial of LED BlinkingIntroduction to Voltage, Current, Resistance and Power Explained for Beginner
Add instructable to: