Title: ECE493 Senior Advanced Design Project II
1ECE-493 Senior Advanced Design Project II
- Design of A Remote Control System for Controlling
Home Appliances Via Telephone
2An Overview of the Presentation
- Introduction
- Overview of the system and its components
- Functions of the System
- How the System Works
- Sayed, Software Design of the Micro-controller,
68HC11 - Ahmed, Voice Chip, DTMF Decoder
- Hamed, Data Access Arrangement, and Relays
- Questions
3Introduction
- Group Members
- Hamed Alsaleh
- Ahmed Alnajadah
- Sayed T. Zewari
- Advisor Professor Kenneth J. Hintz
4Overview of the system and its componentsFunction
s of the System
- Turns on/off three electric devices.
- Require a four digit PIN number
- Allow user to change PIN number
- Confirm change of PIN number
- Provide voice messages to inform user of
- Menu Options available
- If the system needs to inform the user
- Provide security to prevent break ins into the
system
5Overview of the system and its componentsHow the
System Works ?
6Overview of the system and its componentsHow the
System Works ?
7Overview of the system and its componentsHow the
System Works ?
8Overview of the system and its componentsHow the
System Works ?
9Overview of the system and its componentsHow the
System Works ?
10Overview of the system and its componentsHow the
System Works ?
11Overview of the system and its componentsHow the
System Works ?
12Overview of the system and its componentsHow the
System Works ?
13Overview of the system and its componentsHow the
System Works ?
14Overview of the system and its componentsHow the
System Works ?
15Overview of the system and its componentsHow the
System Works ?
Please enter your PIN
16Overview of the system and its componentsHow the
System Works ?
17Overview of the system and its componentsHow the
System Works ?
18Overview of the system and its componentsHow the
System Works ?
19Overview of the system and its componentsHow the
System Works ?
20Overview of the system and its componentsHow the
System Works ?
21Overview of the system and its componentsHow the
System Works ?
22Overview of the system and its componentsHow the
System Works ?
0 0 0 1
23Overview of the system and its componentsHow the
System Works ?
0 0 0 1
24Overview of the system and its componentsHow the
System Works ?
0 0 0 1
25Overview of the system and its componentsHow the
System Works ?
0 0 0 1
26Overview of the system and its componentsSample
of Software Modules
Detect_count_offhook() Play_MESSAGE_1() Verify_pin
() Get_the_choice_for_PIN() Change_pin() Confirm_c
hange_of_pin() Execute_the_commands() Stop_playi
ng_messages() Get_the_choice_for_status() Status_
of_devices() Play_Menu() Play_MESSAGE_10() . .
. Play_MESSAGE_17() Turn_on_Device1() Turn_off_D
evice1() Hang_up() Play_if_Device1_on() Play_if
_Device1_off() Play_inform_the_user() Play_STATU
S_OF_DEVICES()
27Overview of the system and its componentsSample
of Software Modules
Detect_count_offhook() Play_MESSAGE_1() Verify_pin
() Get_the_choice_for_PIN() Change_pin() Confirm_c
hange_of_pin() Execute_the_commands() Stop_playi
ng_messages() Get_the_choice_for_status() Status_
of_devices() Play_Menu() Play_MESSAGE_10() . .
. Play_MESSAGE_17() Turn_on_Device1() Turn_off_D
evice1() Hang_up() Play_if_Device1_on() Play_if
_Device1_off() Play_inform_the_user() Play_STATU
S_OF_DEVICES()
28Overview of the system and its componentsHow the
System Works ?
Total Number of functions 34 Total pages
of codes 30 Size of program 9
kb Programming method Polling Development
Tool Introl CODE
29Overview of the system and its componentsFinal
Product
You are welcome to try it !
30Voice Chip (ISD 25120A) What is Voice Chip?
31Voice Chip (ISD 25120A) Recording on Voice Chip?
32Voice Chip (ISD 25120A) Playing Voice Chip?
33Voice Chip (ISD 25120A) Voice Menu
- Please enter the PIN
- Choose from the following menu
- PRESS 1 to turn on Device No. 1.
- PRESS 2 to turn off Device No. 1.
- PRESS 3 to turn on Device No. 2.
- PRESS 4 to turn off Device No. 2.
- PRESS 5 to turn on Device No. 3.
- PRESS 6 to turn off Device No. 3.
- To disconnect please PRESS the star key.
- The PIN you entered is invalid, Please try again.
- Please make your selection or hang up.
- Do you want to change your PIN number? If yes
PRESS 1. If no PRESS 2. - Please enter your new PIN number.
- Please confirm your new PIN by entering it again.
- Your PIN has been successfully changed.
- Please enter your PIN again. The PIN should be
entered within the time allowed. - PRESS 8 to hear the menu.
- PRESS 9 to check the status of devices or PRESS 0
to hear the menu. - Please try again later, good bye.
34DTMF Decoder (M-8870-01)What is DTMF Signal ?
Dual Tone Multiple Frequencies (DTMF)
35DTMF Decoder (M-8870-01)What is DTMF Decoder ?
36Data Access Arrangement Chip (CH1837A)
37Data Access Arrangement Chip (CH1837A)
Main Features Ring Detection Circuit
38Data Access Arrangement Chip (CH1837A)
Main Features On/Off Hook Switch
39Data Access Arrangement Chip (CH1837A)
Main Features Conversion Circuit
40Data Access Arrangement Chip (CH1837A)
Main Features PSTN Line Surge and High Voltage
Protection 2122 Volt Peak Surge Protection 1500
VAC RMS Isolation
41Solid State Relays (S101N11)
42Solid State Relays (S101N11)
43Questions ?
Please feel free to ask Questions
44Overview of the system and its componentsTesting
Procedures
45Overview of the system and its componentsTesting
Procedure
Interface between MCU and Voice Chip
46Overview of the system and its componentsTesting
Procedure
Interface between MCU and DTMF Decoder
47Overview of the system and its componentsTesting
Procedure
Interface between MCU and DAA
48Overview of the system and its componentsTesting
Procedure
Interface between MCU, DAA, Voice Chip
49Overview of the system and its componentsTesting
Procedure
Interface between MCU and Solid State Relays
50Overview of the system and its componentsTesting
Procedure
Interface between all Components of the System
51(No Transcript)
52Overview of the system and its componentsFuture
Options ?
53Overview of the system and its componentsPlaying
Message ?
/------------------------------------------------
-Start-of-function--------------------------------
-----------------------------/ void
Play_Menu(void) _H11DDRC
ALL_PINS_HIGH / configure all pins of PORT C
as output / _H11PORTB MESSAGE_2_TO_9
/ sets the address of the MESSAGE_2_TO_9 on
PORT B / _H11PORTC PC1_LOW / sets
pd of voice chip low by making PC(1) low /
_wait() _H11PORTC PC0_PC1_LOW / sets
the pin CE_bar of voice chip low by making PC(0)
low to start playing / _wait()
_H11PORTC PC0_HIGH / sets the pin CE_bar
of voice chip high to prevent playing all
messages / /------------------------
-------------------------End-of-function----------
--------------------------------------------------
---/