Sei sulla pagina 1di 4



,QWKLVDUWLFOHZHZLOOJRRYHUWKHSLQRXWRIWKH$WPHJDFKLS
7KH$WPHJDLVDYHU\SRSXODUPLFURFRQWUROOHUFKLSSURGXFHGE\$WPHO,WLVDQELW
PLFURFRQWUROOHUWKDWKDV.RIIODVKPHPRU\.RI((3520DQG.RILQWHUQDO65$0
7KH$WPHJDLVRQHRIWKHPLFURFRQWUROOHUFKLSVWKDWDUHXVHGZLWKWKHSRSXODU$UGXLQR
'XHPLODQRYHERDUGV7KH$UGXLQR'XHPLODQRYHERDUGFRPHVZLWKHLWKHURIPLFURFRQWUROOHU
FKLSVWKH$WPHJDRUWKH$WPHJD2IWKHVHWKH$WPHJDLVWKHXSJUDGHGPRUHDGYDQFHG
FKLS8QOLNHWKH$WPHJDZKLFKKDV.RIIODVKSURJUDPPHPRU\DQGE\WHVRILQWHUQDO
65$0WKH$WPHJDKDV.RIIODVKSURJUDPPHPRU\DQG.RI,QWHUQDO65$0
7KH$WPHJDKDVSLQV
,WKDVGLJLWDO,2SLQVRIZKLFKFDQEHXVHGDV3:0RXWSXWVDQGDQDORJLQSXWSLQV7KHVH,2
SLQVDFFRXQWIRURIWKHSLQV
7KHSLQRXWIRUWKH$WPHJDLVVKRZQEHORZ

7KHWDEOHEHORZJLYHVDGHVFULSWLRQIRUHDFKRIWKHSLQVDORQJZLWKWKHLUIXQFWLRQ

Pin
Number

Description Function

PC6

Reset

PD0

Digital Pin (RX)

PD1

Digital Pin (TX)

PD2

Digital Pin

PD3

Digital Pin (PWM)

PD4

Digital Pin

Vcc

Positive Voltage (Power)

GND

Ground

XTAL1

Crystal Oscillator

10

XTAL 2

Crystal Oscillator

11

PD5

Digital Pin (PWM)

12

PD6

Digital Pin (PWM)

13

PD7

Digital Pin

14

PB0

Digital Pin

15

PB1

Digital Pin (PWM)

16

PB2

Digital Pin (PWM)

17

PB3

Digital Pin (PWM)

18

PB4

Digital Pin

19

PB5

Digital Pin

20

AVCC

Positive voltage for ADC (power)

21

AREF

Reference Voltage

22

GND

Ground

23

PC0

Analog Input

24

PC1

Analog Input

25

PC2

Analog Input

26

PC3

Analog Input

27

PC4

Analog Input

28

PC5

Analog Input

$VVWDWHGEHIRUHRIWKHSLQVIXQFWLRQDV,2SRUWV7KLVPHDQVWKH\FDQIXQFWLRQDVDQLQSXWWRWKH
FLUFXLWRUDVRXWSXW:KHWKHUWKH\DUHLQSXWRURXWSXWLVVHWLQWKHVRIWZDUHRIWKHSLQVDUHGLJLWDO
SLQVRIZKLFKFDQIXQFWLRQWRJLYH3:0RXWSXWRIWKHSLQVDUHIRUDQDORJLQSXWRXWSXW
RIWKHSLQVDUHIRUWKHFU\VWDORVFLOODWRU7KLVLVWRSURYLGHDFORFNSXOVHIRUWKH$WPHJDFKLS$
FORFNSXOVHLVQHHGHGIRUV\QFKURQL]DWLRQVRWKDWFRPPXQLFDWLRQFDQRFFXULQV\QFKURQ\EHWZHHQWKH
$WPHJDFKLSDQGDGHYLFHWKDWLWLVFRQQHFWHGWR
7KHFKLSQHHGVSRZHUVRRIWKHSLQV9FFDQG*1'SURYLGHLWSRZHUVRWKDWLWFDQRSHUDWH7KH
$WPHJDLVDORZSRZHUFKLSVRLWRQO\QHHGVEHWZHHQ9RISRZHUWRRSHUDWH
7KH$WPHJDFKLSKDVDQDQDORJWRGLJLWDOFRQYHUWHU $'& LQVLGHRILW7KLVPXVWEHRUHOVHWKH
$WPHJDZRXOGQ
WEHFDSDEOHRILQWHUSUHWLQJDQDORJVLJQDOV%HFDXVHWKHUHLVDQ$'&WKHFKLSFDQ
LQWHUSUHWDQDORJLQSXWZKLFKLVZK\WKHFKLSKDVSLQVIRUDQDORJLQSXW7KH$'&KDVSLQVVHW
DVLGHIRULWWRIXQFWLRQ$9&&$5()DQG*1'$9&&LVWKHSRZHUVXSSO\SRVLWLYHYROWDJHWKDWIRU
WKH$'&7KH$'&QHHGVLWVRZQSRZHUVXSSO\LQRUGHUWRZRUN*1'LVWKHSRZHUVXSSO\JURX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