1 / 32

A-Team

A-Team. Home Central Control Unit Kevin Cooke Peter Larson Ben Verstegen Andreas Rugloski Aden Abdillahi. Design Overview. Home Central Control Unit Controllable by Laptop Phone Able to adjust or turn on/off household items

renee
Download Presentation

A-Team

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. A-Team Home Central Control Unit Kevin Cooke Peter Larson Ben Verstegen Andreas Rugloski Aden Abdillahi

  2. Design Overview Home Central Control Unit • Controllable by • Laptop • Phone • Able to adjust or turn on/off household items • Ability to check status of garage door and of thermostat setting

  3. Functional Requirements User will be able to access the system via: • Laptop: Use from within house Test with cable -> Move to wireless • Phone: Password, Voice prompt, Device status (for garage door and thermostat) and option to change the setting

  4. Functional Requirements • Turn on and off lights or any other plug-in devices. • Check current setting of house thermostat and have the ability to adjust it. • Check if the garage door is open or closed and have the ability to toggle or leave in current state. • Turn on and off infrared devices and possibly some controls such as volume.

  5. Block Diagram Outline

  6. Control Unit Block Diagram

  7. M68HC11E0 Schematic

  8. Type and Features of MCU • MC68HC11E0 • 52-pin plastic thin quad flat pack (TQFP) • low voltage (3.0 – 5.5V) • 512 on-chip RAM • Synchronous serial peripheral interface (SPI) • Asynchronous (NRZ) serial communication interface (SCI) • 8-bit A/D converter

  9. RAM Schematic Electronically erasable and programmable read only memory(EEPROM) AT29C512

  10. Features of AT29C512 • Single cycle reprogram (erase and program) • Fast read access time – 70ns • Low power dissipation (50mA active current and 100uA CMOS standby current) • Internal program control timer • Typical endurance > 10,000 cycles • Single 5V +/- 10% supply • 512K memory

  11. Reset Switch

  12. Phone Interface • Upon dialing you will hear a voice prompt • Enter user ID and password • Toggle device status • Voice feedback giving device status • Logout command • Requires a touch tone phone • Includes cell phones

  13. Phone Interface Block Diagram

  14. Ring Detector – TCM1520 • Telephone ringing voltage: 90V - 140V @ ~20Hz • TCM1520 • Simple, cheap, SAFE! • Use of optocoupler completely electrically isolates circuit from phone line

  15. Hook Switch – HT18 • Hook switch is a switch that connects TIP to the switching station to connect to incoming call. • HT18 is an electronic line switch bypassing the need for hook switches.

  16. DMTF Decoder – TT7 • DTMF: Dual-tone multi-frequency • Every button on phone has two unique frequencies • TT-7 deciphers which button pressed • Buttons • 1-9 will be commands • 0 will logout

  17. Audio Feedback – ISD2560 • ISD2560 • Single chip, multi-message, voice record/playback device • Microcontroller compatible • Allows complex addressing • Recordings stored on chip in EEPROM • Amplified outputs • Connect to audio transformer to send audio data down phone line

  18. Serial Interface • Computer connects to home unit via serial cable • Start testing with cable, then move to wireless. • Control of each device using keyboard • Monitor shows status of each device

  19. MAX232 Level Converter • RS-232 interface requires • +3V to +12V ON state • -3V to –12V OFF state • MAX232 • Delivers +/- 10V

  20. Thermostat Model: Honeywell Pro 3000 Plans of attack: 1) Reverse engineer to understand/control the microprocessor on the circuit board: ATMEGA169V 2) Hardwire as a counter

  21. X10 Equipment • The Two-Way Powerline Interface Module allows us to interface with the powerline using standard X-10 protocol. • Connects to a serial port using a standard RJ11 telephone connector and cable. • We are using the Appliance, Lab and Relay module.

  22. X10 Binary Codes • The Transceiver (PSC05) provides a 60 Hz square wave with a maximum delay of 100 µsec from the zero crossing point of the AC power line.

  23. Software • Phone tree • Majority of software composed from Flash and CPLD • Inputs/Outputs: 8 data bits, 16 address bits, • Inputs: phone signals, serial data, door status, temp • Outputs: voice prompt, operation commands

  24. Input Signals • Garage Door - Door sensor on garage door will go low if the garage door is open or send high if the door is closed. • Thermostat – If we use the counter method, we will hardwire the buttons on the thermostat to some simple logic which will keep track of the current thermostat setting.

  25. More Input Signals • Phone – Our circuit will pick up the ring signal and take it off-hook. From here our TT7 will read in the two sine waves and will set the corresponding pin to low. • Laptop – The serial port on the microcontroller will wirelessly receive the signals from the laptop via a transceiver.

  26. Output Signals • Toggle lights via X10 signal • Garage door toggle signal • Thermostat: increment or decrement command • Infrared: sends signal pattern to infrared LED • Voice Prompt

  27. Parts List

  28. February March April May ID Task Name 30 2 5 8 11 14 17 20 23 26 1 4 7 10 13 16 19 22 25 28 31 3 6 9 12 15 18 21 24 27 30 3 6 9 12 15 18 21 24 27 10 Critical Design Review 15 Touch Tone Decoder KC,BV,ADR 11 CD-R and Hard Copies BV 12 Collection of Data/Schematics ADR 13 PPT Presentation ADR 14 Rehearse for Presentation AGM 1 Weekly Progress Reports 2 Weekly Progress Reports 3 Weekly Progress Reports 16 First Milestone 17 Appliance Modules KC,BV 20 Micro Controller AA,AGM,BV 18 Lighting and Phone Interface BV,PL 19 Garage Door Device ADR 4 Weekly Progress Reports 34 Spring Break 5 Weekly Progress Reports 6 Weekly Progress Reports 7 Weekly Progress Reports 21 Second Milestone 22 Thermostat KC,BV 23 Computer Interface BV 24 Control Program AA 25 IR KC 8 Weekly Progress Reports 9 Weekly Progress Reports 26 Capstone Expo 32 User's Manual ADR 31 Demo/Explanation AGM 27 Technical Reference Manual ADR 28 Critiques AGM 29 Display Board ADR 30 CD-R and Hard Copies BV 33 Device Housing ADR Timeline

  29. Updated Deadlines and Goals • Feb 27th – CDR: working phone decoding and micro controller running (no code) with working reset. • Mar 20th – Milestone I: computer and phone control over lights and garage door. • Apr 17th – Milestone II: computer and phone control over lights, 1 infrared device, thermostat and garage door motor, final PCB layout complete. • May 3rd – Capstone Expo: wireless computer and phone control over lights, thermostat, infrared devices, all bugs worked out.

  30. Testing • Microcontroller- -Used logic analyzer to check reset button and wiring. • DTMF Phone decoder- - First tested the lab phone line directly to circuit - We then called the lab phone from a cell phone and tested if the circuit was reading the correct inputs.

  31. Group Member Tasks • Kevin – Thermostat, Infrared Devices • Peter – Microcontroller, RAM, Lighting Controls • Aden – Microcontroller, RAM • Andreas – Tech. Ref. Manual, Garage Door Device, Phone Interface • Ben – Phone Interface, Control Cards, PCB

  32. THANKS! ANY QUESTIONS?

More Related