smart garage door system -...

23
S S m m a a r r t t G G a a r r a a g g e e D D o o o o r r S S y y s s t t e e m m Project Design Report May03-03 Senior Design Dr. John Lamont Dr. Ralph Patterson III Dave Barto Kyle Leinen Ben Molayal Brodie Pederson November 19, 2002

Upload: others

Post on 28-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

SSmmaarrtt GGaarraaggee DDoooorr SSyysstteemm

Project Design Report

May03-03

Senior Design

Dr. John Lamont Dr. Ralph Patterson III

Dave Barto Kyle Leinen Ben Molayal

Brodie Pederson

November 19, 2002

Page 2: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

i

Table of Contents

List of Figures....................................................................................... ii List of Tables .......................................................................................iii

1 Introductory Materials

1.1 Abstract....................................................................................... 1 1.2 Acknowledgement ...................................................................... 1 1.3 Definition of Terms .................................................................... 1

2 Project Plan 2.1 Introduction ................................................................................ 2

2.1.1 General Background ........................................................ 2 2.1.2 Technical Problem ........................................................... 2 2.1.3 Operating Environment.................................................... 3 2.1.4 Intended Users.................................................................. 3 2.1.5 Assumptions and Limitations........................................... 4

2.2 Design Requirements ................................................................. 5 2.2.1 Design Objectives ............................................................ 5 2.2.2 Functional Requirements ................................................. 5 2.2.3 Design Constraints ........................................................... 6 2.2.4 Measurable Milestones .................................................... 7

2.3 End-Product Description ............................................................ 7 2.4 Approach And Design ................................................................ 7

2.4.1 Technical Approach ......................................................... 7 2.4.2 Technical Design.............................................................. 9 2.4.3 Testing Description ........................................................ 11 2.4.4 Risk and Risk Management ........................................... 13

2.5 Financial Budget....................................................................... 14 2.6 Personnel Effort Budget ........................................................... 14 2.7 Project Schedule ....................................................................... 15

3 Closure Material

3.1 Project Team Information ........................................................ 16 3.2 Summary................................................................................... 17

4 Appendix A Garage Layout .......................................................................... 18 B Program Pseudo-Code.............................................................. 19

Page 3: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

ii

List of Figures

Figure 1: Design Block Diagram..................................................... 9 Figure 2: General Controller Layout ............................................. 10 Figure 3: Lighting Circuit Diagram............................................... 12 Figure 4: Gantt Chart ..................................................................... 15 Figure 5: Garage Layout................................................................ 18

Page 4: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

iii

List of Tables

Table 2.5: Estimated Financial Budget ............................................... 14 Table 2.6: Estimated Personal Effort Budget ..................................... 14

Page 5: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

1

1.1 Abstract

In today's world, security, safety and convenience become more important than ever. As the dependency on technology increases, people require the ability to think less about menial tasks and concentrate on other relevant issues. This type of demand can only be met by a system capable of quickly, accurately, and reliably interpreting the needs of the user and implementing appropriate actions self-sufficiently. The Smart Garage Door System (SGDS) will exploit the use of current technologies to provide such a system. The general concept behind the SGDS is to implement a system where the user is no longer primarily responsible for determining the action, but instead a command module monitors the action the garage door needs to be performing and makes the appropriate adjustments.

1.2 Acknowledgement:

The team of SGDS would like to take this opportunity to express their sincere appreciation to Ralph Patterson III and John Lamont for their time and expertise in making this system from a conceptual idea to one that can be thoroughly enjoyed by all homeowners.

1.3 Definition of Terms:

• IR – Infrared • SGDS – Smart Garage Door System • Rail-Type – Supported by a rail or track support system

Page 6: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

2

2 PROJECT DESIGN

2.1 INTRODUCTION

This section will give a general background of the general garage opening problem, a technical description of the problem and what the solution is to be. It will explain the operating environment, the intended users, and assumptions and limitations the team was faced with during the project duration.

2.1.1 General Background

The current problem afflicting most homeowners as they leave their homes is the question, “Did I close my garage door?” As a direct result of this puzzlement, the homeowner is often forced to return back to their home to check on the status of their garage door. This type of problem costs the homeowner not only a headache, but also extremely precious time they could have placed elsewhere. The solution to this problem is the SGDS system. The SGDS is a system that would determine if the garage door should be closed automatically upon departing the home. This will be accomplished utilizing several devices monitored by a master command module. These devices include a door timer, light timer, a micro-controller, an obstruction sensor, a four-button main controller, a four-button remote control, and magnetic sensors.

The mounting of these devices will install directly upon the existing garage door system and should in no way interfere with the proper functioning of the garage door.

2.1.2 Technical Problem

The general technical approach that will be used to create the SGDS system is to use timer control, sensors, and remote control technologies that are proven to be inexpensive and reliable. By utilizing each of these technologies, the user should be capable of having a SGDS system that is completely personal and fitted for their needs.

In the way of timer control, two devices shall be purchased. The first timer will be a door timer that when initiated begins a countdown from a pre-selected amount of time, and once completed will automatically close the garage door. The second timer is a lights timer that is activated when the control units is used to open the garage door. The purpose of this timer is to activate the garage and driveway lights allowing the user to better see their surroundings and once a pre-selected amount of time has expired, the lights will be automatically shut-off.

The sensing equipment will be used as inputs to the micro-controller based system. The obstructions sensors emit a beam and if the beam is broken or blocked by anything the signal is shut off. The obstruction sensors are located on both sides of the door near the bottom of the garage door rail and are installed parallel to the garage door. The sensor’s primary responsibility is to ensure there are no obstructions in the way of the garage door as it is closing. This sensor will

Page 7: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

3

be continuously operational. The magnetic sensors will be installed on the garage opener rail in a position where the garage door can be sensed to be in the open and closed position (i.e. – one will be on the opener side of the rail for the door open signal and one will be on the opposite end to give a door closed signal.). It is important to re-emphasize that these sensors are not part of the garage door operation but are only an input to the micro-controller itself. They will allow the SGDS system the ability to determine whether the garage door is currently in an open state or a closed state. The last sensor will be a photo sensor that is mounted outside and will determine if daylight is present.

The micro-controller will need to have at least 12 input terminals and 3 output terminals. A logic program written in C will be developed.

The last components to be constructed are controls that will allow the user the ability to operate the garage door. The first controller is of the four-button nature and is mounted on the inside wall of the garage. The first button allows the user to open the garage door and subsequently activate the door timer. The second button allows the user to open a second garage door, subsequently starting the door timer. The third button gives the user the capability of overriding the SGDS system and allowing the user the decision of when to close the garage door. In essence, the garage door opener will return to its original operating mode it used before the SGDS was installed. The second controller will be a four-button remote controller. It will work anywhere near the garage and will most often be located inside the user’s vehicle. The remote control will operate by transmitting and receiving a signal, which will be used to control the garage door. When any control is used and the SGDS system is activated, the garage door will stay closed until an open signal is received and stay open until the SGDS timer times out or a close signal is received.

2.1.3 Operating Environment

The operating environments the SGDS system must function in include the same type of environmental requirements as a normal garage door. This means the SGDS should operate in rain, snow, extreme heat, and other related weather elements. The nominal operating temperature range the SGDS system will function is from -40° F and +140° F. The pressure and force given to any component of the SGDS system should not exceed 1.5 pounds. The SGDS may fail in conditions where the weather reaches extreme conditions and these conditions begin to interfere with the normal operation of the SGDS.

2.1.4 Intended Users

The intended users for the SGDS include the homeowner(s), family members who need access to the garage, and friends of the family. Other users who may be authorized to use the system include such examples as service people. Most anyone with access to a controller will be able to operate the system.

It should be noted that while the SGDS will feature certain security and safety features, it is ultimately the responsibility of the end user to see that these features are not abused and that those using the system understand how it operates. The

Page 8: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

4

SGDS is also not meant to be the sole security for the house, but merely a supplement.

2.1.5 Assumptions and Limitations

The assumptions being made in designing the SGDS include that:

• The system is to be installed on any garage door system with a residential grade opener.

• The power source being used by the SGDS will be monitored and maintained by the end user.

• The user’s garage system will allow for the proper installation of the SGDS system with minimal effort.

The limitations being made in designing the SGDS include that:

• The opener in which the SGDS system is being installed must have open and closing contacts readily available.

• The system will only be required to monitor at most two garage doors, and if more doors exist, additional add-ons must be purchased.

• The obstruction sensors system MUST be installed. The operator will not attempt to close the door if the beams are not installed. Due to federal regulations under UL325, there is no way to bypass or eliminate the obstruction sensors.

• Remote controls will not operate outside a range of 120 ft. • Batteries will be needed for the remote control and a power supply will be

needed for the receiver and processor. • Timers for the door(s) and driveway lights will have a maximum of 8.5

minutes and minimum of 30 seconds.

Page 9: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

5

2.2 DESIGN REQUIREMENTS

This section will outline the design objectives, constraints, functional requirements, and measurable milestones required for the design process.

2.2.1 Design Objectives

The following is a list breaking down the main objectives of the design process:

• Locate and purchase a timer that is able to send a signal to our micro-controller and one which has an accuracy around 2 seconds. This will be used with the micro-controller to enable automatic closing of the garage door after a pre-selected amount of time, given there are no obstructions in the way of the closing door.

• Locate and purchase magnetic sensors that can be placed along the opener rail to tell if the garage door is open or closed.

• Locate and purchase a micro-controller that has at least 11 inputs and 3 outputs.

• Locate and purchase a photo sensor, which will distribute the daylight signal to the micro-controller for the driveway sensors activation.

• Locate and purchase a transmitter and receiver for remotely controlled use of the system. This needs to be a four-button, four-signal device or something that is able to send at least four signals

• Find an old opening unit that works so the design can be tested. • Locate and purchase a solar sensor to with one output signal. • Locate and purchase relay switch for the garage and driveway lighting circuit.

2.2.2 Functional Requirements

Below is a list of functional requirements in which the SGDS system will be designed to meet:

• Door Timer – When the garage door is opened and the SGDS is activated, a

timer will be initialized and start to count down. Upon the completion of the count down the garage door will close. If the user wishes for the door to remain open a SGDS override button will exist. This button will enable the user to switch off the SGDS and return the opener to its original operating mode.

• Lights Timer – When the garage door open or close signal is present, driveway lights will come on based upon the output of a solar sensor. After the lights turn on a timer will be initialized and begin to count down. Upon the completion of the count down the lights will turn off.

• Solar Sensor – The purpose of this sensor is to send a signal to the micro-controller telling the controller if it is light or dark outside. If it is dark then the driveway light function will be activated.

• Magnetic Sensors – These sensors will be mounted on the garage door opener rail and positioned so detection of open and closed states is possible. A magnet will be mounted on the moveable door connector, and the magnetic

Page 10: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

6

sensors will be positioned on the opening rail in position such that contact will be made when the door is in an open state and a closed state.

• Obstruction Sensor – There will be an infrared (IR) sensor that will be mounted parallel to the door to make sure that the garage door will not close on any object in the way of the sensor beam. If the IR beam from this sensor is interrupted or blocked in any way an obstruction is present in the doors closing path. The signal will not be present and the door will immediately go back to an open state or stay in an open state.

• Driveway Lighting Relay – This device shall have a set of contacts, which will close when a signal is present. When the contacts close, the driveway lighting circuit will be energized and the lights will come on. This circuit will be wired in parallel with the power switch that resides in the home to give manual lighting control to the homeowner. (See Appendix C)

• Micro-controller – The SGDS micro-controller will take input signals from the remote transmitter and wall-mounted buttons. It will then logically compare these signals with the magnetic sensor, obstruction sensor, and solar sensor signals present at that time. The programming will then send the appropriate signal to the outputs and through the open and close contacts of the door opener to tell it what is should do. (See Appendix D for program pseudo-code)

• Four-button Controllers – A wireless receiver and transmitter combo will provide 4 different signals that will be relayed via wire to the SGDS micro-controller. A four-button wall mounted control panel will be wired in parallel with the transmitter output wires running to the micro-controller. Connecting these in parallel will give the wall-mount controller the same functionality as the remote transmitter. The micro-controller will be programmed in a way that the presence of different signals from the transmitter will output a different function.

2.2.3 Design Constraints

Limitations to consider for design of the SDGS are:

• Transmitter/Receiver Unit – Locating a device which has the exact functionality defined may extend beyond the time frame given for the project. Alternate forms of signals may have to be used for testing purposes.

• Extreme cold – Extreme cold may affect the timing circuits. This problem will be solved by placing the timer circuit is inside the garage so harsh weather conditions are not a factor.

• Battery power – This system will only work if the batteries used in the remote controller have enough power.

• Two-door garage – The system will only control up to 2 garage doors.

Page 11: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

7

2.2.4 Measurable Milestones

The following list gives a brief description of the major completion phases involved in the design project:

• Start of project (completed) o Define problems to be solved and document the results.

• Problem Definition Completed (completed) • Finalize Physical Design Plan (completed) • Acquire all necessary parts for Design Phase (completed) • Completion of Implementation Phase (2nd semester) • Completion of Test and Verification Phase (2nd semester) • Completion of Technical Documentation (2nd semester)

2.3 END-PRODUCT DESCRIPTION

The SGDS will provide the rail-type residential-grade garage door units with automatic closing capabilities. An adjustable timer will be internal to the system, which in turn, will close a garage door when timed out. The SGDS is smart enough to control up to two different garage door units and can also be disengaged in the case a user simply wants to work the garage door unit in the basic opener fashion. The SGDS can be retrofitted to most modern garage door units.

2.4 APPROACH AND DESIGN

This section will define the technical approach taken in solving the problem, explain the technical design, define the testing description, and list project risks and how these risks will be managed.

2.4.1 Technical Approach

The approach to this design problem is to draw up all the different scenarios and determine the correct functionality for the SGDS system. Below is a list of scenarios that applies to the functionality of the garage door system.

The different scenarios that exist in any garage door system are as follows.

• The door is to stay open after initially being in a closed position and remain open. Example – The owner walks into the garage, decides to work outside, and desires to have the garage door open while they work.

• The door is to close from the initial open position and remain closed. • The door is to open from the initial closed position, stay open for a set

amount of time, and then close after time has elapsed.

Page 12: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

8

A micro-controller was chosen for all the system logic due to the high number of inputs this system has. Hardwire logic is an option but would be very hard to troubleshoot do to the size and complexity of the circuit. Outputs of this controller will send a signal to the opener unit, which will control the actual opening and closing of the garage door.

A way of transmitting a signal from a remote control to the micro-controller is needed. This can be done by designing a transmitter/receiver system or purchasing an existing system. Since many transmitter/receiver systems already exist it makes sense to purchase the product rather than waste time re-inventing. Also, a wall mount is needed for inside the garage. A four-button device will also be purchased for this.

Logical checks and safety devices are needed for this device too. Obstruction sensors will be used to check the door opening for blockages. Magnetic sensors will be used to check if the door is in an open or closed state.

Timer circuits will be purchased for the driveway lighting and door closure timing. Potentiometers will be used to make the timers adjustable.

A free Craftsman opener was given to the team for testing purposes. This opener has open and close contacts and a lighting circuit installed.

Page 13: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

9

2.4.2 Technical Design

This system can be visualized by observing the block diagram shown in Figure 1.

Figure 1: Design Block Diagram

Each different block/component will be purchased separately. The micro-controller will be programmed to take all the device inputs and send an output signal to the open or close contact of the opener unit itself. Team SGDS discussed the technical design for the system, and design decisions will be made based on cost of parts, complexity of the system as a whole, complexity of each part, usability of each part, and availability of each part.

Following is a diagram displaying the general layout of the wall-mounted and remote control. The buttons on both controllers are backlit to accommodate low-light usage and users that are color-blind.

Page 14: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

10

Door 1

Door 2

Override1

Override2

Figure 2: General controller layout

The descriptions below describe the functionality of the wireless transmitter/receiver and button control system.

• Opening (opening the garage door from a closed position and leaving the door open) – This will be initiated by a push button override. Pressing either override button 1 for door 1 override or override button 2 door 2 override will open their respective door and override the timer. A signal will be sent from the transmitter unit on the button release. (1 to 2 second delay).

• Close (Immediate close from any state) – Close the garage by pressing either one of the two consecutive garage door buttons.

• Open & Close (Automatically) – To operate, the user will need to press one of the garage door buttons on the controller (button 1 or button 2). This will open the garage door from a closed position and expect it to only stay open for the set amount of time. The time from open to close will be determined by the user (factory default at one minute). After the timer times out, a signal will be present at one of the inputs on the micro-controller and a door closing output signal will be sent to the opener unit.

Environmental Inputs to SGDS

• Magnetic Sensors – Allows the system to monitor the status of the garage door. Determines whether the garage door is in an open or closed status.

• Obstruction Sensors – Allows the system to detect obstructions. If an obstruction exists, the system will move the door into an open state (if not already in this state), wait until the obstruction is gone, and then restart the timer.

Page 15: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

11

• Solar Sensor – Allows the system to determine if daylight is present. If daylight is not present then the driveway lighting circuit should not be activated.

• Pressure Pad/Tire Hump (Optional) – Allows the system to determine whether the vehicle is inside the garage or not. Purpose is to be determined.

User Interface Devices to SGDS

• Mounted Push Buttons to Interior of Garage – Allows the user to control the system from inside the garage.

• Remote Control – Allows the user to control the system from a remote location.

2.4.3 Testing Description

Finding a person who owns a garage door system and is willing to let the group test the design on it is not very practical so design testing will be done in a simulated fashion. A 1/3 h.p. Sears Craftsman opening unit was given to the team by The Door Store located in west Ames. The sensors, controllers, and timers will be wired into the micro-controller and evaluated so the correct output signal can be sent to the door-opening unit. (Appendix A) Once the simulation layout is constructed each system component will be tested for the correct signal output by taking readings from a multi-meter. After output signals have been verified the system functionality will be tested on an individual component basis. The individual component testing is described below.

Door Timer – The garage door will be opened and a stopwatch will be started to check for proper functionality. If the door stays open too long then the timer and the timer settings are not functioning properly and need to be re-adjusted.

Lights Timer – The garage door will be opened after dark to see if the lights are working. After the lights are lit, a stopwatch will be initiated to keep track of how long the lights stay on. The lights should turn off after the preset time has expired.

Obstruction Sensor – The garage door will be closed and an object will be placed in front of the sensor to simulate an obstruction. The door should stop and return to the open position. If the door does not return when the sensor is obstructed the sensor will need checked for proper alignment and functionality. When the door is returned to the open position, a stopwatch will be started to test the timer circuit again.

Four-Button Controller – pressing the proper buttons will test each of the different possible scenarios. One of the garage door buttons will be pressed and a stopwatch will be started to test the scenario where the user desires the door to close automatically. After the preset time has expired the garage door should close. Pressing the proper button and observing the door in an open position for a period longer than the preset timer will test the override button.

Page 16: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

12

Driveway Lighting – A lighting circuit with a switch will be wired to a light fixture and tested. This will simulate a driveway lighting system that is controlled from a switch in the home. An additional relay controlled lighting circuit will be wired in parallel to the switch based circuit. When the relay gets a signal from the processor it will close a set of contacts, which will energize the circuit and turn on the driveway lights. Figure 3 displays a diagram of the lighting circuit.

Figure 3: Lighting Circuit Diagram Magnetic Sensors – The output signal will be verified with a multi-meter when

the door is opened and closed. Microprocessor – The microprocessor will be purchased and should be in

working condition. If it doesn’t work then it will be returned for a new one. Solar Cell – The solar cell will be placed in a well-lit area to determine that it is

able to generate a signal. The cell will then be covered to determine that the signal disappears.

Power Relay

Lighting Circuit

External Lighting Output Signal from SGDS

Main Source Power Feed

Wall-Mounted Manual Power Control Switch

Page 17: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

13

2.4.4 Risk and Risk Management

Budget Financial aspects of a project are very important to keep track of. The following are some financing areas the team is especially concerned with:

• The project is terminated when no remaining budget is available. – The

available budget will be checked on a weekly basis. Personnel When more than one person is assigned to a project there is always risk that one or more of the members may not perform to what is required. Following are personnel issues the team is concerned with: • Each member fully understands the responsibility of other members – If

responsibility is an issue the team leader will address everyone together. • A team member is dismissed or lost for unforeseen circumstances. – Project

responsibilities will be reassigned. Risk Factors Other factors the team needs to be concerned with are: • Missing Deadlines – The team must be organized and keep to a schedule. • Not Saving Project – A habit of emailing the latest version of every

document will be developed. • Losing Disks – The project will be saved in more than one place. • Unexpected equipment failure – The teams communication skills will be put

to work immediately. • Misplaced equipment – The team will take extra care in putting equipment

away and making sure everything is organized before meetings are adjourned.

Page 18: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

14

2.5 Financial Budget

The following table contains a breakdown of estimated project costs and a breakdown of where the money will be spent. The team members will donate extra funds for parts and other unforeseen costs.

Table 2.5 Estimated Financial Budget

2.6 Personnel Effort Budget

This table displays the estimated personal effort for the entire project. The time is sub-divided into different milestones of the project.

Table 2.6 Estimated Personal Effort Budget

Personnel

Problem Definition

ResearchDesign Requirements

Design PhaseIm

plementation

TestingDocumentation

PresentationTotal Estim

ated Effort

Dave Barto 5 5 10 40 50 35 10 15 170Kyle Leinen 5 10 10 35 55 30 15 10 170Ben Molayal 5 10 5 40 50 40 15 10 175Brodie Pederson 5 5 10 50 50 35 10 10 175Total Estimated Effort 20 30 35 165 205 140 50 45 690

Item Cost Original Est.Poster $60.00 $50.00Other Printed Documentation $10.00 $10.00Parts $120.00 W iring $10.00 Sensors $45.00 Micro-Controller $40.00 Receivers/Transmitters $70.00 Total $165.00 $120.00Total Estimated Cost $235.00 $180.00

Page 19: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

15

2.7 Project Schedule This chart will help aid the team in keeping up to schedule.

Figu

re 4

: Gan

tt C

hart

Page 20: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

16

3 CLOSURE MATERIAL

3.1 PROJECT TEAM INFORMATION

Clients

Senior Design

Faculty Advisors Ralph Patterson III John W Lamont Office Phone: (515) 294-2428 Office Phone: (515) 294-3600 Home Phone: (515) 232-9933 Home Phone: (515) 292-5541 Fax: (515) 294-6760 Fax: (515) 294-6760 [email protected] [email protected] 326 Town Engr. 324 Town Engr. Ames, IA 50011-3230 Ames, IA 50011-3230 Team Members Dave Barto Ben Molayal 232 Welch Ave. apt. #4 237 Ash Ave. Ames, IA 50014 Ames, IA 50014 (515) 290-6695 (515) 292-9662 [email protected] [email protected] EE EE/Cpr E Kyle Leinen Brodie Pederson Friley 5574 Bennett 1209 Scholl Rd Ames, IA 50012 Ames, IA 50014 (515) 572-5271 (515) 292-8040 (712) 579-2590 [email protected] [email protected] EE Cpr E

Page 21: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

17

3.2 SUMMARY

Technology continues to play a greater role in our everyday lives. As this dependency grows, the probability that human error can significantly affect the performance of these high tech devices increases exponentially. Enter the SGDS system. Revolutionary in its ability to allow the user a peace of mind in no longer worrying whether they have closed the garage door after departing their home. The SGDS utilizes state of the art devices to monitor the status of the garage door and interprets what the user needs may currently be. The SGDS will feature a package that goes beyond the “usual” and will expand into important expected and unexpected features. Once completed, the SGDS will offer homeowners precisely what they have desired in a garage door opening system.

Page 22: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

18

4 Appendix A Garage Layout

Figu

re 5

: Gan

tt C

hart

Page 23: Smart Garage Door System - seniord.ece.iastate.eduseniord.ece.iastate.edu/projects/archive/may0303/Design Report.pdf · their garage door. This type of problem costs the homeowner

19

B Program Pseudo-Code

\\INPUTS (Note: Single door for simulation testing) M1 and M3 = Magnetic Sensors to door open position M1 is for door 1 and M3 is for door 2 M2 and M4 = Magnetic Sensors to door closed position M2 is for door 1 and M4 is for door 2 OX = Obstruction Sensor (X is sensor number...1 or 2) S = Driveway light Sensor X = Wall-mounted light switch circuit sensor input IX = Input from the receiver (X is the button number of the transmitter or wall-mounted button...1,2,3,or4) TD = Timer for Door TL = Timer for Lights \\Total of 11 Inputs \\OUTPUTS L = Output signal to lighting relay OCX = Open or Close signal...door 1 or 2 \\Total 3 on a dual door system \\DOOR OPEN MODE if M1==1&&O1==1&&I1==1 \\Door is open and user wants to close door OC1==1 (plus some timing function TD) if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end if M3==1&&O2==1&&I2==1 \\Door is open and user wants to close it OC2==1 (plus some timing function TD) if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end \\DOOR CLOSED MODE if M2==1&&O1==1&&I1==1 \\Door is closed and user wants to open it OC1==1 (plus some timing function TD) if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end if M4==1&&O2==1&&I2==1 \\Door is closed and user wants to open it OC2==1 (plus some timing function TD) if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end \\OVER-RIDE MDDE \\OPEN DOORS if O3==1||O4==1 if M2==1&&O1==1 \\OPEN DOOR 1 if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end end if O3==1||O4==1 if M4==1&&O2==1 \\OPEN DOOR 2 if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end end \\CLOSE DOORS if O3==1||O4==1 if M1==1&&O1==1 \\CLOSE DOOR 1 if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end end if O3==1||O4==1 if M3==1&&O2==1 \\CLOSE DOOR 2 if S==1 \\Lights go on for X amount of time if dark outside L==1(plus some timing function TL) end end end