22
King Abdul aziz university Faculty of engineering Electrical and computer Department Zero lock Mohammad M. AL-Saadi Jamal R. AL-Rehily Kamal Osman Graduation project improve version of telephone lock prof. adnan afandi fall 2007

King Abdul aziz university Faculty of engineering Electrical and computer Department

Embed Size (px)

DESCRIPTION

King Abdul aziz university Faculty of engineering Electrical and computer Department. Zero lock. Jamal R. AL-Rehily. Mohammad M. AL-Saadi. Kamal Osman. Graduation project improve version of telephone lock prof. adnan afandi fall 2007. INTRODUCTION. - PowerPoint PPT Presentation

Citation preview

King Abdul aziz universityFaculty of engineering Electrical and computer Department

Zero lock

Mohammad M. AL-Saadi

Jamal R. AL-Rehily

Kamal Osman

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Communication is considered as pulsating heart in the world Because no doubt it is the coming future with it's different arts and shapes.

INTRODUCTION

Communication is the hasten way for making the distances between the people near, either by telephone nor by post office, or by the internet, So let us to stop at that small equipment which holds more and more it's the telephone

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

It is the sending equipment which contains a number which communication completes By it, So Zero between these numbers. Zero is the clear expression for connecting to other country or other city. As many people not use these number as well us ideal using, thinking for trying to abolish this Number from the telephone except where necessary

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

This idea isn't new , but the new that we use a computer by using completing circle which programming through computer , and do all requisite (PIC. Micro Control). For that this project forming three two parts.

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

How to use the project:

Our project is working automatically if your connect it to the power and telephone Line, but the user is needed at the case of errors removing password changing, other wise the project working properly.

1. at the case of the line bad the project gives the message (Line bad ) on the LCD and the PC also gives alarm

2. at the same time of incoming call it gives the message (Ringing ) the ID of the caller

3. at tha same time if out calling if gives a message of (dialing ) and gives called ID Not allow of national or international calls for the persons that has not password and off the line if three successive wrong password

4. By entering the key the project gives a chance to cancel the errors and changing the password

5. Any call external of the home not allowable even local call.

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Benefits of the project

This is better than last one that this project has LCD that gives messages of warning And guiding. Also this project gives the same massages to the PC (Personal computer ) that can print the result and the complete report including the data And time.

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Our project consist of (Manly) : 1. MCU (Micro controller ) 2. DTMF receiver 3. LCD ( Liquid crystal display ) 4. Line hand set Ringing sensors 5. Relays to one of the line 6. Power supply

The content of the project

Polarity corrector LINE SENSOURE

PIC

LCD

Telephone line

Block Diagram

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

LCD

B7

B6

B5

B4

B3

B2

B1

B0

Vcc

MCLRA0

A1

A2

A3

A4

A5

D1

D0

c3

c2

c1

c0 c7c6c5c4

D3

Vcc

PIC

16F

871

A0

A2Vcc

1KΩ

DT

MF

100kΩ

100v0.1µF 100v

0.1µF

300KΩ

1KΩ

Vcc

Line bad

Hand set

Ring

100kΩ

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

220V 9V

7806Vcc=6v

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Flowchart and description of the project:

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Read in EE prom

No. of Error =3

DTMF

Hand set left

Ring

No

No

No

1

2

3

Yes

Yes

Yes

Key

Line bad

System off Yes

No

No

4Yes

5Yes

Lead in LCD Telephone lock Prof. A. Afandi

1

DTMF

First No.Time out No

aa

Yes

LCD

yes

Next numberTime out

aa

NO

NO

No

answering

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

2

Line good

First No.

0

YES

YES

Sorry Local call only YES

*

#

No

NO

Line Bad

beeb

Hand setaa

flash

NoNO

NO

Enter password

YES

Hand set.

Stop data transfer to

PcYes

Local call

No

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Enter password

Line good

First No,YES

Line badNo

Yes

YesHand set aaNo

No

Line good

Second noYES

Line badNo

Yes

YesHand set aaNo

Line good

Third NoYES

Line badNo

Yes

YesHand set aaNo

Line good

Forth no

Line badNo

Yes

Yes

Hand set aaNo

Compare Corrct?

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Compare

correct ? Yes falsh

localNo, of erro +1

No

Sorry Local only

No of erro=3 System offyes

Hand set

Beeb

Yes

aa

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Local

aa

Hand set

NO

System off

#

0

Sorry local call only

flash

local

Yes

Yes

*

No

No

No

Stop data transfer to PC

Yes

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Erase No. of errors Off error LED

4

Write in EE prom

Saved relese Hand setRemove the key

local

Hand set

Line good

First NO.

Line bad

Yes

Yes

aa No

No

Hand set

Line good

Second No

Line bad

Yes

Yes

aa No

No

Hand set

Line good

Third NO

Line bad

Yes

Yes

aa No

No

Hand set

Line good

Forth No

Line bad

Yes

Yes

aa No

No

M-8870 DTMF RECIVER

Features:

1. Low power consumption 2. Adjustable acquisition and release times 3. Central office quality and performance 4. Signal 5 volt power supply.5. Dial the suppression.

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Applications:

1. Telephone switch equipment 2. Mobile radio 3. Remote control 4. Remote data entry

Functional Description :

M-8870 operating functions (see fig. 16 ) include a band split filter that separates high and low tones of the received pair, and a digital decoder that verifies both of frequency and duration of the received tones before passing the resulting 4-bit code to the output bus. See Table2.

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

general Description of PIC16f871

The pic16f871 is a low-cost performance CMOS, fully static, 13bit microcontroller.

The Data EEPROM and FLASH Program Memory are readable and writable during normal operation over the entire VDD range. A bulk erase operation may not be issued from user code (which includes removing code protection). The data memory is not directly mapped in the register file space. Instead, it is indirectly addressed through the Special Function Registers (SFR).

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

LCD:

liquid crystal display

Software:

using acacia code we came write the characters and numbers and symbols also we have some. Instruction to write, clearing addressing shifting all these instructions

Graduation project improve version of telephone lock prof. adnan afandi fall 2007

Cost of project :

part number of chip prise (SR)

Relay 2 5

case 1 20

resistance 20 0.2

transformer 1 5

bridge rectifier 2 2

capacitor 100µf 1 2

on/off switch 1 2

pic 16f871 1 5

capacitor 22 pf 1 30

MT 8870 1 1

buzzer 1 13

power call 1 5

telephone call 1 3

strip board 2 2

LCD 1 10

variable Resistance 10k 1 120

Connectors 25 way 4 2

computer call 25 way 1 10

Total Cost 268 SR