Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

smart home

Supervisedby : Prof . Dr. : Mustafa Afifi

By Students:

1- Abdelrahman Hisham Abdelhamed

2- Mina Nabil Halim

3- Mohammed Ibrahem Abdulhalem

ACKNOWLEDGEMENT

First

we grateful to my supervisor Prof. Dr. MUSTAFA AFIFI for his endless patience and helpful suggestions.

And special thanks to: Prof. Dr. MUSTAFA AFIFI without his talent and assistance, this project would not have been possible.

Discussion Committee

Discussion Committee

Our professors and supporters, thanks for attending our project discussion, looking forward to attaining your aspirations and the required success , guided with your helpful and valuable directives

Introduction

Intro

Mina Nabil Halim

Why Smart Home ?

Safety & Peace Of Mind

Safety & Peace Of Mind

Security & Access Control

Energy Efficiency & Environmental Impact

Comfort & Well-Being

Convenience & Efficiency

Simple, Intuitive & Personalised

Entertainment, Gaming & Fun

smart home

smart home

SMARTech Systems

SMARTech Systems

Project Objective

Project Objective

The aim of this project is controlling and running all the electronic devices at home not wired but by using Specific application on Mobile.

The idea of the project is based on three types of Electronic circuits (Control.c, Tx.c, Rx.c)

Block diagram of the system

Block diagram of the system

Hardware

Hardware

Abdelrahman Hisham Abdelhamed

Arduino

Arduino

Arduino is open-source hardware. The hardware reference designs are distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino website.

Types of Arduino Boards

There are many types of Arduino boards available in the market but all the boards have one thing in common: they can be programmed using the Arduino IDE.

Arduino boards are available in different sizes, form factors, different no. of I/O pins etc.

There are add-on modules called Arduino Shields which can be used to extend the functionalities of the Arduino boards.

Arduino uno

Some of the commonly known and frequently used Arduino boards are Arduino UNO

Applications

•Xoscillo, an open-source oscilloscope

•Arduinome, a MIDI controller device that mimics the Monome

•OBDuino, a trip computer that uses the on-board diagnostics interface found in most modern cars

•Ardupilot, drone software and hardware

•Gameduino, an Arduino shield to create retro 2D video games

•ArduinoPhone, a do-it-yourself cellphone

•Water quality testing platform

•Automatic titration system based on Arduino and stepper motor

•Low cost data glove for virtual reality applications

•Impedance sensor system to detect bovine milk adulteration

•Homemade CNC using Arduino and DC motors with close loop control by Homofaciens

•DC motor control using Arduino and H-Bridge[59]

•C-STEM Studio, a platform for hands-on integrated learning of computing, science, technology, engineering, and mathematics (C-STEM) with robotics.

Bluetooth

Bluetooth

The Bluetooth standards are published by an industry consortium known as the Bluetooth SIG (special interest group).

The concept behind Bluetooth is to provide a universal short-range wireless capability.

Bluetooth can provide consumers:

•Make calls from a wireless headset connected remotely to a cell phone.

•Eliminate cables linking computers to printers, keyboards, and the mouse.

•Hook up MP3 players wirelessly to other machines to download music.

•Set up home networks so that a couch potato can remotely monitor air conditioning, the oven, and children's Internet surfing.

•Call home from a remote location to turn appliances on and off, set the alarm, and monitor activity.

Bluetooth Applications

•Data and voice access points.

•Cable replacement.

•Ad hoc networking.

The Bluetooth.mod that we use:

HC-05 module

HC-05 module

is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed for transparent wireless serial connection setup. The HC-05 Bluetooth Module can be used in a Master or Slave configuration, making it a great solution for wireless communication.

This serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband.

Hardware Features

•Typical -80dBm sensitivity.

•Up to +4dBm RF transmits power.

•3.3 to 5 V I/O.

•PIO (Programmable Input/Output) control.

•UART interface with programmable baud rate.

•With integrated antenna.

•With edge connector.

How to connect HC05 Bluetooth module with Arduino Uno?

Hardware and Software Required

HC-05 Bluetooth Module

Arduino Uno

Arduino IDE (1.0.6V)

Hardware Connections

As we know that VCC and GND of the module goes to VCC and GND of Arduino. The TXD pin goes to RXD pin of Arduino and RXD pin goes to TXD pin of Arduino i.e. (digital pin 0 and 1).The user can use the on board Led. But here, Led is connected to digital pin 12 externally for betterment of the process.

Hardware Connections

Hardware Connections

As we know that VCC and GND of the module goes to VCC and GND of Arduino. The TXD pin goes to RXD pin of Arduino and RXD pin goes to TXD pin of Arduino i.e. (digital pin 0 and 1).

The user can use the on board Led. But here, Led is connected to digital pin 12 externally for betterment of the process.

Connecting circuits:

Connecting circuits:

System flow chart:

System flow chart:

Software

SoftwarE

Mohammed Ibrahem Abduhalem

Microcontroller

Microcontroller

A microcontroller is a self-contained system with peripherals, memory and a processor that can be used as an embedded system

Input and output devices include solenoids, LCD displays, relays, switches and sensors for data like humidity, temperature or light level, amongst others

Aurdino uno

Aurdino uno

Arduino UNO is a basic and inexpensive Arduino board and is the most popular of all the Arduino boards with a market share of over 50%.

UNO is based on ATmega328P microcontroller, which is an 8-bit microcontroller based on the AVR architecture and 14 digital inputs – output (I/O) pins.

Program code that we use:

#include <SoftwareSerial.h>

SoftwareSerial BT(10, 11); //TX, RX respectively

String device;

void setup() {

BT.begin(9600);

Serial.begin(9600);

pinMode(3, OUTPUT);

pinMode(4, OUTPUT);

pinMode(5, OUTPUT);

pinMode(6, OUTPUT);

pinMode(7, OUTPUT);

pinMode(8, OUTPUT);

pinMode(9, OUTPUT);

pinMode(12, OUTPUT);

pinMode(13, OUTPUT);

}

//-----------------------------------------------------------------------//

void loop() {

while (BT.available()){ //Check if there is an available byte to read

delay(10); //Delay added to make thing stable

char c = BT.read(); //Conduct a serial read

device += c; //build the string.

}

if (device.length() > 0) {

Serial.println(device);

if(device == "1")

{

digitalWrite(3, HIGH);

}

else if(device == "2")

{

digitalWrite(3, LOW);

}

else if (device == "3")

{

digitalWrite (4,HIGH);

}

else if ( device == "4")

{

digitalWrite (4, LOW);

}

else if (device == "5")

{

digitalWrite (5, HIGH);

}

else if (device == "6")

{

digitalWrite (5, LOW);

}

else if (device == "7")

{

digitalWrite (6, HIGH);

}

else if (device == "8")

{

digitalWrite (6, LOW);

}

else if (device == "9")

{

digitalWrite (7, HIGH);

}

else if (device == "10")

{

digitalWrite (7, LOW);

}

else if (device == "11")

{

digitalWrite (8, HIGH);

}

else if (device == "12")

{

digitalWrite (8, LOW);

}

else if (device == "13")

{

digitalWrite (9, HIGH);

}

else if (device == "14")

{

digitalWrite (9, LOW);

}

else if (device == "15")

{

digitalWrite (12, HIGH);

}

else if (device == "17")

{

digitalWrite (12, LOW);

}

else if (device == "16")

{

digitalWrite (13, HIGH);

}

else if (device == "18")

{

digitalWrite (13, LOW);

}

device="";}} //Reset the variable

Bluetooth

Bluetooth

Bluetooth is an always-on, short-range radio hookup that resides on a microchip.

The Bluetooth.mod that we use:

HC-05 module:

The program code in Arduino:

#include <SoftwareSerial.h>

SoftwareSerial mySerial(0, 1);

int ledpin=12;

int Data;

void setup()

{

mySerial.begin(9600);

pinMode(ledpin,OUTPUT);

}

void loop()

{

if (mySerial.available())

{

Data=mySerial.read();

if(Data=='1')

{

digitalWrite(ledpin,HIGH);

mySerial.println("LED On! ");

}

else if (Data=='0')

{

digitalWrite(ledpin,LOW);

mySerial.println("LED Off! ");

}

}

}

Android

Android

Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile-devices-such as smartphones and tablets.

Platform usage

Nougat (7.1%)

Marshmallow (31.2%)

Lollipop (32.0%)

KitKat (18.8%)

Jelly Bean (9.1%)

Ice Cream Sandwich (0.8%)

Gingerbread (1.0%)

Applications

Applications ("apps"), which extend the functionality of devices, are written using the Android software development kit (SDK) and, often, the Java programming language. Java may be combined with C/C++, together with a choice of non-default runtimes that allow better C++ support.

App that we use:

We use Specific application that connects us to the Bluetooth.

This Application is controlling in the electronic devices to running ON or OFF

THE APP:

Learn more about creating dynamic, engaging presentations with Prezi