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

by Technoesolution2020 in Circuits > Arduino

3616 Views, 62 Favorites, 0 Comments

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

1.jpg

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 :-

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

CIRCUIT DIAGRAM

Circuit Diagram.JPG
Capture1.JPG
Screenshot_20201226-212826.jpg

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

LET'S MAKE PCB

Screenshot_20201226-201148__01.jpg
Screenshot_20201226-201245__01.jpg
Screenshot_20201226-201433__01.jpg
Screenshot_20201226-201450__01.jpg
Screenshot_20201226-212233.jpg
IMG_20201217_192903_372__02.jpg
Screenshot_20201226-212500.jpg
IMG_20201217_191019__01.jpg
IMG_20201217_134503.jpg
Screenshot_20201226-212413.jpg

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

BLYNK APP INSTALLATION & SETUP

Screenshot_20201226-215322.jpg
Screenshot_20201226-215335.jpg
Screenshot_20201226-215341.jpg
Screenshot_20201226-215352.jpg
Screenshot_20201226-215441.jpg
Screenshot_20201226-215450.jpg
Screenshot_20201226-215510.jpg
Screenshot_20201226-215524.jpg
Screenshot_20201226-215604.jpg

  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

ARDUINO PROGRAMMING

Arduino Code.JPG
  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();
}

FINAL CONNECTION

Circuit.jpg
Socket.jpg
Screenshot_20210101-181107__01.jpg
Screenshot_20210101-181116__01.jpg
Screenshot_20210101-181128__01.jpg
Screenshot_20210101-181213__01.jpg
IMG_20201219_123458.jpg
IMG_20201219_130539.jpg

  1. Connect Two-way switches to PVB switch board.
  2. Now connect switches to relay module as per above circuit diagram.
  3. Also connect socket to relay module as per above circuit diagram.
  4. Connect load to the central pin of switch as shown in circuit diagram.
  5. Now adjust LM2596 to 5V and Connect to the PCB.
  6. Fix all parts in board.
  7. Give Power Supply.
  8. Now your project is done.

DEMONTRATION

  1. Open Blynk app.
  2. Turn On Bluetooth.
  3. Click on Bluetooth button & select hc-05
  4. Now Smartphone get Connected to the Home Automation System.
  5. Now you can control 8 Load by using your Smartphone.

NextDFM Software From NextPCB

1 image.jpg
2 Image.png
3 Image.png
5 Image.jpg

A PCB Design Problems Detector, An Engineering Solution Provider Import the Gerber file with one click. No need for complicated file reading steps to review easily and improve efficiency.

Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints

Features

Make PCB design more standard Prevent the quality flaw Impedance calculation function and lamination automation Automatically generate the best puzzle CAM350 free alternative version Check Gerber files anytime, anywhere and parse it with one click Instate Quote and evaluate delivery time Reduce cost and improve benefit these are advantage comparing to Eagle and Altium