Presentation is loading. Please wait.

Presentation is loading. Please wait.

KnightHome Sponsored by Leidos

Similar presentations


Presentation on theme: "KnightHome Sponsored by Leidos"— Presentation transcript:

1 KnightHome Sponsored by Leidos
Group 5 Jeffrey Benoit, C.E. D’Voran McIntosh, C.E. Roneal Valmonte, E.E. Zack Zapasnik, C.E.

2 Motivation & Goals Original motivation for project came from the idea to be able to control and monitor the usage of electricity in your home from anywhere As we solidified our ideas, we also wanted to incorporate home automation, such as being able to schedule when your appliances would be powered on or off The goal for this project is to give the user the means to control and monitor the usage of electricity of different appliances via an intuitive web/mobile application

3 Objectives Four major devices of project:
Smart Outlet Wall Switch HVAC Controller Powerlock Our objectives for this project are as follows: Create products that are compact Products should not draw a significant amount of energy Simple and intuitive designs Inexpensive components that do not require maintenance Easy to install and use Modularity

4 STM32 ARM Cortex M3 MCU 120 MHz 1MB Flash Memory
Micro-USB/Wifi - Debug/Program Surface mountable LED for status 80mA w/ 5V input 24 Total Pins

5 Broadcom BCM43362 Wi-Fi chip PO
Integrated ARM Cortex-M3 CPU Single-band 2.4Ghz IEEE b/g/n WPA2 Support

6

7

8 2-Channel/1-Channel Relay
Powered via MCU Vin Connects to MCU GPIO Pins 2 Channel for Wall Outlet/HVAC 1 Channel for Powerlock/Wall Switch

9 Non-Invasive Current Sensor
Measures power through live AC wire without interference Requires a dropdown circuit in order to interact with MCU Calculates RMS Current using I*V / number of loops in inductor Dropdown Circuit 45kΩ Voltage Divider 75Ω Burden Resistor 10µF capacitor for noise

10 Temperature Sensor Low voltage temperature sensor
Produces voltage output proportional to Celsius temperature Easily convert voltage to temperature using scale 10 mV/ °C Accuracy of ± 1 °C

11 HVAC Controller Specs & Requirements
Feature Value Input Source 120V AC Display LCD Screen Sensors Temperature, Power Replace existing HVAC Thermostat Accurately detect temperature Display temperature on LCD screen Operate the HVAC System Communicate wirelessly with the application

12 HVAC Controller Components
MCU 2-Channel Relay 3 Push Buttons 16x2 LCD Screen Current Sensor Temperature Sensor

13 HVAC Controller Block Diagram

14

15

16 Wall Switch Specs & Requirements
Feature Value Input Voltage 120 VAC Input Frequency 60 Hz Connection Neutral Wire Max Incandescent Load 60 W Allow for an input of 120 VAC Connect to existing neutral wire for use as a power supply Turn the lighting source on or off Interface wirelessly with the application

17 Wall Switch Components
MCU Push Button 1-Channel Relay Current Sensor

18 Wall Switch Block Diagram
Wifi Signal MCU Energy Meter IC Relay Output to Light

19

20

21 Wall Outlet Specs & Requirements
Feature Value Input Voltage 120 VAC Input Current 15 A Input Frequency 60 Hz Connection Type B Wall Outlet Allow for an input of 120 VAC Connect to a wall outlet to use as a power supply Halt or allow the flow of electricity to any appliances connected Communicate wirelessly with the application

22 Smart Outlet Components
MCU 2- Channel Relay Current Sensor 2 Plug Outlet

23 Smart Outlet Block Diagram

24

25

26 Powerlock Specs & Requirements
Feature Value Input Voltage 12 VDC/5VDC Max Current 2 A Power supply mode Linear Electrike Strike Type Fail-secure Operate with DC power supply Communicate wirelessly with the application Unlock the strike when electric current is applied Power Electric Strike and MCU with same power supply

27 Powerlock Components MCU 1 Channel Relay
Electric Strike w/ Fail secure 12V Battery Power Supply LM7805 Linear Regulator

28 Powerlock Block Diagram / Basic Flowchart

29

30

31 Software Design Overview
Our infrastructure will run on the Internet within rented cloud servers All connected devices in the home are controllable from anywhere in the world over the Internet A cloud-hosted infrastructure gives certain advantages, like cheaper and easier installations (for clients), easier integration (with future devices), and easier upgrades A lot of in-home solutions require a base station, which is more expensive than a cloud-hosted infrastructure automated devices connect to. Many automated products don’t yet work over the Internet, which isn’t very convenient if you, for example, left a light on that’s wasting electricity or left a door unlocked that should have been locked. Cloud hosted devices are much easier to install for non-technical users. Since there’s no base station they simply link with a mobile device to the cloud infrastructure. Allows for easier integration with new future devices, since there’s no base station Upgrades are also easier since the deployment is under our control. This is especially better if there’s any security vulnerabilities (which is becoming more common these days)

32 Software: App Design Apps developed in AngularJS (a client-side MVC framework that assists with organizing user interfaces into modules) PhoneGap used to build binaries compatible with both Android + iOS simultaneously App Abilities: Manage Account Manage Devices Group Devices into “Tasks” Create Schedules for Tasks Energy Management Tracking

33 Software: API Design Apps communicate with our JSON API over HTTPS
The API is designed to run on the NodeJS runtime using the ExpressJS web framework library ExpressJS provides a routing API such that every route can be divided into its own route module Every in-app route one-on-one matches its API route, making it easier and more organized to build and maintain the app

34 Software: Database We are using MongoDB, a SQL-less database structure that organizes most relational data within documents rather than across tables Each major in-app functionality has its own document data model that contains all the necessary data needed to perform the desired functionality

35 Microcontroller Software Design
Particle Build web IDE C++ Procedural TCP Socket connection Shared main phase Separate HVAC

36 Microcontroller Flowchart
Startup Startup Connect Set Register Main Loop Check Read/Update Measure Send

37 Distribution of Work Microcontroller Programming - Jeffrey Benoit
Hardware - D’Voran McIntosh & Roneal Valmonte Web/Mobile Application - Zachary Zapasnik

38 DEMO

39 Questions?


Download ppt "KnightHome Sponsored by Leidos"

Similar presentations


Ads by Google