Final Presentation Smart-Home Smart-Switch using Arduino

Slides:



Advertisements
Similar presentations
WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
Advertisements

What we do Larotecs Web2M is an off-the shelf, end-to-end, web-based solution designed to manage multiple widely distributed devices.
Watts up ?. NET. Watts up.NET Overview Ideal for remote monitoring, the built-in web server allows data to be accessed via the internet. Connect the.
Inputs: Digital and 4 configurable for Digital or 10 bit Analog Outputs:4 - 8 amp Relays or 700ma Transistors (1 PWM) 4 Line by 18 Character fully.
- Recent innovative start-up based in Marseille - -Development of Wesby Patented solution - Important experience in the industry -Start : software to communicate.
Electrical & Computer Engineering Presentation by: Andrew Frieden Matthew Weydt Nick Setzer Tyler Dunn CDR 2011 – Team Gong.
Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
Location based Streaming Topics for our 1 st presentation  Thesis Description  Positioning System  Streaming over positioning  Questions Session.
Security and Digital Recording System Students: Gadi Marcu, Tomer Alon Number:D1123 Supervisor: Erez Zilber Semester:Spring 2004 Mid Semester Presentation.
1. Wind Tunnel Control (WEBWIND) By: Adam Green Advisor: Dr. Aleksander Malinowski Dr. Scott Post Bradley University Department of Electrical Engineering.
ECE 4220 Real Time Embedded Systems Final Project Presentation Spring 2014 University of Missouri Columbia By: Michael Brauch Temperature Data Logger.
P2P Project Mark Kurman Nir Zur Danny Avigdor. Introduction ► Motivation:  Firewalls may allow TCP or UDP connections on several specific ports and block.
1 Mid-term Presentation Implementation of generic interface To electronic components via USB2 Connection Supervisor Daniel Alkalay System architectures.
Energy Smart Room GROUP 9 PRESENTERS DEMO DATE SPECIAL THANKS TO ADVISOR PRESENTERS Thursday April 19, 2007 Department of Electrical and Systems Engineering.
Building an Application Server for Home Network based on Android Platform Yi-hsien Liao Supervised by : Dr. Chao-huang Wei Department of Electrical Engineering.
Smart Home for disabled people Students: Atara Gutman and Anastasia Logvinenko Instructor: Alexander Kinko Midterm Presentation Semester Spring
Stand-Alone and Mesh Networks of Dissolved Oxygen (DO) Monitors Sd-May11-20 Betty Nguyen Scott Mertz David Hansen Ashley Polkinghorn Advisors Joseph Shinar.
GROUP 4 Daniel Arnett, Joseph Vanciel, Brian Krueger.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Smart Home for disabled people Students: Atara Gutman and Anastasia Logvinenko Instructor: Alexander Kinko Final Presentation Semester Spring part.
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
G4 Control and Management Solution for Data- Centers and Computer Rooms.
LUMEN ALARM & LIGHTING SYSTEM Artem Aginskiy, Grayson Carr, Yinuo James Chen, Andrew McDowell.
Authors: Mateusz Jarus, Ewa Kowalczuk, Michał Madziar, Ariel Oleksiak, Andrzej Pałejko, Michał Witkowski Poznań Supercomputing and Networking Center GICOMP.
Performed by : Matan Cohen & Sefi Cohen Instructor: Mony Orbach המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון טכנולוגי.
Android ADK based app for offer making based on location and activity reporting John Waters.
Home controlling system based on Galileo Final Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid.
Download & Play E-Learning System PROPOSAL draft1.0.
Group 16 – Efficient HVAC System Daniel Galarza – CpE Chung Chien Hsia – EE Marvin Fernandez – CpE Kevin Ivy – EE William Carson Sr. – Mentor, owner of.
Smart Home Design Based On Voice Recognition
Real-Time Software Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
DEC0905 Remote Control of Home Appliances ABSTRACT The objective of this project is to enable users to remotely control home appliances and systems over.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
CINEMA’s UbiComp Subsystem Stefan Berger and Henning Schulzrinne Department of Computer Science Columbia University
Ultra-low cost IoT system for smart house applications Characterization Presentation Students: Sagiv Katony Asaf Luster Advisors: Evgeny Kuksin 
1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 16 System Architecture and Design II.
The New FTC Platform (Connecting your legacy hardware)
CONFIDENTIAL 1. 2 Designing the Intelligent Energy Gateway 2009 CONFIDENTIAL.
Group 10: wvU- Secure Final Presentation 24 April, :00 P.M. ESB 801.
Graphical Output Package for Industrial Sensor May Team Members Steve Bower – CprE Ken Hall – CprE Roar Lien – CprE Jim Sproul – CprE Rich Matus.
ECE415 Senior Design Project Spring 2009 FPR Presentation Robert Basile Rowan Oberski Qiaowen Zheng Danxiang Li Faculty Advisor: Russell Tessier Enjoy.
Automated Industrial Wind Tunnel Controller By Daniel Monahan and Nick DeTrempe Advised by Dr. Aleksander Malinowski.
INTERFACING WEB SERVER WITH A ROBOT
Emergency Alert System Dave Swift Zach Smith. Why EAS? Virginia Polytechnic Institute Client: Union College Campus Safety ◦Siren ◦Text Messaging ◦ .
Implementation of an Economical Web Server for Home Automation System Based on IR, Bluetooth and Ethernet Technology Dr.-Ing. Chao-Huang Wei Department.
AN_NAJAH INTERNATIONAL UNIVERSITY Electrical Engineering Department Internet & Mobile Controlling system “IMCS” Ala` Hmadneh Ansam Afaneh DR. RA`ED.
ENTC-489 Embedded Real Time Software Development Embedded Real Time Software Development Week 11 Design Examples.
Report of Internship Summer 2007 Boivineau Samuel Antonio Ruzzelli – Raja Jurdak Gregory O'Hare.
Home controlling system based on Galileo Mid Semester Presentation Started at: Winter 2015 Project supervised by: Mony Orbach Project performed by: Khalid.
Presents Intellimation April Company Confidential Provided Under NDA Copyright 2009 Tomorrow Tech Industries Talking Points  Intellimation Overview.
Wisdom of the Crowed Final Review High Speed Digital Systems Lab.
Automated Home Control Nick Atkinson, Matt Majeika, Ungku Afiq Ungku FaridSponsored by Terry Slattery Overview With increasing energy concerns, different.
Powerpoint Templates Page Senior Design II Mid-Semester Presentation.
Anritsu Automation Platform (AAP) AAP PC Connects to the system via IP connection (system switch) AAP was developed to add features that were requested.
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
PROJECT MEMBERS: DHARMARAJA K ( ) SANTHOSH KUMAR V ( ) VIGNESH P ( ) VINOTH RAJ B ( ) THIRD REVIEW GUIDE NAME:
QuickBev Group 29: Phillip Nielsen & Michael Perreux TA: Braedon Salz ECE445 Spring 2016 May 4, 2016.
Preliminary Design Review Team 18 October XX, 2015 Department of Electrical and Computer EngineeringAdvisor: Csaba Andras Moritz.
Performed by: Sagiv Katony Asaf Luster Instructor: Evgeny Kuksin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון טכנולוגי.
Energy Efficiency by Smart Home Version English / June 2016.
 Introduction  Problem  Solution  Future work.
Smart Parking Application
Near Field Communication Smart Door
SCADA for Remote Industrial Plant
HW and SW Solution for Black-box attacks
Mike Pappas, Nigel Himmelreich, Eric Anderson
Mike Pappas, Nigel Himmelreich, Eric Anderson
Intelligent HVAC Control
Tareq Khan, Ph.D. Assistant Professor,
Presentation transcript:

Final Presentation Smart-Home Smart-Switch using Arduino Department of Electrical Engineering Students: Edan Shunem, Itzik Cohen Supervisor: Mony Orbach Semester: Winter, 2016 Date: 09/03/2016 הצגה עצמית

Presentation Outline Motivation Project Goal Block Diagram: Hardware Physical Diagram Block Diagram: Communication Problems Encountered Software Server, GUI, App, Controllers, DB Arduino Software UML Controllers Flowchart Tests Live Demonstration

Motivation Home automation makes our lives easier, more convenient and can allow lower energy consumption. Turn on devices remotely (water boiler, heaters, etc.) Schedule devices to work in specific times (lights, AC, coffee machine, radio, etc.) Monitor your energy consumption

Motivation But unfortunately, today, smart homes technology is very expensive. Controlling devices and installation are expensive. Requires 3rd party installations. Often needs to be implemented in the house’s infrastructure.

Project Goal Design a remotely controlled Multifunction Outlet Power Strip. The power strip will be controlled with an Arduino Processor using WIFI via a designated server. The power strip will have local functionality and automatic fail-safes.

Block Diagram: Hardware Digital 5V DC Converter 220V Source Arduino Nano Processor WIFI LED TCP LED 220V Relay 220V Relay 220V Relay 220V Outlet 220V Outlet 220V Outlet 3.3V DC Converter ESP8266 WIFI RTC Sensor Sensor Sensor Analog Server Heat sensors – detect outlet heat level and stops functionality when overheating (safety) Hall effect sensors – detect electromagnetic fields to determine current (energy monitoring) 220V relays – switching the voltage to the outlets on and off (via aeduino control( ESP8266 WIFI Arduino Nano Controller Heat Sensors 220V Relay x3 220V Outlets x3 x3 Hall effect Sensors

Physical Diagram 220V Source PC Relay Module x3 RTC 5V DC Converter GND 5V PC Mini USB D11<->TX D12<->RX 220V Source 5V DC Converter 3.3V DC Converter 220V 3.3V Relay Module x3 Hall Sensors x3 RTC

Block Diagram: Communication User Via PC or Smartphone JAVA Application ESP8266 WIFI Router mySql Database Server Socket Handler Arduino Controller Strip

Problems Encountered Arduino Environment. Integration of ESP with Arduino Nano: ESP was a new component, required library implementation. Reliable Communication. Server platform: Attempts with Wampserver (PHP, Apachi, MySQL), problematic blackbox. Considered implementing server in C++ but was time consuming. Solution: Implemented a JAVA server. Pros: Cross-Platform, dedicated libraries for socket handling, GUI(!), OOP, Interface with SQL. Cons: required learning JAVA.

Problems Encountered Embedded programming limitations: RTC: Limited Arduino (Nano) memory, communication via UART, Small buffer. RTC: Arduino Nano has no inner timer, required for independent functionality. Handle clock skew. Identify communication loss. Solution: save last message time from server, compare to RTC time.

Block Diagram: SW Server GUI Thread Scheduler Thread (Sensors) Client Listener Main Thread Client Thread Controller Client: JAVA App Android App Arduino1 Arduino2

Server GUI Server GUI for communication monitoring. Connect/Disconnect button, choose port. Events logging (retries, messages, exceptions).

Client Thread Controller Wait for a message from the Arduino\Application and handle as a controller. Parses messages: <SRC>#<DEST>#<SW>#<OP>#<VAL> When changing status, Update the SQL. Database Handler: Wrapper for DB, handles communication with DB, has SET/GET methods.

Client Thread Controller Perform requested commands: Send Open\Close request from the Application to Arduino. Get Ack from Arduino and update the Database. Handle Timer Request from Application and Ack Timer from Arduino and update the Database. Send Request for Temperature and Hall Effect values from Arduino and update the Database upon response. In case of a high temperature send a stop command to Arduino.

MySQL Database A free web database, always online, can be customized. Defines tables and fields, set default values. Handles communication between Server and Application. Has methods for updating fields on the Server.

JAVA Application Scheduler updates Arduino status in real time. GUI for tables and fields. Open / Close Switches. Read switch status and sensors data. Enable/Disable timer for open/close. Set time to open and close. Optional: Create graphs, show statistics.

Arduino Controller Flowchart Setup Server Online? Connect Timeout MSG RCV Yes No Check Timeout Close All Handle MSG High Temp? Timer expired? Open/ Close

Software UML: Arduino

Initialize System Start server using an opened port. The Server will start a Socket on the selected port and wait for a new clients. Power On the Arduino: The Arduino will start a connection. Connect to Wi-Fi. Connect to the Server using Socket. Repeat connections upon failure When connected, Arduino sends name. The server saves name and add to the List of Clients. The Server sends timestamp to Arduino to setup the RTC Time. Connection established, Arduino listens to incoming messages and performs commands. After 90 seconds timeout (lost connection) Arduino switches to a self controller.

Initialize System Start Application: The Application opens a socket on the selected port number. Upon success, the Application registers as a client on the server. The Application gets information, displays it to the user form the DB. Send a command to the server and update the status information.

Tests Test manual turning on and off of switches. Test Scheduled turning on and off of switches. Test Failsafe in high Temperature or current according to sensors. Test local functionality when communication is down. Restart after power lost (server re-Init) Sync with RTC.

Live Demonstration

Questions?