31
Final Presentation 16 April 2008 Cell Phone Controlled Security System Team Members Kevin Brown Don DeLaMare Brian Faires

Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

Final Presentation

16 April 2008

Cell Phone Controlled Security System

Team MembersKevin Brown

Don DeLaMareBrian Faires

Page 2: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

6812  Microcontroller

Size 2.2" X 1.6"

Page 3: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

32K Bytes Flash EEProm2K Bytes Ram31 I/O Lines8-Ch 16-bit TimersSCI/SPI PortsKey Wake-up port8MHz Internal Bus25MHz Operation40 pin connectorRS-232 Serical Port3 push buttons (2 user / reset)3 LEDs (2 user / VDD)

6812 Microcontroller 

Page 4: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

    We know how to use these 24 pins as I/O.  We can use  5 more pins.

Page 5: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 6: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 7: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 8: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 9: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 10: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 11: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

Keypad

7 parallel wires with four inputs and three outputs.  Each key corresponds to a row and a column.

Page 12: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

LCD Display  -  LCD1031 16X2 Characters

16x2 LCDYellow-green LED back-lightIncludes the HD44780 controllerMachine pin male headers  come out of back of board

Page 13: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

Busy Flag Timing Sequence

8-bit MCU Interface with LCD Controller

Page 14: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

HD44780 Character Map 

Page 15: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 16: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 17: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

MCU interface with Text to Speech chip

Page 18: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

MCU interface with Phone Line

     The microcontroller will have to pick up the phone on incoming calls if there is no answering machine.  The microcontroller will constantly listen to the phone line for a ring (high voltage pulse) and answer the phone (allowing a current to flow back on the phone line) after the desired number of rings. Then it will send out a string to the text to speech chip to say, “enter code.” Then the microcontroller will listen for a low and a high frequency to detect a row and a column of a four by four matrix to match a button press.  If the correct code was entered, it will go to the menus of the security system, then continue sending the menus' strings to the text to speech chip and listen for button presses to switch between menus.

Page 19: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

Schedule 

Page 20: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 21: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 22: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 23: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 24: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 25: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 26: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 27: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team
Page 28: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

                   Risks

Phone line inputHow quickly will our MCU be able to detect a button press?Will quickly pressing one key multiple times be detected as a single keypress?

 LCD Support chip

 Needed for 16x2. We won't know if we can do this until we have the LCD display. May have to stick with 8x2 or 16x1.

Page 29: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

Risks cont.Shortage of available pins:  We will aim to use serial/serial to parallel communication where possible. If there is still a shortage we can use encoders and decoders.

 Program size: If the program cannot fit on 32KB of EEPROM, we may have to replace some of the user specified options with predefined functionality.

Page 30: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team

Risks cont.

We want the user to be able to cut off a phone menu if they please. Since we don't know of a way to tell the TTS chip to 'stop talking' we may have to send it words at the rate of speech or ignore button presses mid-sentance.

Page 31: Final Presentation - The College of Engineering at the ...cs3992/archive/2008/Home_Security-final-p… · Final Presentation 16 April 2008 Cell Phone Controlled Security System Team