1 / 44

Universal Controller

Universal Controller. Team #55 Yi Ren Xuanyu Zhan ECE445 - SPRING 2014. Introduction. Universal Controller provides a wireless control through internet for the flip switches which could be an important part of future home automation system

wesley
Download Presentation

Universal Controller

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Universal Controller Team #55 Yi Ren Xuanyu Zhan ECE445 - SPRING 2014

  2. Introduction • Universal Controller provides a wireless control through internet for the flip switches which could be an important part of future home automation system • With our built-in temperature sensor, smoke sensor and siren system, Universal Controller can also replace smoke detector and thermometer at home

  3. Features • Flip a switch • Control with computers or mobile devices with internet connection • Smoke detection • Siren alarm • Time setting with button • Time display • Temperature Display • Data Collection

  4. Our Project

  5. System Overview

  6. Hardware Overview • Power Supply • User Interface • Wireless Communication Module • Control Unit • Sensing Unit • Motor

  7. Power Supply Unit • Supplies ~4.5V and GND to the voltage regulators • Output of the regulators supply power to the motor, sensors, WiFi unit and control unit • Switching regulators have outputs around 3.3V and 5V • Build bypass capacitor to prevent voltage spikes

  8. Power Supply Unit

  9. Output From 5V Regulator Min:4.84V Max:5.07V

  10. Output From 3.3V Regulator Min:3.30V Max:3.47V

  11. Power Supply Unit Power Budget • Servo: 4mA to 180mA • Microcontroller: 0.2mA • WiFi: 2mA to 40mA • LCD: 1.3mA • Smoke Detector: 120mA • Theoretical Total Current: 341.5mA • Tested Total Current: around 380mA

  12. Energizer. Product Datasheet Energizer E91. May 2nd, 2014 . http://data.energizer.com/PDFs/E91.pdf.

  13. Power Supply Unit Power Budget(worst case) Operation time= 1600mAh/380mA =4.21h Theoretical operation hours: 4hour (Based on the assumption that servo motor is active at all time)

  14. Future Work on Power Unit This chip provides user with an option to charge this device with USB or a wall charger

  15. User Interface (hardware) • A switch for the whole system • Reset button when the buzzer goes off • Timer button to set count down time • LCD to display the current temperature, the timer, and current status of the system.

  16. Wireless Communication module • Get and send on/off signal from/to the router • Sweep search for the wireless signal every 30 seconds.

  17. Test Result Our wireless module successfully connected to the router and was assigned an IP address

  18. Control Unit • A microcontroller to interact with wireless module, motor, sensors and user interface • Built our own Arduino with two capacitors and a crystal oscillator.

  19. Sensing Unit • A MQ-2 sensor is used as a smoke detector and it sends an analog output to the microcontroller(less than 0.2V in clear air) • TMP37 sensor is used as a temperature sensor and it sends an analog output to the microcontroller(0.5V at 25 oC)

  20. Motor and mechanical end Servo motor is used to flip the switch

  21. Software Overview • Android App • Web Page • Web Server • Data Collection and Analysis • Email Notification

  22. Flow Chart of logic of App

  23. Turn On/OFF switch by clicking “Turn On”/“Turn OFF” button • Check status of device by clicking “Refresh” button • Each button according to a php script

  24. Display real time clock • Display current status of the switch • Turn On/OFF switch by clicking “On”/ “OFF” button

  25. Display switching history • Provide PDF format of the switching historty • Provide bar graph and timeline graph

  26. PDF Version of Switching History

  27. Bar Graph of Switching History

  28. Timeline Graph of Switching History

  29. Timeline Graph of Switching History Provided by Database

  30. Email Notification of Potential Fire Situation

  31. PCB Layout Utilized Eagle 5.10.0 Professional

  32. Bottom Layer of PCB

  33. Requirements

  34. Successes • Flip switch with physical button and virtual buttons on android app and our website • Collect data and generate graphs and tables that can be used for usage analysis and power consumption etc. • Sense temperature and smoke to give good indication of potential dangerous

  35. Challenges • Android App • Web Server • WiFi • Data Collection • PCB

  36. Future Work • Optimize PCB layout • Multiple options and long-lasting power supply • Diversify data analysis • Add more mechanical end for this device

  37. Acknowledgements • Professor Scott Carney • Professor Andrew Singer • Dennis Yuan • Wally Smith • Mark Smart • SkotWiedmann • Scott McDonald

  38. Thank You

  39. References • “Mac-UDP-Client-Server-library”, webpage, 2012. Available at:https://github.com/Shein/Mac-UDP-Client-Server • “MQ 2 smoke detector shield for Arduino”, webpage, Available at:http://www.cutedigi.com/arduino-shields/mq2-smoke-detector-shield-for-arduino.html • “Using the RN-XV WiFi Module as a Remote switch”, webpage, 2011. Available at:http://log.liminastudio.com/itp/physical-computing/using-the-rn-xv-wifi-module-as-a-remote-switch • “Getting started with the RN-XV WiFi Module & Node”, webpage, Tedbot, 2011. Available at:http://log.liminastudio.com/programming/getting-started-with-the-rn-xv-wifi-module-node-js • “WiFly Wireless SpeakJet Server”, webpage, CTaylor, 2010. Available at:https://www.sparkfun.com/tutorials/158 • “Seven segment display Library” on playground. Arduino.cc. Available at:http://playground.arduino.cc/Main/SevenSegmentLibrary#.Uxd-OfmwL2A • “Pololu 3.3V Step-Up Voltage Regulator U1V10F3”, webpage, pololu.com. Available at:http://www.pololu.com/product/2563 • “SoftwareSerial Library”, webpage, arduino.cc. Available at:http://arduino.cc/en/Reference/SoftwareSerial - .Uyk4wl6GE0o • “arduino-wifly-serial”, webpage, github.com. Available at:https://github.com/perezd/arduino-wifly-serial • Y. Ren and X. Zhan “Universal Controller”, Design Review, Department of Electrical and Computer Engineering, Unviersity of Illinois at Urbana-Champaign, 2014. Available at:https://courses.engr.illinois.edu/ece445/projects/spring2014/project55_design_review.pdf

More Related