Beruflich Dokumente
Kultur Dokumente
The Project
The Internet of Things (IoT) can be described as connecting everyday objects like smart-phones,
Internet TVs, sensors and actuators to the Internet where the devices are intelligently linked together
enabling new forms of communication between things and people, and between things themselves.
Building IoT has advanced significantly in the last couple of years since it has added a new dimension to
the world of information and communication technologies.
Smart home is not a new term for science society, it is been used from decades. As electronic
technologies are advancing, the field of home automation is expanding vastly. There were various smart
systems have been proposed where the control is via Bluetooth, internet etc. Bluetooth capabilities are
good and most of current laptop/desktops, tablets, notebooks and cell phones have built-in adaptor that will
indirectly reduce the cost of the system. But it limits the control to within the Bluetooth range of the
environment while most other systems are not so feasible to be implemented as low cost solution. In Wi-Fi
based home automation system is presented. It uses a PC (with built in Wi-Fi card) based web server that
manages the connected home devices. The system supports a wide range of home automation devices like
fans, lights, other home appliances. A similar architecture is proposed in where the actions are coordinated
by the home agent running on a PC. Other papers such as also presented internet controlled systems
consisting of a web server, database and a web page of websites for interconnecting and handling the
devices.
The project is to design a low cost home automation design. The project presents a low cost and
flexible home control and monitoring system using an embedded microprocessor and microcontroller, with
IP connectivity for accessing and controlling devices and appliances remotely using Smart phone
application. The proposed system does not require a dedicated server PC with respect to similar systems
and offers a novel communication protocol to monitor and control the home environment with more than
just the switching functionality. To demonstrate the feasibility and effectiveness of this system, devices
such as light switches, power plug, temperature sensor and current sensor can be integrated with the home
control system
The Project Objectives
This project will focus on Smartphones enabled systems for the smart home with focus on the
Raspberry Pi applications. Although many systems have been researched and proposed, very few if any
have been implemented. This project aims to build on the previous research described to implement a
wireless sensor network to monitor appliances in the house. These appliances will be controlled via a
smartphone running Android OS. This approach provides an easy to operate and cost effective ap proach
that will benefit users to interact with Home appliances remotely.
The focus also of this project is to help users to operate home appliances with their own
smartphones and to help elderly or handicapped people live a more independent life as long as possible.
The objective of our system is to take care of several domestic systems that may normally be difficult for
those who are handicap or elderly to take care of. The proposed idea will allow a user with any android
enabled device to run a piece of downloadable software on any mobile device such as a smartphones. This
application will allow the user to control a device that is connected to any home appliance that is Pi enabled
or Arduino. The focus of this application will be to direct a security sy stem with webcam surveillance, door
sensor notification and a light control system. Sensors will be connected to the home appliances with Pi so
that they can be monitored and controlled.
Also for us engineering students , the focus of this project is to know the basic and analytical
thinking skills in designing and choosing the best type of design that is required in the system , and to
improved our mindset on how to solved engineering problem with engineering style of solutions and
integrations through design options and research.
The Client
Our Client our people that wants to integrate their houses automated, also the PWDs or Persons
with disabilities. To operate home appliances with their own smartphones and to help elderly or
handicapped people live a more independent life as long as possible. The objective of our system is to take
care of several domestic systems that may normally be dificult for those who are handicap or elderly to take
care of. The proposed idea will allow a user with any android enabled device to run a piece of
downloadable software on any mobile device such as a smartphones.
The Client could also check the status of the outside light and turn on and off the light without the
need to get out of bed. These devices would also benefit users with limited mobility that may have a difficult
time getting to or even reaching their light switch. These objectives require a large amount of technology.
The user interface must be as simple and powerful as possible and operate in a self-organized way.
Project Scope and Limitations
This project presents the overall design of Home Automation System (HAS) with low cost and
wireless system. This system is to design and assists PWDs and elderly at home .The main system and
design of this project will be based on the comparison and tradeoffs of the different design, the most points
and with low cost and high efficiency design will be the final design. This paper also have the standards
and tradeoffs of different materials used, this will be on the desig n inputs in this paper. The main control
system implements wireless technology to provide remote access from smart phone. The design remains
the existing electrical switches and provides more safety control on the switches with low voltage activating
method. The switches status is synchronized in all the control system whereby every user interface
indicates the real time existing switches status. The system intended to control electrical appliances and
devices in house with relatively low cost design, user-friendly interface and ease of installation.
Meanwhile theories and design will be presented in this paper, but full implementation of the design
will be simulated only, future works and scope will be cited at the end of this paper.
CHAPTER 2: DESIGN INPUTS
2.1The Micro-controller
2.1.1 Arduino Uno
"Uno" means one in Italian and was chosen to mark the release of Arduino
Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were the
reference versions of Arduino, now evolved to newer releases. The Uno board is the first in
a series of USB Arduino boards, and the reference model for the Arduino platform; for an
extensive list of current, past or outdated boards see the Arduino index of boards.
2.1.2 Raspberry pi 3
The Raspberry Pi 3 is the third generation Raspberry Pi. It replaced the Raspberry Pi 2
Model B in February 2016. Compared to the Raspberry Pi 2 it has:
A 1.2GHz 64-bit quad-core ARMv8 CPU
802.11n Wireless LAN
Bluetooth 4.1
Bluetooth Low Energy (BLE)
Like the Pi 2, it also has:
1GB RAM
4 USB ports
40 GPIO pins
Full HDMI port
Ethernet port
Combined 3.5mm audio jack and composite video
Camera interface (CSI)
Display interface (DSI)
Micro SD card slot (now push-pull rather than push-push)
VideoCore IV 3D graphics core
The Raspberry Pi 3 has an identical form factor to the previous Pi 2 (and Pi 1 Model
B+) and has complete compatibility with Raspberry Pi 1 and 2.
We recommend the Raspberry Pi 3 Model B for use in schools, or for any general use.
Those wishing to embed their Pi in a project may prefer the Pi Zero or Model A+, which are
more useful for embedded projects, and projects which require very low power.
2.2 Software
2.2.1 Python programming language
2.3 Medium
2.3.1 The Internet ( IoT )
The Internet of things (stylized Internet of Things or IoT) is the inter-networking of
physical devices, vehicles (also referred to as "connected devices" and "smart devices"),
buildings, and other items—embedded with electronics, software, sensors, actuators,
andnetwork connectivity that enable these objects to collect and exchange data. In 2013
the Global Standards Initiative on Internet of Things (IoT-GSI) defined the IoT as "the
infrastructure of the information society. The IoT allows objects to be sensed or controlled
remotely across existing network infrastructure, [4] creating opportunities for more direct
integration of the physical world into computer-based systems, and resulting in improved
efficiency, accuracy and economic benefit in addition to reduced human
intervention. When IoT is augmented with sensors and actuators, the technolog y becomes
an instance of the more general class of cyber-physical systems, which also encompasses
technologies such as smart grids, smart homes, intelligent transportation andsmart cities.
Each thing is uniquely identifiable through its embedded computing system but is able to
interoperate within the existingInternet infrastructure. Experts estimate that the IoT will
consist of almost 50 billion objects by 2020.
2.3.2 ZigBee
ZigBee is an open global standard for wireless technology designed to use low-
power digital radio signals for personal area networks. ZigBee operates on the IEEE
802.15.4 specification and is used to create networks that require a low data transfer rate,
energy efficiency and secure networking. It is employed in a number of applications such
as building automation systems, heating and cooling control and in medical devices.
ZigBee is designed to be simpler and less expensive than other personal are network
technologies such as Bluetooth.
2.3.3 Bluetooth
The IEEE standardized Bluetooth as IEEE 802.15.1, but no longer maintains the
standard. The Bluetooth SIG oversees development of the specification, manages the
qualification program, and protects the trademarks. A manufacturer must
meetBluetooth SIG standards to market it as a Bluetooth device.
CHAPTER 3: PROJECT DESIGN
3.1GSM Based HAS(Home Automation System)
This system provides 3 means to control home appliances: the GSM network, the internet and
through speech or voice commands. The real time monitoring has been an important feature that can be
used in the home automation system. The user commands are transferred to a server which is usually
done by a PC. The server processes the user commands and sends them to the relevant units. This can
help control the appliances. GSM is used as a communication medium to help establish connection in
places where there may not be proper internet connectivity. The server uses AT commands to
communicate with the GSM modem.
The system makes use of a PIC16F887 microcontroller for home appliances control. It makes use
of GSM for control of the appliances. This is an SMS based system. GSM has been used due to its high
availability, coverage and security. The control of home appliances is done primarily through SMS codes.
A system based on GSM network via SMS is used to control the home appliances as shown in
figure 1. An Arduino board is the controller used to interface the appliances. It uses certain peri pheral
drivers and relays to achieve this interfacing. The smart phone is the user interface device. The system
uses the ‘App Inventor’ visual programming tool to develop the interface and other tools to deploy the app.
The app generates SMS messages based on the user commands and sends it to the GSM modem
attached to the Arduino. This allows the user to control the home appliances. The system suffers from the
same drawbacks of cost and reliability of SMS. Also the interface is preprogrammed and cannot be
customized based on devices.
3.2Bluetooth HAS
The system shown in figure 2 makes use of a cell phone and Bluetooth technology. Bluetooth
technology is secured and low cost. It makes use of an Arduino Bluetooth board. A n interactive python
program is used in the cell phone to provide the user interface. The I/O ports of the Bluetooth board and
relays are used for interfacing with the devices which are to be controlled. The Bluetooth is password
protected to ensure that the system is secure and not misused by any intruders. The Bluetooth has a range
of 10 to 100 meters, 2.4 GHz bandwidth and 3Mbps speed. The python app on the phone is portable. It is
also a fast and cost effective system. There is a diagnostic system that can detect problems in the circuitry.
A feedback system will report status of devices after every signal toggle. The main drawback with respect
to Bluetooth is that it takes a long time to discover and access devices in its vicinity. It does not provide
energy conservation tips. Real time access cannot be achieved. Anywhere access to the devices cannot be
achieved. Access is limited to within the Bluetooth range.
Bluetooth technology is used to control home appliances. The client is a PC that is connected via
USB to the Bluetooth module, sensor circuit and a pulse width modulation circuit. Sensors and actuators
are used to control the circuit. The Bluetooth module that is connected to it will allow it to receive various
commands via Bluetooth. Bluetooth devices can scan and detect other devices easily. It might also be
possible to check whether devices are working properly or not. The system also has an illumination sensor
that can turn on lights when external light is dull and a temperature sensor. This system also suffers from
the drawback of the range of Bluetooth being around 10 meters only. This system has the advantage of
being able to fit onto an existing system. There is also low cost involved in this system.
Some systems are described as an enabling system that can be used to provide a common framework for
home Automation. It provides a system for a smart home that includes facilities such as a system controller,
house-wide wiring and a common interface. This will enable using the existing system for home
automation.
A hardware based remote controller for power point control has been described the function of this remote
controller is to control the power supplied to devices at a remote location. The system uses the telephone
line for transmitting the commands. The controller is a logic system built entirely of hardware. It eliminates
the cost incurred with microcontrollers. It uses a DTMF transceiver which is interfaced with a solid state
relay to control the power supply. It could also be implemented experimentally with infra-red signals and AC
power line carrier technology.
The ZigBee wireless communication technology can be applied for home automation. The system
uses PIC microcontroller and voice recognition for this purpose. The voice commands are taken from a
mike. They are compared with a voice store and processed. The PIC microco ntroller then transmits the
commands through ZigBee to the receiver. The receiver unit has another PIC microcontroller that can
process the command. It uses relays to control the respective appliances. This system has the drawback
that ZigBee is a low range communication medium. So remote access is hindered from faraway locations.
Also, the voice recognition module could become unwieldy. This system has the added feature of
integrating a smoke detector to the system. When smoke is sensed, it sends a message to the user’s built-
in mobile number.
Doesn’t really matter, but keep in mind that you will have to connect it to your local network, so you will
need a Wi-Fi dongle if you are using the A model which doesn’t have an Ethernet port. In this paper, we
used a Raspberry Pi model B with the Wi-Fi dongle. The Raspberry Pi is a credit-card-sized single-board
computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching
of basic computer science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip
(SoC), which includes an ARM1176JZF-S 700 MHz, Video Core IV GPU, and was originally shipped with
256 megabytes of RAM, later upgraded to 512 MB. It does not include a built-in hard disk or solid-state
drive, but uses an SD card for booting and long-term storage.
We can observe this research paper that the appliances controlling through the web browser Integrated
with the ARM11 microcontroller. The Raspberry Pi is a credit-card-sized single-board computer developed
in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer
science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip, which includes an
ARM1176JZF-S 700 MHz, Video Core IV GPU, and was originally shipped with 256 megabytes of RAM,
later upgraded to 512 MB. It does not include a built-in hard disk or solid-state drive, but uses an SD card
for booting and long term storage.
In this system, we use the raspberry Pi model as a controller. The Raspberry is a credit card sized
minicomputer. There are different types of raspberry pi model available in the market, Such as Model A,
Model B, Model B+ out of which we uses Model B+.
The figure shows the basic block diagram of the system. With the help of this system we can
monitored and Controlled the various equipment that are connected to the relay circuit via the input from
raspberry pi model as well as from the WEBIOPI. Whenever the system is turned on, the current lighting
data of the home are read and written to the data base and then transferred to the user interface. So, one
can easily know the current situation of rooms and change in the state of the lights
3.6 Mixed Type HAS
Home automation is achieved with a combination of GSM, Bluetooth and ZigBee technologies. The
user interfacing is done through an Android application. This application takes user voice input and maps it
to a set of textual commands. These commands are sent through SMS to another phone at home. This in
turn transfers the commands through Bluetooth to a PIC controller. This is called a remote unit. This remote
unit will then send the commands to a ZigBee transceiver. This transfers these commands through ZigBee
to the main controller. The controller interprets the commands and performs the required operations. It also
sends back status information through ZigBee. This system is usable and can offer remote access.
However, the system can become expensive due the use of multiple controllers and technologies. Also, the
SMS system can prove to be unreliable.
ZigBee EM357 module, Atmega128 MCU (microcontroller unit) and Sony Ericsson T290i mobile
phone set. The MCU will deal with both the ZigBee and GSM networks. The sensors communicate with the
MCU using the ZigBee system. The entire system can be implemented using C language. The relay
controls the home appliances. The relays are isolated from the control section due to the presence of the
ZigBee network. The advantage of the system is its low cost and user friendliness. It also offers home
security which is an added feature. However, it is not a real time system.
Many non-conventional systems for home automation are available. A combination of GSM along
with a FPGA (Field Programmable Gate Array) system. This is due to the flexibility provided by the FPGA
which can be programmed to suit the users’ needs. It is also less expensive compared to a microcontroller.
This helps to decrease the price of such systems. The FPGA is interfaced with a GSM modem. The modem
is used to communicate with the devices. The FPGA makes the decisions regarding the control of devices.
A UART is used to allow the interfacing between the GSM modem and the FPGA. The advantage
of such a system is that they can be used as real time systems. They offer security as they are hard wired
and cannot be attacked by malicious intent. They can also add or subtract features as required by the user.
CHAPTER 4: CONSTRAINS, TRADE – OFFS AND STANDARDS
A.CONSTRAINS
These are the constraints that are considered on the design project
Economic
On designing a home automation system (HAS) we must consider its economic constrains so that it could
satisfy the needs of the clients. This will be needed if the simplicity of the system is necessary for the final
design. Economic constraints are a type of external constraint. An external constraint is some factor in a
company's external environment that is usually out of the company's control. An economic constraint
involves external economic factors that affect a company and are usually outside of its control. A company
is influenced by both microeconomic and macroeconomic factors in its external environment. For Economic
Constrains we choose the Arduino Uno HAS and Raspberry pi HAS because it functions very che ap
microprocessor and user-friendly interface.
Reliability
The Reliability constrains insures that the system of HAS will be functionally user friendly and can solve
and function easily when a problem or program is failed. For the Reliability we choose the also again the
Arduino Uno because of its very user friendly interface, it only uploads and downloads programming
language into the core and it functions very easily , unlike the raspberry pi and zigbee , which needed Wi -Fi
and strong receiver to communicate each devices efficiently.
Sustainability
Sustainable engineering is the process of designing or operating systems such that they use energy and
resources sustainably, in other words, at a rate that does not compromise the natural environment, or the
ability of future generations to meet their own needs. For the sustainability we choose the mix and the
raspberry pi HAS.
C. STANDARDS
Wi-Fi (802.11)
IEEE 802.11 is a set of media access control (MAC) and physical layer (PHY) specifications for
implementing wireless local area network(WLAN) computer communication in the 900 MHz and 2.4, 3.6, 5,
and 60 GHz frequency bands. They are created and maintained by the
Institute (IEEE) LAN/MAN Standards Committee (IEEE 802). The base version of the standard was
released in 1997, and has had subsequent amendments. The standard and amendments provide the basis
for wireless network products using the Wi-Fi brand. While each amendment is officially revoked when it is
incorporated in the latest version of the standard, the corporate world tends to market to the revisions
because they concisely denote capabilities of their products. As a result, in the marketplace, each revision
tends to become its own standard.
Bluetooth (IEEE 802.15.1)
Task group one is based on Bluetooth technology. It defines physical layer (PHY) and Media
Access Control (MAC) specification for wireless connectivity with fixed, portable and moving devices within
or entering personal operating space. Standards were issued in 2002 and 2005. Bluetooth is
a wireless technology standard for exchanging data over short distances (using short-
wavelength UHF radio waves in the ISM band from 2.4 to 2.485 GHz [4] ) from fixed and mobile devices, and
building personal area networks (PANs). Invented by telecom vendor Ericsson in 1994, it was originally
conceived as a wireless alternative to RS-232 data cables
Bluetooth is managed by the Bluetooth Special Interest Group (SIG), which has more than 30,000
member companies in the areas of telecommunication, computing, networking, and consumer electronics.
The IEEE standardized Bluetooth as IEEE 802.15.1, but no longer maintains the standard. The Bluetooth
SIG oversees development of the specification, manages the qualification program, and protects the
trademarks. A manufacturer must meet Bluetooth SIG standards to market it as a Bluetooth device. A
network of patents apply to the technology, which are licensed to individual qualifying devices.
Zigbee
ZigBee is a wireless technology developed as an open global standard to address the unique needs of low-
cost, low-power wireless M2M networks. The ZigBee standard operates on the IEEE 802.15.4 physical
radio specification and operates in unlicensed bands including 2.4 GHz, 900 MHz and 868 MHz.
The 802.15.4 specification upon which the ZigBee stack operates gained ratification by the Institute of
Electrical and Electronics Engineers (IEEE) in 2003. The specification is a packet-based radio protocol
intended for low-cost, battery-operated devices. The protocol allows devices to communicate in a variety of
network topologies and can have battery life lasting several years.
THE ZIGBEE PROTOCOL
The ZigBee protocol has been created and ratified by member companies of the ZigBee Alliance. Over 300
leading semiconductor manufacturers, technology firms, OEMs and service companies comprise the
ZigBee Alliance membership. The ZigBee protocol was designed to provide an easy -to-use wireless data
solution characterized by secure, reliable wireless network architectures
CHAPTER 5. FINAL PROJECT / DESIGN
HAS Using Raspberry pi 3
Doesn’t really matter, but keep in mind that you will have to connect it to your local network, so you will
need a Wi-Fi dongle if you are using the A model which doesn’t have an Ethernet port. In this paper, we
used a Raspberry Pi model B with the Wi-Fi dongle. The Raspberry Pi is a credit-card-sized single-board
computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching
of basic computer science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip
(SoC), which includes an ARM1176JZF-S 700 MHz, Video Core IV GPU, and was originally shipped with
256 megabytes of RAM, later upgraded to 512 MB. It does not include a built-in hard disk or solid-state
drive, but uses an SD card for booting and long-term storage.
We can observe this research paper that the appliances controlling through the web browser Integrated
with the ARM11 microcontroller. The Raspberry Pi is a credit-card-sized single-board computer developed
in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer
science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip, which includes an
ARM1176JZF-S 700 MHz, Video Core IV GPU, and was originally shipped with 256 megabytes of RAM,
later upgraded to 512 MB. It does not include a built-in hard disk or solid-state drive, but uses an SD card
for booting and long term storage.
In this system, we use the raspberry Pi model as a controller. The Raspberry is a credit card sized
minicomputer. There are different types of raspberry pi model available in the market, Such as Model A,
Model B, Model B+ out of which we uses Model B+.
The figure shows the basic block diagram of the system. With the help of this system we can
monitored and Controlled the various equipment that are connected to the relay circuit via the input from
raspberry pi model as well as from the WEBIOPI. Whenever the system is turned on, the current lighting
data of the home are read and written to the data base and then transferred to the user interface. So, one
can easily know the current situation of rooms and change in the state of the lights
We can observe this research paper that the appliances controlling through the web browser
integrated with theARM11 microcontroller. The Raspberry Pi is a credit-card-sized single-board computer
developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic
computer science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip, which
includes an ARM1176JZF-S 700 MHz, Video Core IV GPU, and was originally shippe d with 256 megabytes
of RAM, later upgraded to 512 MB. It does not include a built-in hard disk or solid-state drive, but uses an
SD card for booting and long term storage. In this system, we use the raspberry Pi model as a controller.
The Raspberry is a credit card sized minicomputer. There are different types of raspberry pi model
available in the market, Such as Model A, Model B, Model B+ out of which we uses Model B+.
A Relay is electrically operated switches, which allow low power circuits to switch a relatively high
voltage or current on/off. For a relay to operate a suitable pull in and holding current should be pass ed
through its coil. Relay coils are designed to operate from a particular voltage often its 5V or 12V. The
function of relay driver circuit is to provide the necessary current energize the relay coil, when a LOGIC 1 is
written on the PORT PIN thus turning on the relay. The relays turn off by writing LOGIC 0 on the port pin. In
our system four relays are used for device control
REMOTE LIGHTINGS
RASPBERRY REMOTE
SECURITY
TEMPERATURE METER
RASPBERRY PI MONITORING
VILLANUEVA , JD MARK C
BS Electronics Engineering, Technological Institute of the Philippines (TIP),
Manila 2012-Present
Address: 207 Vinalon st Cupang Muntinlupa City
Tel. No.: 442-19-39
Email Address: mvillanueva374@gmail.com
Cellular No.: 09279169206
OBJECTIVE
To explore career options in the field of Engineering w here I can demonstrate my skills and the learning outcomes
of the Electronics Engineering program of the Technological Institute of the Philippines (TIP), a program accredited by the
US-based outcomes-oriented ABET (Accreditation Board for Engineering and Technology), Engineering Accreditation
Commission.
NI Multisim
NI LabVIEW
PCB Layout Softw are (ExpressPCB)
Flow code for PIC Microcontroller
Can function effectively as an individual and as a m em ber or leader in diverse team s and in m ultidisciplinary
settings.
SEMINARS ATTENDED
DC Technology: DC House Project, Dr. Taufik
Technological Institute of the Philippines – Manila Seminar Room
December 2015
Super High Definition Television, Engr. Jam es Rodney Santiago
Technological Institute of the Philippines – Manila Seminar Room
February 2016
CISCO: Internet of Everything, Engr. Julius T. Aribon
Technological Institute of the Philippines – Manila Career Center
February 2016
REFERENCES
OBJECTIVES
To demonstrate my skills as an on-the-job trainee while applying the learning outcomes of the Electronics and
Communications Engineering program of the Technological Institute of the Philippines (TIP), a program accredited by the US -based
outcomes-oriented ABET (Accreditation Board for Engineering and Technology), Engineering Accreditation Commission.
OJT
Company: OTIS E & M Company
Address: 14/F Petron Mega Plaza Building, 358 Sen. Gil
720 hrs. In Technological University of the Philippines (2nd semester S.Y 2013 -2014)
Contact No.: +63(2)8863502
KNOWLEDGE, SKILLS AND
ON-THE-JOB TRAINING/ ATTITUDE INTERNSHIP EXPERIENCE/S
PRACTICUM/
REFERENCES