Smart Home Using Hardware Interfacing
Author
Anand Kacha
Last Updated
10 years ago
License
Creative Commons CC BY 4.0
Abstract
Approach Documents and Brief Documentation about the project
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\title{Smart Home Using Hardware Interfacing}
\author{12BCE034}
\date{\today}
\begin{document}
\maketitle
\section{Introduction}
\includegraphics[width=\textwidth]{main.jpg}
Home automation is the residential extension of building automation. It is automation of the home, housework or household activity. Home automation may include centralized control of lighting, HVAC (heating, ventilation and air conditioning), appliances, security locks of gates and doors and other systems, to provide improved convenience, comfort, energy efficiency and security.
The popularity of home automation has been increasing greatly in recent years due to much higher affordability and simplicity through smartphone and tablet connectivity. The concept of the "Internet of Things" has tied in closely with the popularization of home automation.
A home automation system integrates electrical devices in a house with each other. The techniques employed in home automation include those in building automation as well as the control of domestic activities, such as home entertainment systems, houseplant and yard watering, pet feeding, changing the ambiance "scenes" for different events (such as dinners or parties), and the use of domestic robots.
\section{Interfaces}
\subsection{front-end}
\begin{enumerate}
\item Mobile App
\item Tablet App
\item Browser Based App
\item App for Wearable
\end{enumerate}
\subsection{back-end}
\begin{enumerate}
\item Lighting
\item Locks, Doors, Windows
\item Curtains, Blinds
\item Surveillance
\item Multimedia and Audio Control
\end{enumerate}
\subsection{Technical Approach}
Programs sequence:
\begin{enumerate}
\item Switching on an LED using raspberry Pi
\item Switching on a light bulb using Raspberry Pi and relay
\item Making a LED blink using Arduino
\item Making a push button debounce to control LED using Arduino
\item Reading status of remote Xbee, to check whether door is open or closed, using Arduino
\item Sending signal to remote Xbee, to make an LED blink at every 5 seconds
\item Turn on/off a light bulb using arduino and relay
\item Make a push button debounce to control light bulb using arduino
\item Remotely control a light bulb/LED using Xbee: Push button on coordinator end and LED on the remote end.
\item Serial communication using Pi
\item Reading and writing LED status into file and accessing it using GUI.
\end{enumerate}
To Cover Next:
\begin{enumerate}
\item Designing a DB schema
\item Deciding a general approach for the service, processes and threads
\item Making a fully functional light switch
\end{enumerate}
\section{Stages}
\subsection{Toggle Light Bulb Using R-Pi}
\subsection{Bulb Operating using Push Button with Arduino and Raspberry Pi}
\begin{enumerate}
\item Toggle Bulb/Led using Arduino (Microcontroller)
\item Interfacing between Arduino (MCU) and R-Pi (GPU)
\item Toggle Bulb/Led using push button with R-Pi
\end{enumerate}
\subsection{Bulb operating wirelessly using ZigBee, Ardunio and Raspberry pi}
\begin{enumerate}
\item Interfacing between ZigBee and Arduino (MCU)
\item Remote LED operating using ZigBee and Arduino
\item Remote Bulb operating using Relay, ZigBee and Arduino
\item Remote Bulb operating wirelessly using Arduino and Raspberry pi
\end{enumerate}
\subsection{Combining Wireless and Pushbutton and Circuit Design for Wireless relay switch}
\subsection{ZigBee Range Testing and Mesh Topology experiment}
\subsection{DIY Voltage Regulated Adapter for 3.3, 5, 12 V}
\section{Equipments Used}
\subsection{Cables}
Jumper Cables: Male to Male, Male to Female, and Female to Female
\subsection{Adapters}
\begin{description}
\item[xBee Adapters] - Two 10 pin 2.0mm pitch female header to solder, One 20 pin 2.54mm pitch SIP male header (break it to two 10 pin header) to solder, 4 status indicator LEDs for Power, RSSI, Associate and mode (sleep/ON), Power requirements: 5.0V from USB or VDD pin, 3.3V generated on-board (3.3V regulator).
\item[Transformers] 0-12V and 500mA
\item[Voltage Regulator IC] 3.3V, 5V, 12V
\end{description}
Fuse and Socket, Soldering Iron and Wire, Round pin adapter converter
\subsection{Processing and Controlling Units}
\begin{description}
\item [Raspberry Pi] 700 MHz Microprocessor and it's I/O interfaces/pins
\item [Arduino] Microcontroller and it's i/o pins
\item [IC] ATmega328p - Microcontroller IC
\item [Boolean Gates] Logic Gates: And, Or, Not, Nand, Nor, Xor, etc.
\end{description}
Microcontroller base for breadboard
\subsection{Boards}
\begin{itemize}
\item 4 Channel 12v Active High Relay
\item 8 Channel 5v Active Low Relay
\item xBee Breakout Board
\end{itemize}
\subsection{General Electronics to build Arduino DIY}
\begin{itemize}
\item 2 - 220 Ohm resistors
\item 1 - 10k Ohm resistor
\item 2 - 10 uF capacitors
\item 16 MHz clock crystal
\item 2 - 2 22 pF capacitors
\item Tactile Switches
\end{itemize}
\section{Tools}
\begin{description}
\item [Arduino IDE] http://arduino.cc/en/Main/Software
\item [Fritzing] fritzing.org
\item [Processing] http://processing.org/
\end{description}
\end{document}