• 沒有找到結果。

光控自走車之設計與製作

N/A
N/A
Protected

Academic year: 2021

Share "光控自走車之設計與製作"

Copied!
27
0
0

加載中.... (立即查看全文)

全文

(1)

The design and Implementation of a Light-controlled Car

D9872259

D9872601

D9872229

D9872530

(2)

8051

ADC

IC

Keil

8051

(3)

Abstract

The main purpose of this project is to design and implement an

activated motor car which can track the lighting source the activated

motor car is basically based on a microcontroller ,8051,and it consist of

motor drive ,A/D conventers,photoresistors and a DC motor.The

software program is writted in C language under the Keil C

development environment.

The design of light source tracking can be applied to direction

control of solar photovoltaic panel ,furthen,the missile tracking

system.Finally.the results demonstrate the design of the whole system.

(4)

... 1

... 4

... 6

2-1

... 7

2-2 PWM

... 7

2-3

... 11

2-4

... 11

2-5

-

... 14

... 17

... 18

... 20

... 21

... 22

... 23

... 25

... 25

... 26

(5)

(

)

(

)

1.

(

)2.

3.

4.

(

)5.

(4WD 2WD

)

20

35,40,72MHZ

2.4GHZ

(6)
(7)

2.1

(1)AT89S52 (2)ADC0804 (3)

(4)370

(5)

(6)

(7)

(8)

12MHz(9)

(10)74244

(8)

2-1

0

255

8051

5

2.2

9

1

bit

32

2.1

9

2-2 PWM

?

(9)

2.2

2.1

Case P1.4~P1.0

case P1.4~P1.0

case P1.4~P1.0

0

00000

4

11

01011

7

22 10110

5

1

00001

8

12

01100

3

23 10111

6

2

00010

6

13

01101

3

24 11000

1

3

00011

7

14

01110

4

25 11001

1

4

00100

4

15

01111

5

26 11010

2

5

00101

6

16

10000

0

27 11011

4

6

00110

5

17

10001

4

28 11100

2

7

00111

6

18

10010

3

29 11101

2

8

01000

2

19

10011

7

30 11110

3

9

01001

5

20

10100

2

31 11111

4

10

01010

4

21

10101

4

(10)

2.3

2.4

J-TPSG90

:1.6kg/cm

:9g

:0.12sec/60degree(4.8v)

:23.0*12.5*30.0mm

:4.8-6.0V

Temperature range >> 0

--55

Dead band width 20us

(11)

1ms

2ms

50

IC

1.5ms

(12)

2-3

:

50

1ms

2ms

2.5

2.5

2-4

:

50

1ms

2ms

2.6

2.6

(13)

PWM

8051

duty cycle

70%

duty cycle

70%

duty cycle

2.7

(14)

2-5

8051

8051

8051

PWM

8051

0.5A

2.8

2.8

(15)

2-5

-2.9

(16)

INT0

INT1

TIMER0

TIMER1

PWM

2.10

2.11

2.10

0

2.11

1

(17)

INT2

TIMER2

20ms

PWM

2.12

20ms

INT0

INT1

(18)

:

1.

(19)

Keil C

PWM

4.1

4.2

4.1 PWM

(20)

4.3

(21)

1.Layout

,

IC

2.

8051

8051

3.

4.

(22)

Layout

Layout

(23)

2011/5/9-2011/6/13

5 8 9 10 11 12 13 14

15 16 17 18 19 20 21

22 23 24 25 26 27 28

Layout

Layout

Layout

29 30 31 6 1 2 3 4

5 6 7 8 9 10 11

(24)

PWM

layout

(25)
(26)

gnd U1 8051 PSEN 29 ALE 30 VCC 40 EA 31 X1 19 X2 18 RST 9 P0.0/AD0 39 P0.1/AD1 38 P0.2/AD2 37 P0.3/AD3 36 P0.4/AD4 35 P0.5/AD5 34 P0.6/AD6 33 P0.7/AD7 32 P1.0 1 P1.1 2 P1.2 3 P1.3 4 P1.4 5 P1.5 6 P1.6 7 P1.7 8 P2.0/A8 21 P2.1/A9 22 P2.2/A10 23 P2.3/A11 24 P2.4/A12 25 P2.5/A13 26 P2.6/A14 27 P2.7/A15 28 P3.0/RXD 10 P3.1/TXD 11 P3.2/INT0 12 P3.3/INT1 13 P3.4/T0 14 P3.5/T1 15 P3.6/WR 16 P3.7/RD 17 U2 ADC0804 +IN 6 -IN 7 VREF/2 9 DB7 11 DB6 12 DB5 13 DB4 14 DB3 15 DB2 16 DB1 17 DB0 18 CLKR 19 VCC/VREF 20 CLKIN 4 INTR 5 CS 1 RD 2 WR 3 MG1 MOTOR AC 1 2 5v C1 150pf servo U3 serv o U4speed controller 5v 5v R2 10k C3 0.1uf Y1 CRYSTAL R14 10k R15 10k 5v C4 30pf C5 30pf R4 10k 5v R5 10k 5v R6 10k 5v 5v R8 10k 5v U5 74LS244 A1 2 A2 4 A3 6 A4 8 1OE 1 Y1 18 Y2 16 Y3 14 Y4 12 A5 11 A6 13 A7 15 A8 17 Y5 9 Y6 7 Y7 5 Y8 3 2OE 19 R7 10k C2 10uf R1 10k R10 10k R11 10k R12 10k R13 10k R9 10k 5v

(27)

[1].

8051/8951

2006

6

參考文獻

相關文件

Therefore, the purpose of this study is to propose a model, named as the Interhub Heterogeneous Fleet Routing Problem (IHFRP), to deal with the route design

The purpose of this thesis is to investigate the geometric design of curvic couplings and their formate grinding wheel selection, and discuss the geometric

Developing a signal logic to protect pedestrian who is crossing an intersection is the first purpose of this study.. In addition, to improve the reliability and reduce delay of

Developing a signal logic to protect pedestrian who is crossing an intersection is the first purpose of this study.. In addition, to improve the reliability and reduce delay of

The purpose of this research is to develop an approach that uses the triangular distribution with the Fractile Method to estimate the optimistic and pessimistic duration of

The main purpose of this research is to compare how a traditional narrative teaching method and a GeoGebra-based computer-assisted instructional method affect

The purpose of this paper is to use data mining method in semiconductor production to explore the relation of engineering data and wafer accept test.. In this paper, we use two

The main purpose of this study is to explore the status quo of the food quality and service quality for the quantity foodservice of the high-tech industry in Taiwan;