6.DC Motor Interface
6.DC Motor Interface
6.DC Motor Interface
6. DC_MOTOR_Interface.
U 3
J9 VC C
P 1 _ I/O R 7 10K VC C
1
2 1 40 R 8 10K
1
1 3 2 P 1 .0 /T 2 VC C 39 2
2 4 3 P 1 .1 /T 2 -E X P 0 .0 /A D 0 38 3
3 5 4 P 1 .2 P 0 .1 /A D 1 37 4
4 6 5 P 1 .3 P 0 .2 /A D 2 36 5
G N D
VC C
5 7 6 P 1 .4 /S S P 0 .3 /A D 3 35 6
6 8 7 P 1 .5 /M O S I P 0 .4 /A D 4 34 7
7 9 8 P 1 .6 /M IS O P 0 .5 /A D 5 33 8
8 P 1 .7 /S C K P 0 .6 /A D 6
1
C 9 32 9
C
9 1 0 R ST P 0 .7 /A D 7 31 C
1 8 1 1 P 3 .0 /R XD E A /V P P 30 VC C
2 7 1 2 P 3 .1 /T XD A L E /P R O G 29
1
PW M _ M O T O R _C O N
G N D P 2 .0 /A 8
1
VC C C
SW 1
8 Q 1 10K R 10
2
J11
9 +12V 1 1 .0 5 9 2 M h z A T89S 52
10
VC C
SW 2
1 0 M F /2 5 V
C 9
1
1
+ C 10 C 11
R ESET
R S T -S W
30PF 30PF
R 11
2
8 .2 K
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
VC C _+5V
J21 J22
U 10
1
U 11
PWM DC IN P W M D C IN 2 1 8 1 1 6
D C M O T O R 12V
3 3 3 A 1 Y 1 1 7 2 1I 1O 1 5
-
1
1N 4007 D 28
4 A 2 Y 2 1 6 3 2I 2O 1 4
5 A 3 Y 3 1 5 4 3I 3O 1 3
A
M G 1
6 A 4 Y 4 1 4 5 4I 4O 1 2
PW M _ M O T O R _C O N _EXT R A
7 A 5 Y 5 1 3 6 5I 5O 1 1
8 A 6 Y 6 1 2 7 6I 6O 1 0
+
PW M _ M O T O R _C O N
A 7 Y 7 7I 7O
2
9 1 1 8 9 +12V
A 8 Y 8 G N D +12V
1
1 U LN 2003
19 G 1
10 G 2 20 VC C _+5V
G N D VC C
74H C T540
+ 3 .3 V _ B
1
SPEED_1_SW SPEED _1_SW 2 SW 61
4 4 3 SPEED _1
R 67
1
1 2
SPEED_2_SW SPEED _2_SW 2 SW 63 3
5 5 3 SPEED _2 4
5
6
1 7
SPEED_3_SW SPEED _3_SW 2 SW 66 8
6 6 3 SPEED _3 9
10k C
1
SPEED_4_SW SPEED _4_SW 2 SW 67
7 7 3 SPEED _4
+3.3V_B + 3 .3 V _ B
8 8
9 9 +12V
10 10
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click open.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click save.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Select Atmel.
Click the plus (+) symbol that is in the left of Atmel .
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click yes.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click save.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click the plus sign in the right side of Target 1 in the project work space
window.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click the plus sign in the right side of Source Group 1 in the project work space
window.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Right Click the Source Group 1 in the project work space window.
‘
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click Options for Target Button (Left side of Target 1 indicated in yellow).
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
You will get the Option for Target ‘Target 1’ Window as shown below.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
You can see that create Hex file check box was disabled..
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click on Rebuilt all target files button. ( Third from left corner indicated in
yellow)
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
You will get the error messages at the bottom of the slide as indicated in blue.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Open the ISP_PROG v1.3.exe from the location where you saved
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Select the com port that you connected using the serial cable.
Click Ok.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Select AT89s52.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click ok.
Click on RUN.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
You can see the device specification connected to the Serial port in the
MESSAGES BOX.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click on RUN.
Select the Hex file of your project from the folder you saved.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
You can see the Hex file selected in the below slide.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click open.
Click RUN.
You can see the HEX file READ operation.
14054-MICROCONTROLLER LAB KIT MANUAL
Arrow Focus Technology Ph : 91-422-3043010, 3091914
11-P, G.J. Chandran Complex, Tel/Fax: 91-422-2306818
Head Quarters Road, Coimbatore-641018 E-mail: arrowfocustechnology@yahoo.com
Click RUN.
Click RUN.