|
Atmega8, 48, 168
1. º¸µå Ư¡
- Atmega º¸µåÀÇ ¸ðµç ÇÉÀ» Å×½ºÆ® ÇÒ¼öÀÖ°Ô ¿ÜºÎ·Î ¿¬°áµÊ.
- Àü¿øÀº USB Ä¿³ØÅÍ ÅëÇØ 500mA ±îÁö »ç¿ëÇÒ ¼ö ÀÖ´Ù. ¶Ç´Â ISP ´Ù¿î·Îµå Àü¿øÀ» ÀÌ¿ë.
- Åë½ÅÀ» USB ¸¦ ÅëÇؼ ÇÑ´Ù.(MAX232 ´ë½Å PL2303 ĨÀ» »ç¿ëÇÏ¿© USB Åë½Å).
- TX, RX ¸¦ ÀÏ¹Ý IO Æ÷Æ®·Î »ç¿ëÇÒ¼ö ÀÖ°Ô²û ¼±ÅôÜÀÚ 0¿ÈÀ¸·Î º¯°æ.
- º¸µå´Â CPU ¿¡ µû¶ó Atmega8,48 ±×¸®°í Atmega16,32 ÇÉÀÌ ÀÏÄ¡ µÇ¾î »ç¿ë°¡´É.
- PCB º¸µå¿¡ °¡´ÉÇÑ CPU ( ÇÉÀÌ ¼·Î ȣȯµÇ´Â CPU)
ATmega8-16AU, ATmega8L-8AU/I, ATmega48-20AU, ATmega48V-10AI, ATmega168-20AU, ATmega168V-8AI.
2. º¸ µå
Atmega º¸µå ½Ç¹° »çÁø (68 x 35mm)
3. Ä¿³ØÅÍ ´ÜÀÚ
a) J2 Ä¿³ØÅÍ
¹øÈ£ |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
Æ÷Æ® |
5 |
PD |
PD |
PD |
PD |
PD |
PD |
PD |
PD |
PB |
PB |
PB |
PB |
PB |
PB |
PB |
PB |
GND |
b) J3 Ä¿³ØÅÍ
¹øÈ£ |
1 |
2 |
3 |
4 |
5 |
6 |
Æ÷Æ® |
PC0 |
PC1 |
PC2 |
PC3 |
PC4 |
PC5 |
c) J4 ISP ´Ù¿î·Îµå
¹øÈ£ |
1 |
2 |
3 |
4 |
5 |
6 |
Æ÷Æ® |
VCC |
MOSI |
GND |
MISO |
SCK |
RST |
4. ¼±ÅôÜÀÚ
À§ÀÇ ¿ÞÂÊ ±×¸²Àº 1 ¹æÇâ¿¡ 0¿ÈÀÌ ÀÖ¾î USB TX, RX ·Î µÇ¾î ÀÖÀ¸¸é, 0 ¹æÇâ¿¡ ÀÖÀ¸¸é ÀÏ¹Ý I/O ·Î »ç¿ë ÇÒ ¼ö ÀÖ´Ù.
¿À¸¥ÂÊ ±×¸²Àº ÀÏ¹Ý º¸µå·Î »ç¿ë ÇÒ¶§ RST º¸µå¿¡ À§Ä¡ÇÏ°í »ç¿ëÇÏ°í, ISP ´Ù¿î·Îµå Àåºñ·Î °³¹ßÇؼ »ç¿ëÇÏ°í
½ÍÀ¸¸é ISP ¿¡ À§Ä¡ÇÏ¸é µÈ´Ù. Á¦°øÇÏ´Â º¸µå´Â À§ÀÇ ±×¸²Ã³·³ µÇ¾î ÀÖ´Ù.
5. ȸ·Îµµ
at48sch.pdf ȸ·Îµµ º¸±â
NO |
Reference |
DESCRIPTION |
¡¡ |
SIZE |
SPECIFICATION |
UNIT |
Q'TY |
1 |
U1 |
IC |
SMD |
SOIC |
Atmega48 |
EA |
1 |
2 |
U2 |
IC |
SMD |
SSOP28 |
PL-2303TA(X) |
¡¡ |
1 |
3 |
Y1 |
X-TAL |
DIP |
HC-49S |
11.0592M |
¡¡ |
1 |
4 |
Y2 |
X-TAL |
DIP |
HC-49S |
12M |
¡¡ |
1 |
5 |
SW |
TACT Switch |
DIP |
¡¡ |
KSD-05H |
¡¡ |
1 |
6 |
R1 |
Resistor |
SMD |
2012 |
4.7K ohm |
¡¡ |
1 |
7 |
R2 |
Resistor |
SMD |
2012 |
470 ohm |
¡¡ |
1 |
8 |
PD0(R3),PD4(R4),VCC,J3 |
Resistor |
SMD |
2012 |
0 ohm |
¡¡ |
4 |
9 |
R5,R6 |
Resistor |
SMD |
2012 |
24 ohm |
¡¡ |
2 |
10 |
R7 |
Resistor |
SMD |
2012 |
1.5 K ohm |
¡¡ |
1 |
11 |
C1,C2,C9 |
TANTAL Capacitor |
SMD |
3216 |
10uF/16V |
¡¡ |
3 |
12 |
C3,C4,C5,C6 |
C/C |
SMD |
2012 |
20P |
¡¡ |
4 |
13 |
C7,C8,C10 |
C/C |
SMD |
2012 |
0.1uF(104K) |
¡¡ |
3 |
14 |
FB,FB2 |
Ferrite Beed |
SMD |
2012 |
60 ohm |
¡¡ |
2 |
15 |
D1 |
LED |
SMD |
2012 |
¡¡ | ¡¡ |
1 |
16 |
USB |
¡¡ |
DIP |
¡¡ |
B -TYPE |
¡¡ |
1 |
17 |
J1 |
Pin header |
DIP |
¡¡ |
1 * 18 * 2.54Pich |
¡¡ |
1 |
18 |
J2,J4 |
Pin header |
DIP |
¡¡ |
1 * 6 * 2.54Pich |
¡¡ |
1 |
19 |
¡¡ |
PCB |
¡¡ |
FR-4 |
¡¡ | ¡¡ |
1 |
6. USB ÇÁ·Î±×·¥ ¼³Ä¡
Atmega º¸µå¿¡ Åë½ÅÇÁ·Î±×·¥À» PC¿Í Åë½ÅÀ» »ç¿ëÇÒ·Á¸é ÇÁ·Î±×·¥À» ¼³Ä¡ÇÑ´Ù.
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41 °¡¸é ÇÁ·Î±×·¥À» ´Ù¿î·Îµå ÇÒ¼ö ÀÖ´Ù.
PL2303_Prolific_DriverInstaller.zip À» ´Ù¿î ¹Þ¾Æ ¾ÐÃàÀ» ǬÈÄ ¼³Ä¡ ÇÑ´Ù.
½ÇÇàÇÏ¸é ¾Æ·¡ ±×¸²ÀÌ ³ª¿Â´Ù. Next¸¦ Ŭ¸¯ÇÑ´Ù. ( ¼Ò½º ÇÁ·Î±×·¥ ¿¹Á¦ )
½ÇÇàÇÏ¸é ¾Æ·¡ ±×¸²ÀÌ ³ª¿Â´Ù. Finish¸¦ Ŭ¸¯ÇÏ¿© ¼³Ä¡°¡ ³¡³´Ù.
º¸µå¿¡ USB Ä¿³ØÅ͸¦ ¿¬°áÇÏ°í PC À©µµ¿ì ȸéÀÇ ½ÃÀÛ-> ¼³Á¤->Á¦¾îÆÇ->½Ã½ºÅÛ ->Çϵå¿þ¾î ->ÀåÄ¡°ü¸®ÀÚ ->Æ÷Æ® (COM ¹× LPT) -> Prolific USB-to- Serial Comm Port (COM3)À» È®ÀÎÇÑ´Ù.
7. Åë½Å ÇÁ·Î±×·¥
Atmega48 º¸µå at48test.zip AVR Studio ·Î ÇÁ·Î±×·¥ µÇ¾î ÀÖ°í, Á¦°øµÈ º¸µå´Â at48test.hex ¿¹Á¦°¡ ´Ù¿î·Îµå µÇ¾î ÀÖ´Ù.
Á¦Ç° ¹ß¼ÛÀº À§ÀÇ Åë½Å ÇÁ·Î±×·¥ÀÌ ³»ÀåµÇ¾î ÀÖ¾î ¹Ù·Î È®ÀÎÇÒ ¼ö ÀÖ´Ù. µð¹ÙÀ̽º´Â Atmega 48V 10AU , Ç»ÁîºñÆ®´Â Ext 0xFF, High 0xDF, Low 0xFF ·Î µÇ¾î ÀÖ´Ù.
Atmega48 º¸µå USB¸¦ PC USB¿Í ¿¬°áÇÏ°í Åë½Å ÇÁ·Î±×·¥À» ½ÇÇàÇÏ°í, ¸®¼ÂÀ» ´©¸£¸é Atmega48 Board Test °¡ µð½ºÇ÷¹ÀÌ µÇ°í, A ¸¦ ´©¸£¸é Uart Test => Keyboard A, B ¸¦ ´©¸£¸é Uart Test => Keyboard B °¡ µð½ºÇ÷¹ÀÌ µÈ´Ù.
SerialCom.zip Åë½ÅÇÁ·Î±×·¥ VC++ ½ÇÇàÆÄÀÏ ´Ù¿î¹Þ±â * À§ÀÇ ÇÁ·Î±×·¥ »ç¿ë
SerialCom1.zip Åë½ÅÇÁ·Î±×·¥ VC++ ¼Ò½º ´Ù¿î¹Þ±â(1234)
VBSerial.zip Åë½ÅÇÁ·Î±×·¥ VB ½ÇÇàÆÄÀÏ ´Ù¿î¹Þ±â
VB_Serial.zip Åë½ÅÇÁ·Î±×·¥ VB ¼Ò½º ´Ù¿î¹Þ±â(1234)
8. º¸µå ÇÉ Çì´õ ÀÀ¿ë
1) º¸µå À§¿¡ Çì´õÇÉ ºÎÂø½Ã
2) º¸µå ¾Æ·¡¿¡ Çì´õ ÇÉ ºÎÂø½Ã
3) º¸µå¿Í ÀÀ¿ëº¸µå ºÐ¸® µÇ¾î ÀÖÀ» ¶§
|