Bascom 8051 i AVR Instrukcja PL.pdf

(523 KB) Pobierz
BASCOM 8051 i BASCOM AVR
%$6&20 L %$6&20 $95
6WURQD ]
0·RG\ 7HFKQLN
%$6&20 L %$6&20 $95
6LHUSLH
: GUXJLHM SR·RZLH SU]HGRVWDWQLHJR URNX ;; ZLHNX QLH WU]HED FK\ED QLNRJR SU]HNRQ\ZD¸ *H HOHNWURQLND MHVW GRPLQXM F REHFQLH G]LHG]LQ WHFKQLNL
EH] NWyUHM MDNDNROZLHN OXG]ND G]LD·DOQR ¸ MHVW SUDNW\F]QLH QLHPR*OLZD 7UXGQR VL ZL F G]LZL¸ *H HOHNWURQLN RG GDZQD ]DMPXM VL WDN*H KREE\ FL
RVL JDM F QD W\P SROX FLHNDZH UH]XOWDW\ -HGQDN ZVSy·F]HVQD HOHNWURQLND WR SUDZLH Z\· F]QLH WHFKQLND F\IURZD J·RZQLH PLNURSURFHVRURZD
=GHF\GRZDQD ZL NV]R ¸ XN·DGyZ HOHNWURQLF]Q\FK ]UHDOL]RZDQ\FK WHFKQLN PLNURSURFHVRURZ MHVW QLH W\ONR ·DWZLHMV]D Z EXGRZLH DOH L ]QDF]QLH
WD V]D RG VZRLFK RGSRZLHGQLNyZ EXGRZDQ\FK ] Z\NRU]\VWDQLHP VWDQGDUGRZ\FK XN·DGyZ F\IURZ\FK QLH ZVSRPLQDM F MX* R DQDORJRZ\FK -HGQDN
SRZD*Q\P XWUXGQLHQLHP Z VWRVRZDQLX W\FK QRZRF]HVQ\FK HOHPHQWyZ MHVW IDNW *H VDP PLNURSURFHVRU QLF]HJR QLH SRWUDIL L GR MHJR G]LD·DQLD
SRWU]HEQ\ MHVW SURJUDP NWyUHJR QDSLVDQLH VSUDZLD QLHNWyU\P NRQVWUXNWRURP WUXGQR FL 1LH ND*G\ HOHNWURQLN MHVW MHGQRF]H QLH GREU\P SURJUDPLVW L
QLH ND*G\ SRWUDIL QDSLVD¸ SRSUDZQ\ SURJUDP Z DVHPEOHU]H = WHJR WH* SRZRGX SRZVWD·\ L QDGDO SRZVWDM UR]PDLWH QDU] G]LD X·DWZLDM FH SLVDQLH
SURJUDPyZ QD PLNURSURFHVRU\ Z W\P NRPSLODWRU\ M ]\NyZ SURJUDPRZDQLD Z\VRNLHJR SR]LRPX
- ]\NL Z\VRNLHJR SR]LRPX V QDU] G]LDPL SURJUDPLVW\F]Q\PL UyZQLH VWDU\PL UDF]HM SRZLQQL P\ SRZLHG]LH¸ P·RG\PL MDN WHFKQLND NRPSXWHURZD
- ]\NyZ WDNLFK SRZVWD·R EDUG]R ZLHOH D ZV]\VWNLH PDM MHGQ ZVSyOQ FHFK X·DWZLDM SRUR]XPLHZDQLH VL ] NRPSXWHUHP SRSU]H] VZRM
EDUG]LHM QL* DVHPEOHU F]\ ]Z·DV]F]D NRG PDV]\QRZ\ OXG]N VN·DGQL - ]\NLHP NWyU\ X]\VND· QDMZL NV] SRSXODUQR ¸ WUZDM F SR G]LH
G]LVLHMV]\ MHVW EH] Z WSLHQLD %$6,&
-X* Z PRPHQFLH NLHG\ NRPSXWHU\ RVRELVWH WUDIL·\ SRG VWU]HFK\ M ]\N WHQ ]GRE\· VRELH RJURPQ U]HV] X*\WNRZQLNyZ 3RZyG WHM SRSXODUQR FL E\·
SURVW\ ZL NV]R ¸ NRPSXWHUNyZ GRPRZ\FK Z W\P OHJHQGDUQH 63(&7580 L &2002'25( PLD·\ LQWHUSUHWHU %$6,& D ]DV]\W\ Z VZRMHM SDPL FL
VWD·HM L %$6,& E\· GOD QLFK QLH W\ONR M ]\NLHP SURJUDPRZDQLD DOH L SU\PLW\ZQ\P V\VWHPHP RSHUDF\MQ\P 'DOV]\ NURN Z NLHUXQNX SRSXODU\]DFML
%$6,& D XF]\QL·D ILUPD ,%0 Z\SRVD*DM F VZyM SLHUZV]\ NRPSXWHU 3& Z LQWHUSUHWHU WHJR M ]\ND XPLHV]F]RQ\ Z SDPL FL (3520 -HGQDN GR
SRSXODUQR FL WHJR SRJDUG]DQHJR SU]H] UDVRZ\FK SURJUDPLVWyZ SURVWHJR L SRF] WNRZR QLH VWUXNWXUDOQHJR M ]\ND QDMEDUG]LHM SU]\F]\QL·R VL
GRGDZDQLH JR SU]H] 0,&5262)7 GR ND*GHJR SDNLHWX V\VWHPX RSHUDF\MQHJR 06'26 3U]H] ZLHOH ODW D* GR SRZVWDQLD V\VWHPX :,1'2:6
%$6,& FRUD] EDUG]LHM XGRVNRQDODQ\ L XQRZRF]H QLDQ\ ]QDMGRZD· VL QLHMDNR DXWRPDW\F]QLH QD ND*G\P NRPSXWHU]H NODV\ 3& FR SR]ZDOD·R
V]HURNLP U]HV]RP X*\WNRZQLNyZ WHM PDV]\Q\ ]D ]D]QDMRPLHQLH VL ] W\P M ]\NLHP L VWRVRZDQLH JR Z VZRLFK SUDFDFK SURJUDPLVW\F]Q\FK
%$6,& MHVW M ]\NLHP Z\M WNRZR SU]\MD]Q\P L SURVW\P 3LV] F SURJUDP Z W\P M ]\NX QLH]DOH*QLH MDNL MHJR GLDOHNW Z\ELHU]HP\ QDMF] FLHM
X*\ZDP\ V·yZ L VNUyWyZ SRFKRG] F\FK ] SRWRF]QHJR M ]\ND DQJLHOVNLHJR =DPLDVW DEUDNDGDEU\ DVHPEOHUD PDP\ WX SROHFHQLD W\SX *268%
*272 QR WHJR SROHFHQLD OHSLHM QLH QDGX*\ZD¸ SRWUDIL SL NQLH ]DEORNRZD¸ SURJUDP ,) 7+(1 LWG : FL JX XELHJ·\FK ODW SRZVWD·R ZLHOH
NRPSLODWRUyZ %$6,& D GRVWRVRZDQ\FK GR SURJUDPRZDQLD ZV]\VWNLFK QDMEDUG]LHM SRSXODUQ\FK URG]LQ PLNURSURFHVRUyZ 0RLP ]GDQLHP E\·\ WR
MHGQDN SURGXNW\ QLH]E\W GRSUDFRZDQH SLVDQH QLHUD] SU]H] DPDWRUyZ Z\NRU]\VWXM FH W\SRZ VN·DGQL %$6,& D EH] SUyE\ VWZRU]HQLD QRZ\FK
GRVWRVRZDQ\FK GR VSHF\ILNL WHFKQLNL PLNURSURFHVRURZHM SROHFH 3U]H·RP QDVW SL· VWRVXQNRZR QLHGDZQR NLHG\ KROHQGHUVND ILUPD 0&6
(OHFWURQLFV Z\SX FL·D QD U\QHN SDNLHW\ SURJUDPRZH NWyUH ] PLHMVFD VWD·\ VL SU]HERMDPL Z UyG HOHNWURQLNyZ L WR ]DUyZQR DPDWRUyZ MDN L
]DZRGRZFyZ %$6&20 SU]H]QDF]RQ\ GR REV·XJL SURFHVRUyZ SRSXODUQHM URG]LQ\ L %$6&20 $95 GHG\NRZDQ\ SURFHVRURP 5,6&
QDMQRZV]HM JHQHUDFML SURGXNRZDQ\P SU]H] ILUP $70(/ %OLVNR URN WHPX UHGDNFMD (OHNWURQLNL 3UDNW\F]QHM UHSUH]HQWRZDQD SU]H] PRM VNURPQ
RVRE QDZL ]D·D FLV· ZVSy·SUDF ] 0&6 (OHFWURQLFV :VSy·SUDFD WD ]DRZRFRZD·D PLHG]\ LQQ\PL VWZRU]HQLHP QRZ\FK XGRVNRQDORQ\FK QDU] G]L
KDUZDUH RZ\FK D SU]HGH ZV]\VWNLP SRZVWDQLHP QRZHM ZHUVML SDNLHWX %$6&20 %$6&20 6SHFLDO (GLWLRQ IRU (OHNWURQLND 3UDNW\F]QD 3DNLHW
WHQ SUDNW\F]QLH LGHQW\F]Q\ ] ZHUVM NRPHUF\MQ SRVLDGD MHGQR W\ONR RJUDQLF]HQLH G·XJR ¸ NRGX Z\QLNRZHJR QLH PR*H SU]HNUDF]D¸ N% FR Z
SU]\SDGNX QDMSRSXODUQLHMV]\FK SURFHVRUyZ $7 & QLH MHVW *DGQ\P RJUDQLF]HQLHP 3URJUDP %$6&20 6(I(3 GRVW SQ\ MHVW =$
'$502 QD VWURQLH (OHNWURQLNL 3UDNW\F]QHM ZZZ HS FRP SO 3RQDGWR Z RIHUFLH KDQGORZHM $97 ]QDMGXMH VL SH·QD NRPHUF\MQD ZHUVMD %$6&20 D
GKDYW#DYW FRP SO Z FHQLH E G FHM RGSRZLHGQLNLHP RN 86' FR Z SRUyZQDQLX ] FHQDPL LQQ\FK WHJR W\SX SURJUDPyZ MHVW VXP Z\M WNRZR
QLVN
KWWS ZZZ PW FRP SO QXP B EDVFRP KWP
587218.006.png 587218.007.png 587218.008.png
%$6&20 L %$6&20 $95
6WURQD ]
&R Z·D FLZLH SRWUDIL WDN SU]H]H PQLH Z\FKZDODQ\ SDNLHW SURJUDPRZ\" :V]\VWNR FR SRWU]HEQH MHVW GR QDSLVDQLD SURJUDPX REV·XJXM FHJR SURFHVRU ]
URG]LQ\ VNRPSLORZDQLD JR SU]HWHVWRZDQLD L ]DSURJUDPRZDQLD SURFHVRUD 7DN ZL F QD]\ZDQLH %$6&20 D SR SURVWX NRPSLODWRUHP MHVW
]Z\N·\P QLHSRUR]XPLHQLHP MHVW WR SRW *Q\ ]HVWDZ QDU] G]L XPR*OLZLDM F\ GRVW S GR WHFKQLNL SURFHVRURZHM QDZHW G]LHFLRP GRV·RZQLH PRMD
OHWQLD &yUND ] SRZRG]HQLHP SLVD·D VDPRG]LHOQLH SURJUDP\ QD
: VN·DG SDNLHWX %$6&20 ZFKRG] QDVW SXM FH HOHPHQW\
3URIHVMRQDOQ\ HG\WRU WHNVWRZ\ U\V XPR*OLZLDM F\ V]\ENLH L Z\JRGQH SLVDQLH SURJUDPyZ D WDN*H VSUDZG]DQLH LFK SRSUDZQR FL (G\WRU SRVLDGD
ZV]\VWNLH IXQNFMH NRSLRZDQLH SU]HQRV]HQLH Z\V]XNLZDQLH LWS ]Z\NOH VWRVRZDQH Z WHJR W\SX SURJUDPDFK RUD] OLF]QH IXQNFMH GRGDWNRZH
VSHF\ILF]QH GOD HG\WRUyZ VWRVRZDQ\FK SU]H] SURJUDPLVWyZ :\NRU]\VW\ZDQ\ SU]H %$6&20 GLDOHNW %$6,& D PD QLHZLHOH ZVSyOQHJR ] %$6,& LHP
NWyU\ E\¸ PR*H QLHNWyU]\ SDPL WDM ] HSRNL NRPSXWHUyZ ELWRZ\FK -HVW WR QRZRF]HVQ\ M ]\N SURJUDPRZDQLD Z SH·QL VWUXNWXUDOQ\ L Z\SRVD*RQ\ Z
G]LHVL WNL GRGDWNRZ\FK SROHFH VSHF\ILF]Q\FK GOD WHFKQLNL PLNURSURFHVRURZHM FR Z·D QLH VWDQRZL R VLOH WHJR M ]\ND 3RV·X*P\ VL WX SURVW\P
SU]\N·DGHP 3UDZLH ND*G\ V\VWHP PLNURSURFHVRURZ\ PXVL SRVLDGD¸ PR*OLZR ¸ NRPXQLNRZDQLD VL ] RWRF]HQLHP Z W\P PR*OLZR ¸ Z\V\·DQLD
NRPXQLNDWyZ R DNWXDOQ\P VWDQLH V\VWHPX -DNR XU] G]HQLD REUD]XM FH SU]HWZRU]RQH SU]H] SURFHVRU GDQH F] VWR VWRVXMH VL Z\ ZLHWODF]H
DOIDQXPHU\F]QH /&' XPR*OLZLDM FH SUH]HQWDFM QLH W\ONR GDQ\FK OLF]ERZ\FK DOH WDN*H GRZROQ\FK V\PEROL L ]QDNyZ DOIDEHWX 2EV·XJD WDNLFK
Z\ ZLHWODF]\ ] SR]LRPX M ]\ND QLVNLHJR SR]LRPX MHVW GR ¸ N·RSRWOLZD $ MDN WR Z\JO GD Z %$6&20 LH" $QR WDN MDN ZLG]LP\ QD U\VXQNX 7H
NLOND OLQLMHN SURJUDPX QLH W\ONR SR]ZROL·R Z\V·D¸ * GDQ\ QDSLV QD Z\ ZLHWODF] DOH L ]GHILQLRZD¸ SROVNL ]QDN QDURGRZ\ · L GR· F]\¸ JR GR WHNVWX
(G\WRU WHNVWRZ\ Z\SRVD*RQ\ MHVW Z PRGX· VSUDZG]DQLD SRSUDZQR FL VN·DGQL M ]\ND 0&6 %$6,& F]DM F\ VL WDN*H DXWRPDW\F]QLH SU]HG ND*G
NRPSLODFM SURJUDPX
6\PXODWRU SURJUDPRZ\ L VSU] WRZ\ 1DSLVDQLH SURJUDPX WR IUDV]ND SUREOHP\ ]DF]\QDM VL GRSLHUR SRGF]DV XVXZDQLD ] QLHJR QLHXQLNQLRQ\FK
GyZ -HVW WR D Z·D FLZLH E\· F]\QQR ¸ QLH]Z\NOH SUDFRFK·RQQD SROHJDM FD QD SURJUDPRZDQLX SURFHVRUD XPLHV]F]DQLX JR Z XN·DG]LH
VSUDZG]DQLX SRSUDZQR FL G]LD·DQLD V\VWHPX SRSUDZLDQLH RGQDOH]LRQ\FK GyZ SRQRZQ\P SURJUDPRZDQLX SURFHVRUD L WDN GDOHM QLHMHGQRNURWQLH
SU]H FD·H JRG]LQ\ D QDZHW GQL %$6&20 SR]ZDOD ]QDF]QLH SU]\VSLHV]\¸ PR]ROQ F]\QQR ¸ WHVWRZDQLD SURJUDPyZ
: SDNLHFLH %$6&20 ]DZDUW\ MHVW V\PXODWRU SURJUDPRZ\ XPR*OLZLDM F\ F] FLRZH SU]HWHVWRZDQLH QDSLVDQHJR SURJUDPX EH] NRQLHF]QR FL
SURJUDPRZDQLD SURFHVRUD DQL GR· F]DQLD MDNLFKNROZLHN XU] G]H SHU\IHU\MQ\FK GR NRPSXWHUD U\V =D SRPRF WHJR V\PXODWRUD PR*HP\
VSUDZG]L¸ HIHNW\ ZVSy·G]LD·DQLD SURFHVRUD ] Z\ ZLHWODF]DPL DOIDQXPHU\F]Q\PL /&' L Z\ ZLHWODF]DPL VLHGPLRVHJPHQWRZ\PL REHMU]H¸ VWDQ\ Z\M ¸
ZV]\VWNLFK SRUWyZ D WDN*H Z\PXVL¸ QD QLFK RNUH ORQH VWDQ\ ORJLF]QH 'RVW SQH V HG\WRU\ V·X* FH SRGSRU] GNRZDQLX REV·XG]H XU] G]H
SHU\IHU\MQ\FK RNUH ORQ\FK Z\M ¸ SURFHVRUD =D SRPRF RGSRZLHGQLFK SU]\FLVNyZ PR*HP\ WDN*H V\PXORZD¸ Z\VW SRZDQLH SU]HUZD D WDN*H SUDF
WLPHUyZ 6\PXODFMD VSU] WRZD Z\PDJD SR· F]HQLD NRPSXWHUD ] EDGDQ\P XN·DGHP ]D SRPRF SURVWHJR SDWU] GDOHM XN·DGX HOHNWURQLF]QHJR
%ORN REV·XJL SURJUDPDWRUyZ %$6&20 PR*H ZVSy·SUDFRZD¸ ] ZLHORPD W\SDPL SURJUDPDWRUyZ ] NWyU\FK NLOND ]RVWD·R RSUDFRZDQ\FK ZVSyOQLH
SU]H] 0&6 (OHFWURQLFV L (OHNWURQLN 3UDNW\F]Q %ORN REV·XJL SURJUDPDWRUyZ XPR*OLZLD QLH W\ONR ]DSURJUDPRZDQLH SURFHVRUyZ DOH WDN*H
RGF]\W\ZDQLH ]DZDUWR FL LFK SDPL FL SURJUDPX NDVRZDQLH MHM HG\FM SOLNyZ Z IRUPDFLH +(; L XVWDZLDQLH ELWyZ ]DEH]SLHF]DM F\FK SURJUDP SU]HG
QLHOHJDOQ\P VNRSLRZDQLHP U\V
KWWS ZZZ PW FRP SO QXP B EDVFRP KWP
587218.009.png 587218.001.png 587218.002.png
%$6&20 L %$6&20 $95
6WURQD ]
5R]EXGRZDQ\ V\VWHP SRPRF\ F]\OL W]Z +(/3 3R Z\ZR·DQLX +(/3 X X]\VNXMHP\ GRVW S GR V]F]HJy·RZHM GRNXPHQWDFML SURJUDPX GRN·DGQHJR
RSLVX ZV]\VWNLFK SROHFH LFK VN·DGQL L ]DVWRVRZDQLD SRSDUWHJR SU]\N·DGDPL U\V .RU]\VWDM F ] Z\· F]QLH +(/3 X PR*HP\ GRZLHG]LH¸ VL
ZV]\VWNLHJR R SURJUDPLH WDN *H SRVLDGDQLH MDNLHMNROZLHN GUXNRZDQHM LQVWUXNFML MHVW Z ]DVDG]LH ]E GQH -HGQDN QDZHW QDMOHSV]H URGRZLVNR
SURJUDPLVW\F]QH MHVW QLHZLHOH ZDUWH EH] QLH]E GQHJR RSU]\U] GRZDQLD SURJUDPDWRUyZ L HPXODWRUyZ VSU] WRZ\FK : RIHUFLH KDQGORZHM $97
]QDMGXMH VL NLOND SURJUDPDWRUyZ ZVSy·SUDFXM F\FK ] SDNLHWHP %$6&20 1DMEDUG]LHM SROHFD·E\P SURJUDPDWRU RSLVDQ\ Z QXPHU]H (OHNWURQLNL
GOD :V]\VWNLFK $97 -HVW WR XN·DG ILUPRZ\ RSUDFRZDQ\ SU]H] 0&6 (OHFWURQLFV EDQDOQLH SURVW\ L NWyUHJR EXGRZD QLH SRZLQQD QDVWU F]\¸
WUXGQR FL QDZHW ]XSH·QLH SRF] WNXM F\P HOHNWURQLNRP : W\P VDP\P QXPHU]H (OHNWURQLNL GOD :V]\VWNLFK RSLVDQ\ WDN*H ]RVWD· HPXODWRU VSU] WRZ\
$97 L QLH]Z\NOH X*\WHF]QD ]DUyZQR GOD SRF] WNXM F\FK MDN L ]DDZDQVRZDQ\FK NRQVWUXNWRUyZ S·\WND WHVWRZD $97 XPR*OLZLDM FD
EXGRZDQLH SURVW\FK V\VWHPyZ PLNURSURFHVRURZ\FK QDZHW EH] NRQLHF]QR FL OXWRZDQLD
=ELJQLHZ 5DDEH H PDLO ]ELJQLHZ UDDEH#HS FRP SO
KWWS ZZZ PW FRP SO QXP B EDVFRP KWP
587218.003.png 587218.004.png 587218.005.png
Zgłoś jeśli naruszono regulamin