You are on page 1of 18

/

.1:

) (Ultrasonic Sensor SRF04
) (Stepper Motor EPSON
) 360
( ,
,
.
:
.1 ): (Hardware Part
.
.2 ): (Software Part
)Visual
.(Basic.net

.2 :
)
.2.1
.2.2
.2.3

(Ultrasonic Sensor .
.

.

.

.3 :
.3,1 :

:
) (
)(


.

.

.

)(
.

)
( .


.
.
90
3


.

:



.
:
:


= Pt

= Gt
= Ar
=
= F
= R

.
= 1

.
)(
.
:




.



:

) (
.
(signal to noise ratio SNR) .

:

.


.


.

.

.

.3,2 :

) (figure .3,1
.

) figure .3,1 (

:
:
)Parallel
.(Port
:
:
):(Output Amplifier


.
):( Input Amplifier

.
):(Peak Detector

).(PIC

.3,3 :

) (Parallel Port

) (Trigger )
Period) 10us ) (Cycle 8 )
(Ultrasonic 40KHz


.
) (Trigger 40KHz
) (PIC ) (SRF04

) (Echo ) (High
) (Low
) (Time Out
) (Low
36ms ). (Time Out
10ms .

.3,4 :

) figure .3,4,1 (

).(figure .3,4,1

4
6
2
3
1
1
1
1
-

$
0.25
0.25
1
0.5
4
20
40
10
-

220
1
5

ULN 2004
)(Stepper Motor
)(SRF 04
)(PCB

) 3,1 (

.3,5 :



40
50
90 , )
( 3,1 127.25 ) 25450
(.

.4 :
.4,1 :

) Figure 4,1,1 (

:
ms 20
1.8

) (Back
10us
) (Timer 1
) (Echo
) (Timer 1

) (Echo ) (Echo
) (Timer 2
) (Echo
) (Low
) (Timer 2
T :
D = ( T * 344) / 2
Or
D = T / 58
D :.
T .
344 .

)(Back



) (Timer 1
).(figure .4,1,1

.4,2 :

) (Ultrasonic Sensor
)(:
-:


) (start
) (4,2,1
,


.

) , (image .4,2,1
) (Trigger 10us ((Period

) ( Timer 1
ms 36 ) (Time Out

,
) (Echo )(Timer 2
)
(Timer 2 ) (Echo ) (High
) (Low )
(Timer 2
) (us
m\s 344 2

Distance = ( S * T )/2
S : .
T .


360
,
1.8
) ( 360

) ( .
.

.
) (Timer 1
) (Echo
.

)-: (Ultrasonic Sensor


) (Ultrasonic Sensor
) (PIC
, )
(Trigger KHz 40 )(Echo
) (High

) (PIC
, ) (Low
ms 36
) (Low ).(Echo

)Image .4,2,1 cm 40 (cm 70

)Image .4,2,2 cm 50 (cm 35

)Image .4,2,3(

)Image .4,2,4(

.5 :

1. Bassem R. Mahafza, Ph.D. , Radar Systems Analysis and Design


Using MATLAB , PP.532.
2. N.Shinjo ,l.Buist and C.S. Subramanian , Stepper Motor Control
3. http://www.micro-examples.com/public/croex-havig/doc/print_090ultrasonic-ranger.html.
4. http://www.ecelab.com/circuit-ultrasonic-t.htm.
5. http://www.ecelab.com/circuit-ultrasonic-r.htm.
6. http://www.abb.com/product/seitp329/fe13392849a620f56e24002eaa5
9.aspx?productLanguage=ar&country=00.
7. http://www.ndted.org/EducationResources/CommunityCollege/Ultras
onics/Introduction/presentstate.htm.
8. http://www.robot-electronics.co.uk/htm/srf04th.htm.
9. http://www.electronics-lab.com/projects/sensors/007/index.html.
10.http://multyremotes.com/four-el-IR-remote.htm.
11.http://en.wikipedia.org/wiki/Stepper_motor#Fundentals_Opation.

. ,
2 ,1 .
.Email 1: yousef_holba2007@yahoo.com
.Email 2: suraby@gmail.com
:
,
) , (Antenna design


,

,

) (Software Simulation - )Hardware
,( Software Simulation
,
.

) (Ultrasonic Sensor SRF04
) (Stepper Motor EPSON
) 360
( ,
,
.
:
.1 ): (Hardware Part
.
.2 ): (Software Part
)Visual
.(Basic.net

,

,