Download presentation
Presentation is loading. Please wait.
Published byGertrude Sharp Modified over 9 years ago
1
Happy Home Helper Software Design Presentation Jeremy Searle Apr 7, 2004
2
Background Home Automation is used for various household controls (lights, security, entertainment) Systems tend to be expensive Systems completely rely on the home PC which can be unreliable (Hackers, Crash, Power Surge, Virus) Systems must be programmed to accomplish tasks and do not learn
3
Problem Statement To design a home automation system that is capable of learning and executing daily routines at an economical cost.
4
Solution Central micro-controller unit Outlet control modules PC user interface Sensors to control lights/sense walking path Remember routines by averaging sensor data and user input data Wireless communication between devices Computer controlled window and door mechanisms
5
System Overview Central μController Outlet Module Data Flow Human Input Misc. Sensors
6
Outlet Module State Machine OFF Manual _______ Auto ON Auto OFF _______ State 0 _______ ___ Relay Get Power Reading 0 1 0 0 – NO 1 – YES 0 – OFF 1 – ON M – Manual Mode N – Auto Mode ON F – Auto Mode OFF M M F F N
7
Current Sensor Reading highest sample = 0 lowest sample = 255 Wait 50 ms to let current spikes settle Loop for 64 ms { Take an A2D sample If current sample > highest sample highest sample = current sample If current sample < lowest sample lowest sample = current sample } power = (highest sample – lowest sample)*2 Note: power accuracy is 0.125 A or 15W
8
Window Blind Actuation Modes -Manual -Ambient Light Tracking Close blinds Open blinds until Light = desired Every 10 minutes If reading is lower than desired Open blinds until Light = desired If reading is greater than desired Close blinds until Light = desired If reading can not reach desired Close blinds all the way Take pre-determined action -Maximum Light Tracking Every 10 minutes Open blinds all the way Close blinds while recording measurement If next reading is lower than Max Stop blind movement
9
Central μController Communications (RS-232 Transmit)
10
Central μController Communications (RS-232 Receive)
11
Schedule
12
Thank You Any Questions ?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.