robot with wireless camera

Download Robot With Wireless Camera

Post on 27-Apr-2015

6.646 views

Category:

Documents

1 download

Embed Size (px)

DESCRIPTION

project report document of robot with wireless camera..............

TRANSCRIPT

1

1

1

CONTENTS

1. ABSTRACT 2 2. BLOCK DIAGRAM... 3 3. SCHEMATIC DIAGRAM 5 4. CIRCUIT DISCRIPTION. 7 5. INTRODUCTION5.1. EMBEDDED INTRODUCTION... 12 5.2. MICROCONTROLLER INTRODUCTION..18 5.3. INTRODUCTION TO ROBOTICS.. 20 5.4. INTRODUCTION TO RF.. 29 5.5. INTRODUCTION TO LCD .. 35 5.6. INTRODUCTION TO LED.. 39 5.7. KEIL INTRODUCTION ... 43

6. COMPONENT DESCRIPTION6.1. AT89S52 47 6.2. XBEE MODULE... 56 6.3. L293D. 66 6.4. ISP PROGRAMMER. 69

7. CODING 76 8. CONCLUSION.88 9. BIBLIOGRAPHY.89

2

2

2

1. ABSTRACTThe present condition in Industry is that they are using the crane system to carry the parcels from one place to another, including harbors. Some times the lifting of big weights may cause the breakage of lifting materials and will cause damage to the parcels too. Application of the proposed system is for industries. The robot movement depends on the track. Use of this robot is to transport the materials from one place to another place in the industry. A robot is a machine designed to execute one or more tasks repeatedly, with speed and precision. There are as many different types of robots as there are tasks for them to perform. A robot can be controlled by a human operator, sometimes from a great distance. In such type of applications wireless communication is more important. In robotic applications, generally we need a remote device to control. If we use IR remote device, it is just limited to meters distance and also if any obstacle is in between its path then there will be no communication. If we consider, RF modules for remote operations there is no objection whether an obstacle is present in its path. So that it is very helpful to control robot. RF modules itself can generates its carrier frequency which is around 2.4 GHz. We need to generate serial data using micro controller and fed to the RF transmitting module. On other side RF receiver receives sent data as RF signals and given to another micro controller. Here, RF receiver itself demodulates the data from carrier signal and generate serial data as output. By using this communication network we can design a remote device for controlling robot. If u send move forward command from RF remote transmitter, then receiver receives that data and perform operation on robot to move in that particular direction. Similarly if u sends turn left command then, robot will take left direction with respect to that command. So by this way we can design remote using RF modules for robotic applications. Apart from this we are placing wireless camera so that user is able to control the robot direction from transmitter.

3

3

3

2. BLOCK DIAGRAM 2.1 TRANSMITTER:LCD TV

KEYS AT89S52 RF TX

2.2 RECEIVER:

WIRELESS CAMERA

LCD

MOTOR L293D RF RX AT89S52 MOTOR

L293D

MOTOR

4

4

4

2.3 REQUIREMENTS: HARDWARE REQUIREMENTS: AT89S52 L293D ROBOT 16X2 LCD RF MODULES WIRELESS CAMERA

SOFTWARE REQUIREMENTS: KEIL C COMPILER PROGRAMMING IN EMBEDDED C

5

5

5

3. SCHEMATIC DIAGRAM 3.1 TRANSMITTER:

1 0 K

P

U

L

L U

P 1 0 K V V 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 0 1 2 3 4 5 6 7 C ( ( P P P ( ( ( R ( ( ( ( ( ( ( ( X C 4 1 . 0 V C C3 E X P) 0P . 1 0 . / 1 A3 2 P 0 . 1 / A3 3 P 0 . 2 / A3 4 P 0 . 3 / A3 S I )P P0 . 1 4 . / 5 A3 S O )P P0 . 1 5 . / 6 A3 K ) P P 0 1 . . 6 7 / A3 T P 0 . 7 / A3 E A / V P R X D ) P 3 . 0 3 T X D ) A P L 3 E . 1/ P R I N T 0 ) P 3 . 2 2 I N T 1 ) P P 3 S. 3 E 2 N T 0 ) P 3 P . 42 . 7 / A T 1 ) P 3 . 5 2 W R ) P P 3 2 . .6 6 / 2 A R D ) P P 3 2. 7 . 5 / 2 A P 2 . 4 / 2 A T A L 2 P 2 . 3 / 2 A P 2 . 2 / 2 A T A L 1 P 2 . 1 /2 A N D P 2 . 0 / A T 2 T 2 1 . 1 . 1 . M O M I S C S ) P 0 9 D 8 D 7 D 6 D 5 D 4 D 3 D 2 D 1 0 C C P U L L U P

V

C

C

R8 R7 R6 R5 R4 R3 R2 R1 VCC

VCC R1 R2 R3 R4 R5 R6 R7 R8

G N DV 4 . 7 K C C 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 C C

V C R R R R R R R R1 0 K

C1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9P U

4 ( L 2 S S S I N 3 ( L 2 F R F R F R R V C C 3 . 3 D I N S S S S SL L U P

I N

9 3 D ( W 7 W 8 W 1 9 3 D ( O M I O M I O M I E S E V ( X B W W W W W 2 3 4 5 6 E

C

A

M

) )

C S S S T E

A P P P

M

) )

P O 5 4 3 2 1 0

0 1 2 3 4 5 6 7 G

R E D D D D

S N 4 5 6 7 ( ( ( (

( L C ( L L L L L C C C C C

D D D D D D ) ) ) )

) ) 5 K I M P O T

P G P

0 0

N

. 1 D . 3

T R

)

V

C

C

P P P P

0 0 0 0

. . . .

4 5 6 7

9 8 1 7 61 51 41 31 21

0 1 2 3 4 5V C C 6G N D

G V V R R E D D D D D D D D

N D C C E E S W N 0 1 2 3 4 5 6 7

9 8 7 6 5 4 3 2 1

1 2 3 4 5 6 7 8 9

G N D

V

G N D

L

C

D

X T A X T A

L 2 L 1

1 8

1 9 2 0 X G

1 9 8

1 2 3 4 5 6 7 8 9

G N D

A

T 8 9 S

5 2 V C

V C

C

C

= 3

1 0

K

P

U

L L U

P

P 3 . 1

. 3 V A 1 v c c 2 D O U T A A 3 D I N A 4 C D 5 R E S E TA 6 P W M 0 A V 7 N C S L 8 N C C 9 D T R A 1 0G N D

D D D D D D R E T D

0 1 2 3 6 5 E E S 4

2 1 1 1 1 1 F 1 P 1 1 1

0 9 8 7 6 5 4 3 2 1

R8 R7 R6 R5 R4 R3 R2 R1 VCC

G N D1

X

B

E

E

M

O

D

U

L

E

B 2 1 2 3 0 V , A 2 +

R 4

I D

G

E

R 1

7 E 8 C 0 T 5 I F R I E E RGV I N V O U 3 T

UV LC A C T = O 5 R V

. CT R A N S F O R M E R

G N D 23 3 p f 1 0 4 p f 3

2 2 0

o

h m S W 7 P 1 . 1 S W 8 P 1 . 2

( 9 V , 1

A M P )1 0 0 0 u f / 3 5 V

L

E

D

P

O

W

E

R

S

U

P

P

G N D

L

Y

( 5

V

D

C

)S W 1 P 1 . 3

V G N 1 3 5 7 9 V C C D S W IT C H 3 3 p f X T 3 3 p f 1 1 . 0 X T A L 2 5 9 2 M A L 1

C

C

S

W

2 P 3 . 3

S

W

4 P 3 . 5

I S P

2 4 6 8 1

1 0z

u f / 6 3 VR E S E T

P P R 0 P

1 1 1

. 6 . 7 S T . 5

S

W

3 P 3 . 4

H

8 . 2 KS W 5 P 3 . 6 S W 6 P 3 . 7

G N D

A

T

8

9

S

5

2

I S

P A

T

8

9

S

5

2

C

R

Y

S R

G N D

T

E

A

S

L

E

TG N D

6

6

6

3.2 RECEIVER:

1

0 K

P

U

L L U

P 1 V 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 0 1 2 3 4 5 6 7 C ( ( P P P ( ( ( R ( ( ( ( ( ( ( ( X C 4 1 . 0 V C C3 X P 0 . 1 0 . / 1 A3 ) P 2 P 0 . 1 / A3 3 P 0 . 2 / A3 4 P 0 . 3 / A3 S I )P P0 .1 4 . /5 A3 S O )P P0 .1 5 . /6 A3 K ) PP 0 1 . . 6 7 / A3 T P 0 . 7 / A3 E A / V P R X D ) P 3 . 0 3 T X D ) A P L 3 E . 1/ P R I N T 0 ) P 3 . 2 2 I N T 1 ) P P 3 S. 3 E 2 N T 0 ) P 3 P . 42 . 7 / A T 1 ) P 3 . 5 2 W R ) P P 3 2 . .6 6 / A 2 R D ) P P 3 2. 7 . 5 / A 2 P 2 . 4 / A 2 T A L 2 P 2 . 3 / A 2 P 2 . 2 / A 2 T A L 1 P 2 . 1 /2 A N D P 2 . 0 / A T 2 T 2 1 . 1 . 1 . M O M I S C S ) P E V 0 9 D 8 D 7 D 6 D 5 D 4 D 3 D 2 D 1 0 C C 0 K P U L L U P V C C

R8 R7 R6 R5 R4 R3 R2 R1 VCC

VCC R1 R2 R3 R4 R5 R6 R7 R8

G N DV 4 . 7 K C C 1 2 3 4 5 6 7 8 9

9 8 7 6 5 4 3 2 1

I N

4 ( L 2

9 3 D

( C

A

M

) )

I N

V C R R R R R R R R1 0 K

C1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9P U

V

C

3 ( L 2 F R F R F R R C 3 . 3 D O U

9 3 D ( O M I O M I O M I E S E V T ( X B

C S S S T E

A P P P E

M

) )

)

P O

0 1 2 3 4 5 6 7 G

R E D D D D

S N 4 5 6 7 ( ( ( (

( L C ( L L L L L C C C C C

D D D D D D ) ) ) )

) )

P G P

0 . 1 N D 0 . 3

5 T R I M

K P O T P P P P 0 0 0 0 . . . . 4 5 6 7

V

C

C

I I I IL L U P

N N N N

1 2 3 4

( ( ( (

L L L L

2 2 2 2

9 9 9 9

3 3 3 3

D D D D

) ) ) ) X T A X T A L L 2 1

9 8 1 5 7 61 51 41 31 21 1 4 3 2 1 0

1 1 1 1 1 1 1 C C

0 1 2 3 4 5 V C C 6 G N D

G V V R R E D D D D D D D D

N D C C E E S W N 0 1 2 3 4 5 6 7

1 2 3 4 5 6 7 8 9

G N D

V

G N D

L

C

D

1 8

1 9 2 0 X G

9 8

V

C

C

=

1 2 3 4 5 6 7 8 9

G N D

P 3 . 0 A T 8 9 S 5 2V CC

1 0 K

P

U

L L U

P 1

1 2 3 4 5 6 7 8 9

3 . 3 V D D C R P N N D 0G

v c cO I D E W C C T N

A A A A S E TA M 0 A V S L R C D A U T N

D D D D D D R E T D

0 1 2 3 6 5 E E S 4

2 1 1 1 1 1 F 1 P 1 1 1

0 9 8 7 6 5 4 3 2 1

R8 R7 R6 R5 R4 R3 R2 R1 VCC G N D G N D

X

B

E

E

M

O

D

U

L

E

G N DV C C 1 0 u f / 3 5 V

1 B 2 1 2 3 0 V , A 2 +

R 4

I D

G

E

R 1

7E 8C 0 T 5 I F RI E E R GV I N V O U 3 T

UV LC AC

T = O 5RV1 0 u f / 3 5 V

. CT R A N S F O R M E R

G N D 21 0 0 0 u f / 3 5 V 3 3 p f 1 0 4 p f