Home > Projects > Bluetooth Projects > Home Automation System Using Smartphone and Bluetooth Part 2 With Manual Control

Home Automation System Using Smartphone and Bluetooth Part 2 With Manual Control

Summary of Home Automation System Using Smartphone and Bluetooth Part 2 With Manual Control


This tutorial details a dual-control home automation system using an Arduino Nano, Bluetooth HC-05 module, and an 8-channel relay. The project enables users to operate appliances via the Blynk smartphone app or through manual switches. It covers material requirements, PCB fabrication using toner transfer, circuit design, Blynk app configuration, and Arduino programming for seamless integration of both control methods.

Parts used in the Home Automation System with Manual Control:

  • Arduino Nano
  • Bluetooth Module (hc-05)
  • 8-Channel Relay Module
  • LM 2596 DC-DC Buck Convertor
  • Red LED (5mm)
  • Resistor (470E)
  • Male - Female Berge Strip
  • 2-Pin Block Connector
  • Female-Female Berge Connector Wire
  • Single Layer Copper Clad PCB Board
  • Power Supply (12V, 1amp)
  • PVC Switch Board
  • Two way Switch x 8
  • 5-Pin socket x 2
Home Automation System Using Smartphone and Bluetooth Part 2 With Manual Control

Hello friends welcome back to “Techno-E-solution”, In previous video we see how we can control the home appliances with the help of Smartphone & Bluetooth but there is no any manual control for the system, so In this tutorial we are going to make a Smartphone control as well as manual controlled home automation system with Complete details.

If you like my project visit my youtube channel for my latest project also follow me on

Youtube :- Click Here

Facebook :- Click Here

Instagram :- Click Here

Instructables :- Click Here

Dailymotion :- Click Here

Let’s get started……………

Part one Of this project :-

https://youtu.be/2skF0VWt50M

Step 1: MATERIAL REQUIRED

The following material are used in the project

Electronic Components :-

  1. Arduino Nano
  2. Bluetooth Module (hc-05)
  3. 8-Channel Relay Module
  4. LM 2596 DC-DC Buck Convertor
  5. Red LED (5mm)
  6. Resistor (470E)
  7. Male – Female Berge Strip
  8. 2-Pin Block Connector
  9. Female-Female Berge Connector Wire
  10. Single Layer Copper Clad PCB Board
  11. Power Supply (12V, 1amp)

Hardware / Other Material :-

  1. PVC Switch Board
  2. Two way Switch x 8
  3. 5-Pin socket x 2
  4. PCB Drill Machine
  5. Mini Hack Saw
  6. Ferric Chloride
  7. Container
  8. Iron
  9. Photo Paper
  10. Laser Printer (Tonner Filled)
  11. Screw Driver
  12. Soldering Kit

Step 2: CIRCUIT DIAGRAM

Schematic of the Home automation system using smartphone circuit with PCB

For making Circuit & PCB I used Easy EDA Software, I Provide the PCB layout just print and use tonner transfer method to make PCB.

Step 3: LET’S MAKE PCB

LETS MAKE PCB

Follow the following process for Making PCB Using Tonner Transfer Technic.

If you want to real PCB, I provide Gerber file below check it.

  1. Take a Single Sided Copper Clad PCB Board
  2. Cut the PCB as per PCB Layout
  3. Remove the dirt & rust from the PCB by using wire scrub or sand paper
  4. Place layout print on PCB & Heat the PCB with the help of Iron for 5-10 Min
  5. Take water in the container & deep the PCB into the water for 5 min
  6. Slowly remove the paper from the PCB
  7. Now take 2-3 spoon of ferrite chloride powder in container with water
  8. Deep PCB into the solution for 5-10 min for etching process
  9. After etching completed clean the excessive tonner from the PCB
  10. Drill The PCB with the help of PCB drill machine
  11. Now place app components on PCB & Solder It
  12. In this way the PCB board is completed.

Next PCB

NextPCB is a high-quality PCB Manufacturer. With professional PCB manufacturing capabilities, our PCB engineers with more than 10 years of experience will double-check your engineering files.

NextPCB is certified by IATF16949, ISO9001, ISO14001, UL, CQC, RoHS and REACH; more importantly, we handle the whole process including the PCB prototype, PCB manufacturing, PCB assembly, testing, and final shipment. We are capable of assembling BGA, Micro-BGA, QFN, and other leadless package parts. We also have an online parts shop, you can choose any parts you need.

If you are want to make PCB go through the NEXT PCB

Download PCB Gerber File:- Click To Download

Step 4: BLYNK APP INSTALLATION & SETUP

BLYNK APP INSTALLATION SETUP
  1. Install Blynk App from google play store.
  2. Create Account On Blynk.
  3. Create New Project.
  4. You will get Tocken on your E-Mail.
  5. Give Name to Project.
  6. Select Device & Connection Type & click on Create Button.
  7. Select Bluetooth, then add 8 buttons.
  8. Give name to Buttons.
  9. Set the Pins.
  10. The app setup is completed

Step 5: ARDUINO PROGRAMMING

ARDUINO PROGRAMMING
  1. Add Blynk library in your Arduino IDE
  2. Sketch-Include Library-Manage libraries-Type Blynk-
  3. Copy Following code & Upload to Arduino Nano (Remove Bluetooth Module)
/*
 * Hello Friends Welcome To Techno-E-Solution
 * Here is the Arduino Code for Home Automation by Techno-E-Solution
 */

#define BLYNK_USE_DIRECT_CONNECT

// You could use a spare Hardware Serial on boards that have it (like Mega)
#include <SoftwareSerial.h>
SoftwareSerial DebugSerial(0,1); // RX, TX

#define BLYNK_PRINT DebugSerial
#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "AuthToken";

void setup()
{
  // Debug console
  DebugSerial.begin(9600);
  
  pinMode (12, OUTPUT);
  pinMode (11, OUTPUT);
  pinMode (10, OUTPUT);
  pinMode (9, OUTPUT);
  pinMode (8, OUTPUT);
  pinMode (7, OUTPUT);
  pinMode (6, OUTPUT);
  pinMode (5, OUTPUT);

  pinMode (12, LOW); // Set All Pins Low Because At The Starting All Relays get ON, Results In All load 
  pinMode (11, LOW); // Connected Across Relay Module Get Turn On 
  pinMode (10, LOW);
  pinMode (9, LOW);
  pinMode (8, LOW);
  pinMode (7, LOW);
  pinMode (6, LOW);
  pinMode (5, LOW);
  
  DebugSerial.println("Waiting for connections...");

  // Blynk will work through Serial
  // 9600 is for HC-06. For HC-05 default speed is 38400
  // Do not read or write this serial manually in your sketch
  Serial.begin(9600);
  Blynk.begin(Serial, auth);
}

void loop()
{
  Blynk.run();
}

Source: Home Automation System Using Smartphone and Bluetooth Part 2 With Manual Control

Quick Solutions to Questions related to Home Automation System with Manual Control:

  • How do I create a new project in the Blynk App?
    Create an account on Blynk, select New Project, enter your email to receive a token, name the project, and choose Bluetooth as the connection type.
  • What is the default baud rate for the HC-05 Bluetooth module?
    The default speed for the HC-05 is 38400, while the HC-06 uses 9600.
  • How can I make a custom PCB using the toner transfer method?
    Print the layout, heat it onto the copper board with an iron, soak it in water, remove the paper, etch with ferric chloride solution, drill holes, and solder components.
  • Why are all relay pins set to LOW in the initial setup code?
    Setting pins to LOW ensures all relays turn off initially because connected loads get turned on when the pin is low at the start.
  • Which software was used to design the circuit and PCB layout?
    Easy EDA Software was used to create the circuit diagram and provide the PCB layout.
  • What library must be added to the Arduino IDE for this project?
    You must add the Blynk library by navigating to Sketch, Include Library, Manage Libraries, typing Blynk, and selecting it.
  • Can I use pre-made PCBs instead of making one manually?
    Yes, you can download the provided Gerber file from NextPCB to order professional PCB manufacturing services.
  • How many buttons are required in the Blynk app interface?
    The setup requires adding 8 buttons to control the respective channels.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top