Download presentation
Presentation is loading. Please wait.
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 AT29C512 Electronically erasable and programmable read only memory(EEPROM)
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.PSC05
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 Part # Name Model 1ThermostatHoneywell PRO3000 2MicrocontrollerMC68HC11E0 3 Door/Window Sensor N/A 4X10 Transceiver2-way power line 5X10 Appliance module2 Pin Polarized 6DTMF DecoderR-TT7
28
Timeline
29
Updated Deadlines and Goals Feb 27 th – CDR: working phone decoding and micro controller running (no code) with working reset. Mar 20 th – Milestone I: computer and phone control over lights and garage door. Apr 17 th – Milestone II: computer and phone control over lights, 1 infrared device, thermostat and garage door motor, final PCB layout complete. May 3 rd – 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?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.