United Arab Emirates University College of Engineering Electrical Department Graduation Project II E - PowerPoint PPT Presentation

1 / 57
About This Presentation
Title:

United Arab Emirates University College of Engineering Electrical Department Graduation Project II E

Description:

System Block Diagram & Activities. Start. Press the Button. Detection of the Pressed Button ... FME male coaxial jack (antenna connector) GM 29 Sony Ericsson Modem ... – PowerPoint PPT presentation

Number of Views:162
Avg rating:3.0/5.0
Slides: 58
Provided by: stude663
Category:

less

Transcript and Presenter's Notes

Title: United Arab Emirates University College of Engineering Electrical Department Graduation Project II E


1
United Arab Emirates UniversityCollege of
EngineeringElectrical Department Graduation
Project (II) - ELEC 590
Wireless Intercom (Range U.A.E)
Advisors Name Dr. Qurban Ali
Students Names ID Numbers Abeer M.Al
Naimi 200105311 Arwa Abdul Qader
199904138 Halima Abdulla Al Har
200105207 Yousra Abu-Baker Al Siddig
200107215
2
Outlines
  • Introduction Design Description.
  • Objectives.
  • System Operation Details.
  • Microcontroller Programming.
  • Software Hardware Testing.
  • Health, Safety Environment Issues.
  • Conclusions Recommendations.

3
Wireless Doorbell Intercom System
4
Objectives
  • Providing wireless communication bridge between
    mobile phone and intercom.
  • Implementing wireless doorbell intercom system
  • Construct and integrate system modules.
  • deal with the necessary controlling software
  • troubleshoot any problems within development and
    construction phase.

5
Work Strategy
  • Graduation project I
  • Specifying the design.
  • Choosing the design parts and components
  • Studying the theory of wireless communications
  • Studying the microcontroller
  • Studying different system interfaces
  • Graduation project II
  • Writing the software program for the
    microcontroller
  • Implementing the hardware connections.
  • Testing Debugging of the integrated system.

6
System Operation Details
  • System Flow Chart.
  • System Block Diagram Activities.

7
(No Transcript)
8
System Block Diagram
9
Block Diagram Activities
10
PIN Diagram System Main Components
11
Pin Diagram
12
System Main Components
  • Doorbell Intercom
  • GSM Mobile phone
  • Microcontroller
  • GM29 Wireless Modem
  • Power Supply
  • Max 232
  • DTMF

13
Doorbell Intercom
  • What is an intercom?
  • What is a Doorbell Intercom?
  • Product Used

14
KOCOM INTERCOM
15
Microcontroller
  • What is Microcontroller?
  • Why is it used?
  • What type of Microcontroller is used in our
    project?

16
Wireless Modem
  • What is the Wireless Modem?
  • Why is it used?
  • What is the modem chosen for the project?

17
GM 29 Sony Ericsson Wireless Modem
Sub-D socket, 9 pin (RS232 serial port)
18
MAX 232
  • A full duplex dual driver/receiver chip
  • Reduces the RS232 voltage to 5V

19
MAX 232 Pin Diagram
20
MAX 232 CONNECTION
21
DTMF
  • What does DTMF stand for?
  • Why is it used?
  • What kind of DTMF was chosen for our project??

MC145436AP
22
DTMF Frequency band
23
DTMF Connection
24
Power Supply Design
  • The voltage required for IC is 5 V.
  • The designed power supply provides a variable
    output DC voltage ranging from 0-15V with a
    voltage ripple 100 mV.

25
Power Supply Components
  • Transformer
  • Rectifier
  • Potentiometer

26
Continue
  • LM317 Regulator
  • A regulator converts varying input voltage and
    produces a constant "regulated" output voltage.

27
LM317 Regulator Circuit
28
Power Supply Circuit
29
Power Supply Design Calculations
  • To calculate the output voltage of the
    transformer, the input voltage to the rectifier
    was calculated.

30
Continue..
  • To calculate the value of the filter capacitor

31
Continue
  • R load was calculated as follows

32
Final Power Supply
33
GSM Mobile Phone
  • What is the GSM Mobile Phone?
  • Why is it used in this project?

34
Microcontroller Programming
  • Software Processes
  • PIC Basic Pro Compiler
  • How PBC works
  • Sample Code for testing
  • Implementation issues
  • Completed Program

35
Software Processes
  • According to the software specifications planned
    for this project, the following functions were
    taken into consideration
  • Connection
  • Modem Initialization.
  • Establishing communication between voice
    handling device and the mobile phone.
  • On board device at home (controller)
  • Dialing the stored number.
  • Deciding mobile phone state (Busy/Switch off).
  • Playing message.
  • Detecting key 'B' and releasing door-latch.
  • Disconnecting the call.

36
PICBasic Compiler Pro
  • First computer module based on BASIC language
    (1995).
  • PBASIC used EEPROM (Electrical Erasable
    Programmable Read Only Memory).
  • PicBasic (PBC)
  • - faster.
  • - limitation.

37
How PBC Works
  • The PBC are a batch of short little assembly
    language program written to do certain tasks.
  • When the compiler is run, it groups those little
    programs together according to the PBC program
    structure.

38
PICBasic Pro Compiler Sample Code for testing
  • Scrolling LED Project

39
Scrolling LED Program
40
Implementation Issues
  • Dialing the number
  • Mobile State
  • Releasing the door latch

41
Dialing Function Code
  • Dial
  • High TXD
  • HSerout"AT" Check the modem status
  • Low TXD
  • Pause 1000
  • High TXD
  • HSerout"ATD0507532112" Store the number
  • Low TXD
  • Pause 1000
  • High TXD
  • HSerout"ATDME0507532112" Dial the stored
    number
  • Low TDX
  • Pause 1000
  • Return

42
Mobile State Function code
me
HIGH TXD HSEROUT "ATX2" ' busy line LOW
TXD PAUSE 2 IF HIGH RXD THEN HSERIN
500,ME,wait("OK") GOSUB msg ELSE HIGH TXD
HSEROUT"ATH" TXD0 RETURN
43
msg
RXD0 High PORTB.0 Sound PORTB.0,dur,freq
'play msg on intercom Pause 6000 Low
PORTB.0 Return
44
Releasing the door latch Function Code

45
Completed Program
DEFINE LOADER_USED1 'only required if
bootloader is used to program PIC DEFINE
HSER_RCSTA 18h 'set recieve register to
receiver enabled DEFINE HSER_TXSTA 98h 'set
transmit register to transmitter enabled DEFINE
HSER_BAUD 9600 'set baud rate DEFINE
HSER_SPBRG 99h 'set SPBRG directly DEFINE
HSER_CLROERR 1 INCLUDE "modedefs.bas" init TRI
SA111000 ' set port A
status TRISB10000010 ' set port
B status PORTA000000 ' initial
state of port A PORTB00000000 '
initial state of port B TXD VAR
PORTB.6 ' Transmit to modem
RXD VAR PORTB.7 ' Recieve from
modem freq VAR WORD dur VAR
WORD Lock VAR PORTB.4
46
Completed Program
main GoSub Dial freq4000 dur7000 GoSub
ME GoSub latch End Dial High TXD HSerout"AT"
'Initialize the Modem Low TXD Pause
2000 High TXD HSerout"ATD0507532112"
'Store number Low TXD Pause 2000 High
TXD HSerout"ATDME0507532112" 'Dial the
stored number Low TXD Pause 2000 Return
47
Completed Program
Pause 2000 Pause 2000 Return ME High
TXD HSerout"ATX2" ' busy line Low
TXD Pause 2 HSerin 500,ME,wait("OK") IF RXD1
Then GoSub msg Else High TXD HSerout "ATH"
Low TXD Pause 2000 EndIF Return msg Low
RXD High PORTB.0 Sound PORTB.0,dur,freq
'play msg on intercom Pause 6000 Low
PORTB.0 Return
48
Completed Program
latch DTMFOut PORTB.1,2 IF PORTB.1 Then High
Lock Else Low Lock End IF Return
49
Mobile to Microcontroller
50
Microcontroller to Modem
51
Microcontroller to Intercom
52
Health, Safety Environment Issues
  • Metal parts should be removed when switching on
    the system.
  • The device (to be installed) inside the house
    should be installed at a location that is not
    reachable by a child to avoid electricity
    contact, and setting of the switch in the away
    mode this would unnecessarily connect to mobile
    phone while owner is in the house.

53
Health, Safety Environment Issues
  • If possible, the device inside the house should
    be housed in safe cover.
  • The frequencies used by the system are GSM
    signals, and are considered safe in the public
    domain.

54
Conclusion
  • The aim is to implement a wireless intercom which
    communicate within the range of UAE.
  • Increase the system mobility and easy to use.
  • Provided us with the opportunity to learn and
    gain experience in many fields.
  • Work with different standards instead of GSM
    standard only, such as GPRS, UMTS, etc.

55
References
  • Intercom, http//www.answers.com/library/Wikipedia
    -cid-965636858, (20/2/2006).
  • What is a Microcontroller, http//www.wisegeek.com
    /what-is-a-microcontroller.htm, (18/4/2006).
  • Code Loader Program, theByteFactory,
    http//www.thebytefactory.com/, (23/4/2006)
  • PIC16F876 Microcontroller, Futurlec,
    http//www.futurlec.com/Microchip/PIC16F876.shtml,
    (23/4/2006)
  • http//www.kmitl.ac.th/kswichit/MAX232/MAX232.htm
  • http//www.datasheetcatalog.com/datasheets_pdf/M/A
    /X/2/MAX232.shtml
  • http//nemesis.lonestar.org/reference/telecom/sign
    aling/dtmf.html
  • http//innovexpo.itee.uq.edu.au/2003/exhibits/s400
    7360/

56
Thank you for listening
57
Any Questions???
Write a Comment
User Comments (0)
About PowerShow.com