JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 l 1
JX-PIC100 PIC24/dsPIC33F Microcontroller board :
ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24/dsPIC33F 1. ¤Ø³ÊÁºÑµ·Ô ҧ෤¹Ô¤¢Í§âÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010 µÔ´µÑ§é äÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010 µÑǶѧ TQFP ¢¹Ò´ 100 ¢Ò ÊÒÁÒö µÔ´µÑ§é ŧº¹¤Í¹à¹ç¡àµÍà µÇÑ àÁÕº¹ºÍà ´ËÅÑ¡ JX-PIC100 ä´ ·¹Ñ ·Õ l ÊÑÒ³¹ÒÌ ¡Ò㪠ǧ¨Ã¡íÒà¹Ô´ÊÑÒ³¹ÒÌ ¡ÒÀÒÂ㹪Ի, ¤ÃÔʵÍÅ 8MHz áÅФÃÔʵÍÅ 32.768kHz l µ ͧ¡ÒÃä¿àÅÕÂ é § +3.3V ÃÙ»·Õè 1 áÊ´§¡ÒèѴ¢Ò¢Í§âÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010 ÊíÒËÃѺǧ¨Ã¢Í§ âÁ´ÙŹÕáé Ê´§ã¹ÃÙ»·Õè 2 l
100 98 96 94 92 90 88 85 83 81 79 77
N/A
99 97 95 93 91 89 87 86 84 82 80 78 76 1
74
75 73
5
6
72
71
7 9
8
69
10
70 68
11 13
13 15
66 64
65 63
15
17 19 21
62
61 59 57
17 19 21 23 25
PIC24FJ128 GA010
N/A
3
2 4
23 25
PIC24/dsPIC33 plug-in module
N/A
60 58 56 54 52
67
55 53 51
26 28 30 32 34 36 38 40 42 44 46 48 50
N/A
27 29 31 33 35 37 39 41 43 45 47 49
ÃÙ»·Õè 1 ¡ÒèѴ¢Ò¢Í§âÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24
2 l
K1/4 MCU Header-4
100 98 96 94 92 90 88 85 83 81 79 77
99 97 95 93 91 89 87 86 84 82 80 78 76
1 2 3 4 5 6
8 10
11 13
13 15
15 17 19 21 23 25
17 19 21 23 25
PMD7/RE7 T2CK/RC1
88 87
1+
PIC24FJ128GA010
T3CK/RC2 T4CK/RC3 9 T5CK/RC4 10 PMA5/SCK2/CN8/RG6 11 PMA4/SDI2/CN9/RG7 12 PMA3/SDO2/CN10/RG8 13 MCLR 14 PMA2/SS2/CN11/RG9 15 Vss 16 VDD 17 TMS/RA0 18 INT1/RE8 19 INT2/RE9 20 C1IN+/AN5/CN7/RB5 21 C1IN-/AN4/CN6/RB4 22 C2IN+/AN3/CN5/RB3 23 C2IN-/AN2/CN4/RB2 24 PGC1/EMUC1/AN1/CN3/RB1 25 PGD1/EMUD1/AN0/CN2/RB0
26 27 28 29 30 31 32 33 34 35 36 37
C3 0.1/50V
75 Vss 74 SOSCO/T1CK/CN0/RC14 73 SOSCI/CN1/RC13 72 OC1/RD0 71 IC4/PMCS1/RD11 70 IC3/PMCS2/RD10 69 IC2/RD9 68 IC1/RTCC/RD8 67 INT4/RA15 66 INT3/RA14 65 Vss 64 OSC2/CLK0/RC15 63 OSC1/CLK1/RC12 62 VDD 61 TDO/RA5 60 TDI/RA4 59 SDA2/RA3 58 SCL2/RA2 57 SCL1/RG2 56 SDA1/RG3 55 SCK1/INT0/RF6 54 SDI1/RF7 53 SDO1/RF8 52 U1RX/RF2 51 U1TX/RF3
VDD 38 TCK/RA1 39 U2RTS/BCLK2/RF13 40 U2CTS/RF12 41 PMA11/AN12/RB12 42 PMA10/AN13/RB13 43 PMA1/AN14/RB14 44 PMA0/AN15/OCFB/CN12/RB15 45 Vss 46 VDD 47 U1CTS/CN20/RD14 48 U1RTS/BCLK1/CN21/RD15 49 PMA9/U2RX/CN17/RF14 50 PMA8/U2TX/CN18/RF5
7 9
7 8
PMD5/RE5 PMD6/RE6
PMA13/CVREF/AN10/RB10 PMA12/AN11/RB11 Vss
2 4 6
RG15 VDD
PGC2/EMUC2/AN6/OCFA/RB6 PGD2/EMUD2/AN7/RB7 PMA7/VREF-/RA9 PMA6/VREF+/RA10 AVDD AVss C1OUT/AN8/RB8 C2OUT/AN9/RB9
1 3 5
86 85 84 CN16/RD7 83 CN15/RD6 82 PMRD/CN14/RD5 81 PMWR/OC5/CN13/RD4 80 CN19/RD13 79 IC5/RD12 78 PMBE/OC4/RD3 77 OC3/RD2 76 OC2/RD1
C1,C2 0.1/50V
K1/1 MCU Header-1
C10 0.1/50V
PWD4/RE4 PMD3/RE3 PMD2/RE2 RG13 RG12 RG14 PMD1/RE1 PMD0/RE0 RA7 RA6 RG0 RG1 RF1 RF0 ENVREG VCAP/VDDCORE
100 99 98 97 96 95 94 93 92 91 90 89
C11 10/16V
C4 0.1/50V
K1/2 MCU Header-2
26 28 30 32 34 36 38 40 42 44 46 48 50
27 29 31 33 35 37 39 41 43 45 47 49
ÃÙ»·Õè 2 ǧ¨Ã¢Í§âÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010
XTAL2 32.768kHz
C9 22pF C8 22pF
C7 22pF XTAL1 8MHz +3.3V C6 22pF
+3.3V C5 0.1/50V
75 71
72 70
69 67
68 66
60 58 56 54 52
61 59 57 55 53 51
K1/3 MCU Header-3
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 l 3
2. ¤Ø³ÊÁºÑµ·Ô ҧ෤¹Ô¤¢Í§ºÍà ´·´ÅͧËÅÑ¡ ãª ä´ ¡ºÑ äÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 áÅÐ dsPIC33 µÑǶѧ TQFP ¢¹Ò´ 100 ¢Ò â´Â¼ Ò¹ ºÍà ´âÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà â´Â㹪ش¨Ñ´àµÃÕÂÁâÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010 ÊÒÁÒöµÔ´µÑ§é ŧº¹¤Í¹à¹ç¡àµÍà µÇÑ àÁÕº¹ºÍà ´ä´ ·¹Ñ ·Õ l ·íÒ¡ÒÃâ»Ãá¡ÃÁáÅдպ¡ Ñ ä´ ´Ç ºÍà ´â»Ãá¡ÃÁ PX-200 ËÃ×Í PX-700 ¢Í§ inex ËÃ×Í PICkit2 áÅÐ ICD2 ¢Í§ Microchip (¨Ñ´«×Íé á¡) l ·íÒ¡ÒÃâ»Ãá¡ÃÁáÅÐÃѹÍ ҧÍѵâ¹Áѵ· Ô Ò§«Í¿µ áÇà l 㪠ä¿àÅÕÂ é §ã¹Â Ò¹ +6 ¶Ö§ +9V ÁÕǧ¨Ã¤Çº¤ØÁáç´Ñ¹¤§·Õ·è Õè +5V áÅÐ +3.3V º¹ºÍà ´ l ÁÕ¨´ Ø µ Í¢Ò¾Íà µÊíÒËÃѺ·´ÅͧáÅÐ㪠§Ò¹ÍÔÊÃÐ 50 ¢Ò »ÃСͺ´ Ç ¾Íà µ A ¨íҹǹ 4 ª ͧ (RA9, RA10, RA14 áÅÐ RA15) ¾Íà µ B ¨íҹǹ 12 ª ͧ (RB0 ¶Ö§ RB4, RB8 ¶Ö§ RB14) ¾Íà µ C ¨íҹǹ 4 ª ͧ (RC1 ¶Ö§ RC4) ¾Íà µ D ¨íҹǹ 12 ª ͧ (RD0 ¶Ö§ RD3, RD6 ¶Ö§ RD13) ¾Íà µ E ¨íҹǹ 2 ª ͧ (RE8 áÅÐ RE9) ¾Íà µ F ¨íҹǹ 5 ª ͧ (RF0, RF4, RF5, RF12 áÅÐ RF13) ¾Íà µ G ¨íҹǹ 11 ª ͧ (RG0, RG2, RG3, RG6, RG7, RG8, RG9, RG12 ¶Ö§ RG15) l ¨Ø´µ Íáç´Ñ¹ +5V, 3.3V áÅÐ GND ÊíÒËÃѺ·´Åͧ l ÁÕÊÇÔµª RESET l LED 8 ´Ç§ ¾Ã ÍÁµÑǵ Ò¹·Ò¹¨íÒ¡Ñ´¡ÃÐáÊ ·íÒ§Ò¹·ÕÅ è ͨԡ 0 µ ͡Ѻ¢Ò RA0 ¶Ö§ RA7 l ÊÇÔµª ¡´µÔ´»Å Í´Ѻ 4 ªØ´ ¾Ã ÍÁµ ͵Ñǵ Ò¹·Ò¹¾ÙÅÍÑ» ·íÒ§Ò¹·ÕÅ è ͨԡ 0 µ ͡Ѻ¢Ò RE0 ¶Ö§ RE3 l ǧ¨Ãàª×Í è Áµ ͤÍÁ¾ÔÇàµÍà ¼Ò ¹¾Íà µÍ¹Ø¡ÃÁ RS-232 â´Âµ ͡Ѻ¢Ò RF3 (U1TX), RF2 (U1RX) , RD14 (U1CTS) áÅÐ RD15 (U1RTS) l âÁ´ÙÅ LCD ẺÍÑ¡¢ÃÐ Ãع 3.3V ¾Ã ÍÁǧ¨Ã»ÃѺ¤ÇÒÁÊÇ Ò§ â´Âµ Í¢Ò D4 ¶Ö§ D7 ¡Ñº¢Ò ¾Íà µ RE4 ¶Ö§ RE7, ¢Ò RS µ ͡Ѻ RD6, R/W µ ͡Ѻ RD5 áÅÐ¢Ò E µ ͡Ѻ RD4 l áËÅ §¨ ÒÂáç´Ñ¹»ÃѺ¤ Òä´ 0 ¶Ö§ 3.3V ÊíÒËÃѺ·´Åͧ¡ÒÃá»Å§ÊÑÒ³ÍйÒÅÍ¡à» ¹ ´Ô¨ÔµÍÅ l ǧ¨Ãàª×Í è Áµ Í SD ¡Òà ´ ·íÒ¡Òõ Í¢Ò DAT0 ¡Ñº RF7, CLK µ ͡Ѻ RF6, CMD/DI µ ͡Ѻ RF8, CD/CS µ ͡Ѻ RG0 áÅТҵÃǨÊͺ¡Òà ´µ ͡Ѻ¢Ò RF1 áÅÐ RG1 ã¹ÃÙ»·Õè 3 áÊ´§Åѡɳзҧ¡ÒÂÀÒ¾¢Í§ºÍà ´ËÅÑ¡ JX-PIC100 l
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24
4 l
ᨠ¡µ ͡ѺÍÐá´»àµÍÃ
16x2
LCD module 3.3V
¤Í¹à¹ç¡àµÍà DB-9 ÊíÒËÃѺ µ ;Íà µÍ¹Ø¡ÃÁ RS-232 (㪠¡ÑºµÑÇá»Å§ USB à» ¹ ¾Íà µÍ¹Ø¡ÃÁä´ )
ÊÇÔµª ¨ÑêÁà»Íà ÊíÒËÃѺ໠´-» ´ LED Ê Í§ËÅѧ¢Í§âÁ´ÙÅ LCD
µÑǵ Ò¹·Ò¹»ÃѺ¤ Òä´ »ÃѺáç´Ñ¹ 0 ¶Ö§ 3.3V ÊíÒËÃѺ·´Êͺ¡Ò÷íÒ§Ò¹ ¢Í§âÁ´ÙÅá»Å§ÊÑÒ³ ÍйÒÅÍ¡à» ¹´Ô¨ÔµÍÅ ¤Í¹à¹ç¡àµÍà µÑÇàÁÕÂÊíÒËÃѺ µÔ´µÑé§âÁ´ÙÅ PIC24FJ128GA010
ᨠ¡ ICD ÊíÒËÃѺàª×èÍÁµ Í ¡ÑººÍà ´â»Ãá¡ÃÁÃØ ¹ PX-200 ËÃ×Í ICD2
ÃÙ»·Õè 3 Åѡɳзҧ¡ÒÂÀÒ¾¢Í§ºÍà ´ËÅÑ¡ JX-PIC100
3. ǧ¨ÃºÍà ´ JX-PIC100
3.1 ǧ¨ÃÊ Ç¹àª×Íè Áµ ÍâÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà áÅÐÀÒ¤¨ ÒÂä¿
ÃÙ»·Õè 4 à» ¹Ç§¨Ã¢Í§Ê ǹàª×Íè Áµ ͡ѺâÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010 ¡Òà ´Òǹ âËÅ´â»Ãá¡ÃÁ¨Ð¡ÃзíÒ¼ ҹᨠ¡ ICD â´Â㪠ICD2 ¢Í§äÁâ¤ÃªÔ»ËÃ×ͺÍà ´â»Ãá¡ÃÁã¹Ãع PX-200 ËÃ×Í PX-700 ¢Í§ºÃÔÉ·Ñ ÍÔ¹â¹àǵտ àÍç¡à¾ÍÃÔàÁ¹µ ¨íÒ¡Ñ´ ´ Ò¹¢Ò¾Íà µ¢Í§äÁâ¤Ã¤Í¹â·ÃÅàÅÍà µÍ µÃ§à¢ ҡѺ K101 ¶Ö§ K104 «Ö§è à» ¹¤Í¹à¹ç¡àµÍà IDC µÑǼ٠à¾×èÍÃѺ¡ÑºâÁ´ÙÅ PIC24FJ128GA010 áÅе Í¢Ò¾Íà µ·ÕèäÁ ä´ µ ͡ѺÍØ»¡Ã³ ã´ÁÒࢠҡѺ K105 ¶Ö§ K108 à¾×Íè 㪠໠¹¢Ò¾Íà µÍÔÊÃÐÊíÒËÃѺàª×Íè Áµ ͡ѺÍØ»¡Ã³ ÀÒ¹͡ ·Õ¢è Ò RB5/AN5 µ ÍࢠҡѺµÑǵ Ò¹·Ò¹»ÃѺ¤ Òä´ 10k: à¾×Íè ÃѺáç´Ñ¹ÍÔ¹¾ØµÍйÒÅÍ¡ 0 ¶Ö§ +3.3V ÊíÒËÃѺ·´Êͺ¡Ò÷íÒ§Ò¹¢Í§âÁ´ÙÅá»Å§ÊÑÒ³ÍйÒÅÍ¡à» ¹´Ô¨µÔ ÍŢͧ PIC24 Ê Ç¹ÀÒ¤¨ ÒÂä¿ ¨ÐÁÕäͫդǺ¤ØÁáç´Ñ¹ 2 µÑÇ µÑÇáá LM2940CT-5.0 ÊíÒËÃѺ¤Çº¤ØÁáç ´Ñ¹¨Ò¡ÍÐá´»àµÍà ãË ¤§·Õ·è Õè +5V 㹪ѹé áá¡ ͹ Ê Ç¹ä¿àÅÕÂé §Ç§¨Ã +3.3V ¨Ðà» ¹Ë¹ Ò·Õ¢è ͧäÍ«Õ àºÍà KIA27R33 â´Âä´ áç´Ñ¹ÍÔ¹¾Øµ +5V ÁÒ¨Ò¡ LM2940CT-5.0 ´Ñ§¹Ñ¹é º¹ºÍà ´ JX-PIC100 ¨Ö§ÁÕ ¨Ø´µ ÍÊíÒËÃѺ㪠§Ò¹ä¿àÅÕÂé §·Ñ§é +5V áÅÐ +3.3V
32 34
35
36
37
38
39
40
41
42
43
44
45 47
46 48
49
50
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
75 71
72 70
69
68
67
66
51 52 53 54 55 56 57 58 59 60 61
61 60
59
58
57
56
55
54
53
52
51
66 67 68 69 70 71 72 75
99
100
97
98 96 94
95 93 91
92
89
90
87
88
86
85
84
83
82 80
81 79
78
77
76
76 77 78 79 80 81 82 83 84 85
RB0
RB1
RB2
RB3
RE9 RB4
RE8
Vss
Vdd
MCLR
RG9
RG8
RG7
RF5
RF4
VDD
Vss
RB14 RB15
RB13
RB12
RB9 RB10 RB11 Vss VDD RA1 RF13 RF12 RB12 RB13 RB14 RB15 Vss VDD RD14 RD15 RF4 RF5 N/C
N/C
RF3 RF2 RF8 RF7 RF6 RG3 RG2 RA2 RA3 RA4 RA5 RA14 RA15 RD8 RD9 RD10 RD11 RD0 VDD
K108 MCU PORT-4
K104 MCU HEADER-4
RG6
AVss RB8
K107 MCU PORT-3
K103 MCU HEADER-3
RC4
RA9 RA10 AVDD
Vss
31 33
32
PGC2/RB6
+3.3V N/C
N/C
RD1
28 30
30 31
K106 MCU PORT-2
PGD2/RB7
RD3
29
29
RD2
26 27
28
RC3
RB0
RD13
27
RC2
RB1
RD12
26
K102 MCU HEADER-2
RC1
0-3.3V ADC.
RB3 RB2
RA9
24 25
VR101 10k
RB4
RF12
23
RB5
RD0
22
R103 510
RE9
RD7
21
RE8
RF13
20
+3.3V
RA0
VDD
19
RD9 RD8
17 18
RG9 Vss VDD
RD10
16
Vss
15
RD11
25
RG8 MCLR
RB11
14
RB10
13
22 24
RA14
20
21 23
SW101 RESET
RG7
RA15
19
RC4 RG6
RF0
18
R102 510
RC3
RB9
17
11 12
RB8
10
16
N/C
14
15
RG2
13
RC2
N/C
9
8
RG14
12
R101 10k
AVss
7
11
Vpp
RE7 RC1
RG3
6
8 10
RE6
PGC
6
7 9
+3.3V
VDD RE5
PGD
4
5
RG15
J101 ICD
K105 MCU PORT-1
GND
3
4 5
RG12
3
2
AVDD
2
1
RA10
1
RG15
+3.3V
RG13
K101 MCU HEADER-1
Vdd
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 l 5
RD1 RD2 RD3 RD12 RD13 RD4 RD5 RD6 RD7 VCAP
86 ENVREG 87 RF0 88 RF1 89 RG1 90 RG0 91 RA6 92 RA7 93 RE0 94 RE1 95 RG14 96 RG12 97 RG13 98 RE2 99 RE3 100
J102 DC input 6-12V
+5V SW102 POWER D101-D104 1N4001x4
IC101 LM2940-5.0
IN
OUT GND
C101 470/25V
C102 0.1/50V
C103 0.1/50V
K109 +5V
IC102 KIA27R33
C104 220/10V
SHD
C105 0.1/50V
R104 510 C106 220/10V
K110 +3.3V LED101 POWER
K111 GND
RE4
ÃÙ»·Õè 5 ǧ¨ÃÊ Ç¹àª×Íè Áµ ÍâÁ´ÙÅäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24FJ128GA010 ¢Í§ºÍà ´ JX-PIC100
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24
6 l
3.2 ǧ¨Ãàª×Íè Áµ ÍÍØ»¡Ã³ Í¹Ô ¾ØµàÍÒµ ¾µØ º¹ºÍà ´ JX-PIC100
»ÃСͺ´ Ç 1. LED Á͹ÔàµÍà 8 ´Ç§ µ ÍࢠҡѺ¢Ò¾Íà µ RA0 ¶Ö§ RA7 ·íÒ§Ò¹·ÕÅè ͨԡ 0 ÁÕµÇÑ µ Ò¹ ·Ò¹µ ͨíÒ¡Ñ´¡ÃÐáÊàÃÕºà Í +3.3V
4)% 4)$ 4)# 4)" 4)! 4) 4) 4)
LED208 LED207 LED206 LED205 LED204 LED203 LED202 LED201 R201 390*8
2. ǧ¨Ãàª×Íè Áµ ͵ ÍâÁ´ÙÅ LCD 㪠âÁ´ÙÅ LCD ẺÍÑ¡¢ÃÐ Ãع 3.3V ẺÁÕä¿Ê ͧËÅѧ·Õè ÊÒÁÒö໠´» ´ä´ ´Ç ÂÊÇÔµª ¨ÁÑê à»Íà ¾Ã ÍÁǧ¨Ã»ÃѺ¤ÇÒÁÊÇ Ò§´ ǵÑǵ Ò¹·Ò¹»ÃѺ¤ Òä´ ´ Ò¹¡Òà µ ͡Ѻ¢Ò¾Íà µà» ¹´Ñ§¹Õé µ Í¢Ò D4 ¶Ö§ D7 ¢Í§âÁ´ÙÅ LCD ࢠҡѺ¢Ò¾Íà µ RE4 ¶Ö§ RE7 µ Í¢Ò RS ¢Í§âÁ´ÙÅ LCD ¡Ñº¢Ò¾Íà µ RD6 µ Í¢Ò R/W ¡Ñº¢Ò¾Íà µ RD5 µ Í¢Ò E ¡Ñº¢Ò¾Íà µ RD4 JP301 BACKLIGHT-SW.
+3.3V 2
DSP301 LCD 16x2 3.3V with Back light LED E
D4 D5 D6 D7 11 12 13 14
RE7
6
RE6
R/W 5
RE5
RS 4
RD4
1
RE4
Vo
RD5
Contrast
3
RD6
VR301 10k
R306 22 15 A 16 K
+3.3V
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 l 7
3. ǧ¨ÃÊÇÔµª Í¹Ô ¾Øµ 㪠ÊÇÔµª ¡´µÔ´»Å Í´Ѻ 4 ªØ´ ÁÕ¡Òõ ͵Ñǵ Ò¹·Ò¹¾ÙÅÍÑ»äÇ ·íÒãË ËÒ¡ ÊÇÔµª äÁ ¶¡Ù ¡´ ·Õàè ÍÒµ ¾µØ ¢Í§Ç§¨Ã¨ÐÁÕÅͨԡ 1 àÁ×Íè ÊÇÔµª ¶¡Ù ¡´ ¨Ðà¡Ô´Åͨԡ 0 ·Õàè ÍÒµ ¾µØ ÊÒÁÒö ·íҧҹ໠¹ÊÇÔµª Êà ҧÊÑÒ³¾ÑÅÊ à´ÕèÂÇÍ ҧ§ ÒÂä´ â´Âµ ÍࢠҡѺ¢Ò¾Íà µ RE0 ¶Ö§ RE3 ¢Í§ PIC24FJ1287GA010 +3.3V SW0 4-
R301 4.7k *4 R302 510
SW1 4-
R303 510
SW2 4-
R304 510
SW3 4-!
R305 510
4- 4- 44-!
4. Ê Ç¹àª×Íè Áµ ;Íà µÍ¹Ø¡ÃÁ º¹ºÍà ´ JX-PIC100 ä´ ¨´Ñ àµÃÕÂÁǧ¨Ãàª×Íè Áµ ͡Ѻ¾Íà µÍ¹Ø¡ÃÁ ¢Í§¤ÍÁ¾ÔÇàµÍà ẺÁÕ¡ÒõÃǨÊͺ¤ÇÒÁ¾Ã ÍÁ㹡ÒÃÃÑºÊ §¢ ÍÁÙÅ â´Â㪠äÍ«ÕàºÍà MAX3232 Ê Ç¹ ¢Ò¾Íà µ·Õãè ª §Ò¹»ÃСͺ´ Ç ¢Ò Tx ¢Í§¨Ø´µ ;Íà µÍ¹Ø¡ÃÁµ ͡Ѻ¢Ò RF3 (U1TX) ¢Ò Rx ¢Í§¨Ø´µ ;Íà µÍ¹Ø¡ÃÁµ ͡Ѻ¢Ò RF2 (U1RX) ¢Ò CTS ¢Í§¨Ø´µ ;Íà µÍ¹Ø¡ÃÁµ ͡Ѻ¢Ò RD14 (U1CTS) ¢Ò RTS ¢Í§¨Ø´µ ;Íà µÍ¹Ø¡ÃÁµ ͡Ѻ¢Ò RD15 (U1RTS) C401 0.1/50V
2 C403 0.1/50V
4.! 4. 4, " 4, #
4 5
+3.3V C402 0.1/50V 16
IC401 MAX3232
1 3
11
14
R401 510 12
13
10
7
9
8
R402 510
15
6 C405 0.1/50V
C404 0.1/50V 2 3 5
K401 RS-232
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24
8 l
5. ǧ¨Ãàª×Íè Áµ Í SD ¡Òà ´ ¢Ò¾Íà µ·Õãè ª §Ò¹»ÃСͺ´ Ç µ Í¢Ò DAT0 ¢Í§«çÍ¡à¡çµ SD ¡Òà ´¡Ñº¢Ò¾Íà µ RF7 µ Í¢Ò CLK ¢Í§«çÍ¡à¡çµ SD ¡Òà ´¡Ñº¢Ò¾Íà µ RF6 µ Í¢Ò CMD/DI ¢Í§«çÍ¡à¡çµ SD ¡Òà ´¡Ñº¢Ò¾Íà µ¡Ñº¢Ò¾Íà µ RF8 µ Í¢Ò CD/CS ¢Í§«çÍ¡à¡çµ SD ¡Òà ´¡Ñº¢Ò¾Íà µ RG0 µ Í¢Ò CI áÅÐ WP ¢Í§«çÍ¡à¡çµ SD ¡Òà ´¡Ñº¢Ò¾Íà µ RF1 áÅÐ RG1 à¾×Íè µÃǨÊͺ ¡ÒÃÁÕÍÂÙ¢ ͧ SD ¡Òà ´ +3.3V R501 10k *8
SK501 SD/MMC socket
4/ 4.
WP CI DAT1/RES
4.%
DAT0/DO GND
4.$
SCK +3.3V
+3.3V
CMD/DI
4.&
CD/CS
4/
DAT2
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 l 9
4. PX-200 ºÍà ´â»Ãá¡ÃÁäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC/dSPIC Ẻã¹Ç§¨Ã (µ ͧ¨Ñ´«×Íé à¾ÔÁè 㹡óիÍ×é ºÍà ´ JX-PIC100 á¡)
4.1 ¤Ø³ÊÁºÑµ·Ô ҧ෤¹Ô¤¢Í§ PX-200 àª×Íè Áµ ͤÍÁ¾ÔÇàµÍà ¼Ò ¹¾Íà µ USB 㪠ä¿àÅÕÂé §¨Ò¡¾Íà µ USB l â»Ãá¡ÃÁäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC º¹ºÍà ´à» ÒËÁÒ¼ Ò¹·Ò§á¨ ¡ ICD2 l ÁÕ LED áÊ´§Ê¶Ò¹Ð¡Ò÷íÒ§Ò¹ 3 ´Ç§ (POWER, TARGET áÅÐ BUSY) l ÊÒÁÒöÍÑ»à¡Ã´à¿ ÃÁ áÇÃ ä´ ¼Ò ¹·Ò§«Í¿µ áÇà ¡ÒÃà¾ÔÁè àµÔÁàºÍà ¢Í§äÁâ¤Ã¤Í¹â·ÃÅàÅÍà ¹Ñ¹é ÊÒÁÒö´Ù¢Í ÁÙÅà¾ÔÁè àµÔÁ áÅдÒǹ âËÅ´â»Ãá¡ÃÁÃÇÁ·Ñ§é à¿ ÃÁ áÇà ÅÒ ÊØ´ä´ ·Õè www.microchip.com l 㪠§Ò¹¡ÑººÍà ´ Low pin count demo board ¢Í§ Microchip ä´ l ÊÒÁÒö·íÒ¡Òôպ¡ Ñ ä´ ¢Ö¹é ÍÂÙ¡ ºÑ Ãع ¢Í§à¿ ÃÁ áÇà â´Âµ ͧ㪠PX-200 ¹ÕÃé Ç Á¡Ñº MPLAB V7.4 ¢Ö¹é ä» â´ÂàÅ×Í¡ Debug Tools à» ¹ Pickit 2 l ÁÕá¼ ¹¾ÅÒʵԡÃͧà¾×Í è » ͧ¡Ñ¹á¼§Ç§¨Ã l
¤Í¹à¹ç¡àµÍà µÍ ¾Íà µ USB ˹ ǤÇÒÁ¨íÒÍÕ; Õ ÃÍÁ ÊíÒËÃѺà¾ÔÁè àµÔÁ¤ÇÒÁÊÒÁÒö 㹡ÒÃ㪠§Ò¹â´ÂÅíҾѧ (à» ¹ÍØ»¡Ã³ àÊÃÔÁ áÅФÇÒÁ ÊÒÁÒö¹Õ¨é ÐÁÕã¹Í¹Ò¤µ) à¿ ÃÁ áÇà ¤Çº¤ØÁ¡Ò÷íÒ§Ò¹ ÊÒÁÒöÍÑ»à¡Ã´ä´ ´Ç  ä¿áÊ´§ÀÒÇÐä¿àÅÕÂé § ä¿áÊ´§¡Òè ÒÂä¿àÅÕÂé §ä»Âѧ äÁâ¤Ã¤Í¹â·ÃÅàÅÍà ໠ÒËÁÒ ä¿á¨ §Ê¶Ò¹ÐäÁ ÇÒ § ᨠ¡ ICD2 ¨Ø´µ Í ICSP
ÊÇÔµª PROGRAM 㪠¡´à¾×èÍ ·íÒ¡ÒÃâ»Ãá¡ÃÁ·Ò§ÎÒà ´áÇÃ
ÃÙ»·Õè 6 Ê Ç¹»ÃСͺÊíҤѢͧ PX-200 ºÍà ´â»Ãá¡ÃÁäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC/dsPIC
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24
10 l
4.2 ¡ÒèѴÊÒÂÊÑÒ³ ICD ᨠ¡ ICD2
~ ~
PGC
PGM PGD
6"
GND Vpp
º¹ºÍà ´â»Ãá¡ÃÁ PX-200
µ Íä»Âѧἧǧ¨Ãà» ÒËÁÒÂËÃ×ͺÍà ´·´Åͧ Vdd
~ ~
PGM PGD Vdd
ÊÒÂ ICD
PGC GND Vpp
PGM PGD Vdd
PGM PGC PGD GND Vdd Vpp
¡ÒèѴ¢Ò¢Í§á¨ ¡áÅлÅÑê¡·Ñé§ËÁ´Áͧ¨Ò¡´ Ò¹º¹ (top view)
PGC GND Vpp
¡ÒèѴ¢Ò¢Í§á¨ ¡ ICD2 ·ÕèºÍà ´à» ÒËÁÒÂ
4.3. µÑÇÍ ҧ¡ÒÃàª×Íè Áµ ͡ѺäÁâ¤Ã¤Í¹â·ÃÅàÅÍà ໠ÒËÁÒ 㹡ÒÃࢠҶ֧˹ ǤÇÒÁ¨íÒáÅÐàÇÔô ¤Í¹¿ ¡àÙ ÃªÑ¹è ¢Í§äÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC/dsPIC ¢Í§ PX-200 ¨Ð㪠¡Ãкǹ¡Òà ICSP (In-Circuit Serial Programming) ËÃ×Í¡ÒÃâ»Ãá¡ÃÁã¹Ç§¨ÃẺ ͹ءÃÁ ¢ÒÊÑÒ³·Õàè ¡ÕÂè Ç¢ ͧÁÕ·§Ñé ÊÔ¹é 5 ¢Ò´Ñ§¹Õé (1) MCLR/Vpp à» ¹¢ÒÃÕ૵áÅÐÃѺáç´Ñ¹ÊÙ§ÊíÒËÃѺ¡ÒÃâ»Ãá¡ÃÁ (2) VDD ËÃ×Í Vdd à» ¹¢Òµ Íä¿àÅÕÂé § (3) GND à» ¹¢Ò¡ÃÒÇ´ (4) PGD à» ¹¢ÒÃÑºÊ §¢ ÍÁÙÅÊíÒËÃѺ¡ÒÃâ»Ãá¡ÃÁ (5) PGC à» ¹¢ÒÊÑÒ³¹ÒÌ ¡Ò¢Í§¡ÒÃâ»Ãá¡ÃÁ 㹡ÒÃàª×èÍÁµ ͨе ͡ѹẺ¢Òµ Í¢Ò Â¡àÇ ¹¢Ò MCLR/Vpp ¨íÒà» ¹Í ҧÂÔ觵 ͧÁÕǧ¨Ã » ͧ¡Ñ¹áç´Ñ¹Ê٧ ͹¡ÅѺµ Íà¾ÔèÁàµÔÁ´ ÇÂ
µ ;Íà µ USB àª×Íè Áµ ͡ѹ´ ÇÂÊÒ ICD2
ºÍà ´â»Ãá¡ÃÁ PX-200 ºÍà ´ JX-PIC100
JX-PIC100 ºÍà ´·´ÅͧäÁâ¤Ã¤Í¹â·ÃÅàÅÍà PIC24 l 11
5. ¢Ñ¹é µÍ¹Áҵðҹ㹡ÒþѲ¹Òâ»Ãá¡ÃÁ 1. µÔ´µÑ§é â»Ãá¡ÃÁ·Õãè ª 㹡ÒþѲ¹Ò Íѹ»ÃСͺ´ Ç MPLAB V7 ¢Ö¹é ä» ¶ ÒËÒ¡µ ͧ¡Òà ¾Ñ²¹Ò´ ÇÂÀÒÉÒ C µ ͧµÔ´µÑ§é «Í¿µ áÇà C ¤ÍÁä¾àÅÍà à¾ÔÁè àµÔÁ´ Ç ÍÒ·Ô MPLAB C30 ËÃ×Í MikroC ÊíÒËÃѺ dsPIC/PIC24 2. µ ͧ㪠§Ò¹ºÍà ´ JX-PIC100 ¡Ñº ICD2 ¢Í§ MicrochipËÃ×Í PX-200 ËÃ×Í PX-700 ¢Í§ºÃÔÉ·Ñ ÍÔ¹â¹àǵտ àÍç¡à¾ÍÃÔàÁ¹µ ¨íÒ¡Ñ´ (inex) 3. µ Íǧ¨Ã·Õµè Í §¡Ò÷´Åͧ¡ÑººÍà ´ JX-PIC100 4. à¢Õ¹â»Ãá¡ÃÁº¹ MPLAB ËÃ×Í MikroC áÅ Ç·íÒ¡ÒÃáÍÊà«ÁàºÅÍà ËÃ×ͤÍÁä¾Å 5. àª×Íè Áµ Í PX-200 ËÃ×Í PX-700 ࢠҡѺºÍà ´ JX-PIC100 6. ¨ ÒÂä¿ãË á¡ Ãкº ´Òǹ âËÅ´â»Ãá¡ÃÁ ¨Ò¡¹Ñ¹é ¡´ÊÇÔµª RESET à¾×Íè ·´Êͺ¡Ò÷íÒ§Ò¹
INNOVATIVE EXPERIMENT