Team 10 Sponsored by George Brussenskiy Christopher Chiarella
Team 10 Sponsored by George Brussenskiy Christopher Chiarella Vishal Nagda Central Florida Inpatient Medicine
Motivation • Maximize time efficiency and productivity in a user’s daily routine • Be an unobtrusive technology system • Expand home automation to the bathroom *image via simplymirrors. com
Goals and Objectives • Automatic sleep and wake system • Provide personalized and relevant data via Apps to the user • Provide an intuitive gesture-driven GUI • Temperature/Humidity protection system
Specifications TV Screen Resolution 720 p Auto-Sleep After 2 minutes Awake from Sleep <10 seconds Temperature Sensor Accuracy +/- 1 °C error Humidity Sensor Accuracy +/- 1. 5% error Gesture Recognition Area 8 Cubic Feet Gestures Supported (Quantity) 5 Voice Commands Supported (Quantity) 7
System Design Diagram Temperature Regulation System MCU Microphone Control PC Speakers Processing (Software) PCB (Hardware) Hardware Components Leap Motion Webcam
System Design Diagram Temperature Regulation System MCU Microphone Control PC Speakers Leap Motion Webcam
Control PC System • The main control software • Handles GUI • Interacts with: – Leap Motion Controller – Webcam – MCU – Speakers Control PC GUI Rendering Image Processing Gesture Processing Voice Processing Wi-Fi communication
Control PC Hardware Motherboard Mini Intel ITX RAM 4 GB DDR 3 -1600 CPU 3. 6 Ghz Intel i 3 (Haswell) Memory 64 GB SSD Power Supply 380 Watt Wireless Support 802. 11 b/g/n
PC Components Temperature Regulation System MCU Microphone Control PC Speakers Leap Motion Webcam
Leap Motion Component • Contains 2 IR cameras and 3 IR LEDs • Captures 200 FPS • Can recognize: – Two hands – 10 Fingers • Can interpret: – Swipes – Finger Taps – Circles
Webcam Component • 1080 p Recording • 15 MP Camera • Required for Auto. Sleep and wake • Image data will be processed for motion detection *image via amazon. com
MCU and PCB Temperature Regulation System MCU Microphone Control PC Speakers Leap Motion Webcam
MCU Selection Arduino Uno TI MSP 430 Arduino Due Clock Speed 16 MHz 84 MHz Voltage 7 -12 V 1. 8 -3. 6 V 7 -12 V EEPROM 1 KB 4 KB N/A SRAM 2 KB 0. 25 KB 96 KB Digital Pins 14 N/A 54 Analog Pins 6 14 12
Custom Arduino Uno • Balance of speed and power management • More Focused board • Minimal learning curve for programming • Lots of documentation
Temperature Regulation Subsystem • Prevent hardware damage from high temperatures and high humidity • Used for regulation by providing data to issue user warning and system shutdown • Includes: – Temperature Sensor – Humidity Sensor *image via newark. com
Temperature Sensor Selection TI LM 35 TMP 36 Accuracy 0. 5 C 2 C Cost $1. 23 $1. 77 Temperature range -55 C ~ 150 C -40 C ~ 125 C Nonlinearity +/-0. 18 +/-0. 5 Impedance output 0. 1 Ohm - Sensor gain +10 - Load regulation +/-0. 5 6 Line Regulation +/-0. 02 - Supply Voltage -0. 2 ~ 35 V 2. 7 – 5. 5 V Interchangeability high medium Response time fast medium
Humidity Sensor Selection P-14 IST MK 33 0 – 100%RH Operating Temperature Range -50 C – 150 C -40 C – 190 C Low drift yes High humidity stability yes no High chemical resistance yes Linearity error < 1. 5% RH < 2. 0% RH Frequency Range 1 - 100 k. Hz 1 – 100 k. Hz Sensitivity 0. 25 pf/%RH 0. 45 pf/%RH Loss Factor <0. 01 Hysteresis < 1. 5% RH < 2. 0% RH Response time < 5 s < 6 s Humidity Operating Range
PCB Schematic
PCB Layout
Housing Overview • Stained wooden frame • Two-Way Mirror • Compartments for: – Webcam – Mirror/TV – Speakers – Leap Motion Controller • Control PC is separate
Housing Overview Front Side
Software Design Diagram MCU Temperature Humidity Hardware Data Processing Control PC Voice Processing Serial Data GUI Leap Motion Detection Apps
Control Software IDE • Creating Windows 8 Store Application • Using Visual Studio 2013 • Windows API access • Programmable with C++ and XAML • XAML used for GUI *image via www. visualstudio. com
Control Software State Diagram
Control Software State Diagram
Motion Detection State Diagram
Motion Detection State Diagram
GUI Minimized Normal
GUI Expanded
Supported GUI Gestures Gesture Action Horizontal Swipe (One-Hand) Switch Apps between minimized and normal mode Vertical Swipe (One-Hand) Close Expanded Mode Screen Point and Wait (Pointer Finger) Select individual app for expanded mode Clockwise Circle (Pointer Finger) Refresh the application data Counter-Clockwise Circle (Pointer Finger) Activate Voice Command *images via leapmotion. com
Applications Twitter Calendar To-Do List Weather Music News
Application Class Diagram
Administrative Content
Work Distribution Chris (Cp. E) Vishal (EE) Temperature and Humidity PCB Control Software System Integration Custom MCU GUI Design Mirror Housing Embedded Software Motion Detection Processing Custom MCU George (EE)
Budget Part Quantity Cost Insignia 32” HDTV 1 $191. 69 Two-Way Mirror 1 $68. 91 Leap Motion Controller 1 $88. 98 Logitech C 920 Webcam 1 $70. 49 USB Speakers 1 $24. 00 Intel Core i 3 -4340 1 $159. 99 Mini-ITX Case 1 $49. 99 ASRock mini-ITX Motherboard 1 $94. 99 ADATA 64 GB SDD 1 $69. 99 G. SKILL 4 GB DDR 3 RAM 1 $47. 99 Antec 380 W PSU 1 $44. 99 TP-LINK N 900 Wireless Adapter 1 $42. 92 Arduino Uno 1 $35. 00 Mirror Housing Materials (Various) $52. 27 PCB Circuit Components (various) $69. 84 PCB Manufacturing 2 $174. 51 Document Printing (various) $140 Final Estimated Total: $1426. 55
Issues • Limitations of the Windows Store App C++ Environment • Voice Module vs Software solution • Determining PCB power source • Sizing housing for various components
Questions
- Slides: 39