辽宁快乐12走势图

全国服务热线:18929363263

辽宁快乐12走势图 PRODUCT DISPLAY

Atmel单片机应用技巧

来源: 发布时间:1970-01-01 359 次浏览辽宁快乐12走势图

ZAICHENGXUSHEJIZHONG,SHEZHIYIGEHAODESHIZHONGZHONGDUAN,KEDADAFANGBIANHEJIANHUACHENGXUDEBIANZHI,TIGAOXITONGDEXIAOLVYUKECAOZUOXING。XIAMIANYI6M

GONGNENGQIANGDADESHIZHONGZHONGDUAN

辽宁快乐12走势图  ZAICHENGXUSHEJIZHONG,SHEZHIYIGEHAODESHIZHONGZHONGDUAN,KEDADAFANGBIANHEJIANHUACHENGXUDEBIANZHI,TIGAOXITONGDEXIAOLVYUKECAOZUOXING。XIAMIANYI6MHzSHIZHONGDE89C51XITONGWEILI,SHUOMINGSHIZHONGZHONGDUANDEYINGYONG。 

  DINGSHIQICHUZHIYUZHONGDUANZHOUQI。 SHIZHONGZHONGDUANDESHIJIANJIANGEYIBANQU20ms(50Hz),RUXUYAOBAIFENZHIYIMIAODESHIJIXINHAO,KEQU10ms(100Hz)。ZHEILIQU20ms。T0GONGZUOYU16WEIDINGSHIQIFANGSHI(FANGSHI1),MEIGUOYIGEJIQIZHOUQIT0ZIDONGJIA1,JIZHI0FFFFhDEXIAYIGEJIQIZHOUQI,T0YICHUCHANSHENGZHONGDUAN,YOUYINGJIANSHEZHIXIANGYINGDEBIAOZHIWEIGONGRUANJIANCHAXUN。JIZHONGDUANQIDONGHOUJINGGUON+1GEJIQIZHOUQI,T0CHANSHENGZHONGDUAN。SUOYI,ZHIYAOXIANZAIT0ZHONGCUNRUYIGEBI0FFFFhXIAONDESHU,RANHOUQIDONGDINGSHIQI,BIANHUIZAIN+1GEJIQIZHOUQIHOUCHANSHENGZHONGDUAN,ZHEIGESHUBIANSHISUOWEIDE“CHUZHI”。SHIZHONGWEI6MHz,ZE20msYOU10000GEJIQIZHOUQI。(10000)10=(2710)16,ZE0FFFFh-2710h+1=0D8F0h。YOUYUXIANGYINGZHONGDUAN、BAOHUXIANCHANGJIZHONGZHUANGCHUZHIHAIXUYAO7~8JIQIZHOUQI,ZET0YINGZHUANGRUDECHUZHISHI0D8F7h。MEICIZHONGDUANJINRUHOU,XIANBAAJIPSWDEZHIYADUI,ZAIBA0D8F7hZHUANGRUT0。 

  SHEZHIYIGEDANYUAN,MEICIZHONGDUANJIA1。 JIANGRAMZHONGYIGEDANYUANQUMINGWEIINCPI。ZAIZHONGDUANCHULICHENGXUZHONG,ZHUANGWANT0CHUZHIHOU,YONG“INC INCPI”ZHILINGJIANGQIJIA1。WULUNZHONGDUANCHENGXUHAISHIZHUCHENGXU,DOUKEYICONGINCPIZHONGDUQU20msDE1~256ZHIJIANRENYIZHENGSHUBEIDEXINHAO。RUXIANGSHUMAGUANSONGXIANDECHENGXU,XUYAOMEI0.5MIAOSHUAXINYICIXIANSHIQI,KEYISHEYIDENGDAIDANYUANW_DISP,YONG“MOV A,INCPI/ADD A,#25/MOV W_DISP,A”SANTIAOYUJURANGQIBIDANGQIANDEINCPIZHIDA25,RANHOUZAIMEICIZHONGDUANZHONGJIANCHAW-DISPSHIFOUYUINCPIZHIXIANGDENG。RUOXIANGDENG,SHUOMINGYIGUOLE25GEZHONGDUANZHOUQI,ZHIXINGSONGXIANCHENGXU,BINGQIERANGW_DISPZAIJIASHANG25,DENGDAIXIAYIGE0.5MIAO。CHENGXUZHONGKEYISHEZHIDUOGEDENGDAIDANYUAN,YIQUDEDUOGESHIJIXINHAO。 

SHENZHENPCBAJIAGONG

辽宁快乐12走势图  ZAIZHONGDUANZHONGDUJIANYUKANMEN。 TONGCHANG,WOMENZAIZHUCHENGXUZHONGDUJIANPAN,BUZHOUWEI:SAOMIAOJIANPAN,RUOYOUJIANANXIA,ZEYANSHIJISHIHAOMIAOQUDOUDONG,ZAICIQUERENCIJIANQUESHIANXIA,RANHOUCHULIGAIJIANDUIYINGDEGONGZUO,WANCHENGHOUZAICIZHONGFUSHANGSHUBUZHOU。ZHEIZHONGFANGSHIYOULIANGDIANBUZU:1. CHULIXIANGYINGGONGZUOSHIWUFASUOCUNANJIANDESHURU,KENENGLOUJIAN。2. YANSHIQUDOUSHICPUWUFAZUOQITASHIQING,XIAOLVBUGAO。BADUJIANFANGZAISHIZHONGZHONGDUANZHONG,KEBIMIANSHANGSHUBUZU。FANGFAWEI:RUGUOLIANGCIXIANGLINDEZHONGDUANZHONGDOUDUDAOTONGYIGEJIANANXIA,ZEZHEIGEJIANSHIYOUXIAODE(DADAOLEQUDOUMUDE),JIANGQISUOCUNDAOXIANRUXIANCHU(DUILIE)DEJIANPANHUANCHONGQU,DENGZHUCHENGXULAICHULI。ZHEIYANG,ZHUCHENGXUCHULIANJIANDETONGSHI,RENGKEXIANGYINGJIANPANDESHURU。HUANCHONGQUSHENDUTONGCHANGKESHEWEI8JI,RUOSUOCUNDEJIANSHUYIDADAO8GE,ZEHULVEXINDEANJIAN,BINGBAOJINGTISHIYONGHUXINDEANJIANJIANGWUXIAO。RUOJIANPANHUANCHONGDUILIETINGZHIDESHIJIANDADAZHANGYUZHUCHENGXUCHULIANJIANSUOXUYAODEZUIDASHIJIAN,SHUOMINGZHUCHENGXUYICHUCUOHUOPAOFEI,KEYIZAIZHONGDUANZHONGYONGZHILINGJIANGXITONGFUWEI,QIDAOLEKANMENGOUDEMUDE。 

  ZHUCHENGXUZHONGDEYANSHI。 YOUYUYOUCHANGKAIDESHIZHONGZHONGDUAN,SUOYIDANGZHUCHENGXUZHONGYOUXUYAOSHIJIANJIAODUAN、JINGDUJIAOGAODEYANSHISHI,YINGZANSHIBASHIZHONGZHONGDUANGUANBI。CHENGXUZHONGXUYAOSHIJIANJIAOZHANG、JINGDUBUGAODEYANSHISHI,KEFANGZHAOXIALIBIANCHENG,BIMIANDUOCENGQIANTAODEXUNHUANYANSHI。 

辽宁快乐12走势图  LI:CONGP1.1KOUSHUCHU1MIAODEGAODIANPINGMAICHONG 


辽宁快乐12走势图  MOV A,INCPI 

INC A

辽宁快乐12走势图CJNE A,INCPI,$;DENGDAIYICIZHONGDUANCHULIWANCHENG

SETB P1.1 ;SHEP1.1WEI1,MAICHONGKAISHI

辽宁快乐12走势图ADD A,#50 ;50GE20msWEI1MIAO

辽宁快乐12走势图CJNE A,INCPI,$ ;DENGZHONGDUANJIANGINCPIJIAYI50CI

CLR P1.1 ;SHEP1.1WEI0,MAICHONGJIESHU


  ZONGSHANGKEZHI,SHEJISHIYAOLINGHUODIYINGYONGSHIZHONGZHONGDUAN,JIANGRENWUHELIFENPEIJIZHONGDUANHEZHUCHENGXU,ERZHEYAOFENGONGMINGQUE,JIEKOUJIANDAN。BINGYINGZHUYIJINLIANGSUODUANZHONGDUANCHULICHENGXUDEZHIXINGSHIJIAN,QIEWUZHANGYU20ms。 


辽宁快乐12走势图  YONG89C2051KONGZHIDEKEBIANPINLVHEZHANKONGBIDEMAICHONGHENGLIUYUAN 

  BENHENGLIUYUANDEFUZAIWEICHUNDIANZUXING,ZUZHIBIANHUAFANWEI100Ω~1kΩ,SHUCHUHENGDINGDIANLIU4mA。HENGLIUYUANTIGONGSANLUSHUCHU,MEILUSHUCHUMAICHONGHENGLIUYUANDEPINLVFENBIEWEI12CI/FEN、6CI/FEN、3CI/FEN,SHUCHUMAICHONGKUANDUJUNWEI300ms。 

  GAIHENGLIUYUANZHUYAOYOUHENGLIUYUANSHUCHUDIANLUJIKEBIANPINLVHEZHANKONGBIDEMAICHONGKONGZHIXINHAOCHANSHENGDIANLULIANGBUFENZUCHENG。 

辽宁快乐12走势图  YONGTTLHUOCMOSDIANLUFENPIN,YENENGGOUDEDAOSHANGSHUMAICHONGKONGZHIXINHAO,DANDIANLUBIJIAOFUZA,QIEPINLVHEZHANKONGBIBURONGYIGENGGAI。YONG89C2051DESHUCHUKOUZUOWEIMAICHONGKONGZHIXINHAO,NENGGOUTONGGUOCHENGXUGAIBIANMAICHONGKONGZHIXINHAODEPINLVHEZHANKONGBI。 

辽宁快乐12走势图  MAICHONGHENGLIUYUANDIANLURUFUTUSUOSHI。WEILESHUOMINGFANGBIAN,ZHEILIZHIHUALEYILUHENGLIUYUANSHUCHUDIANLU 

辽宁快乐12走势图  JIECHAJIANP1JIE9VDIANCHI,P3JIEFUZAI。 

  HENGLIUYUANSHUCHUDIANLUYOUU1、T1、T2HED1YIJIQITAWAIWEIDIANLUZUCHENG。T1、R3、D1、RW1HER2GOUCHENGJIZHUNDIANYAYUAN。GENJUSHEJIYAOQIU,YOUSHUCHUDIANLIUHEQUYANGDIANZUR1DEZUZHIQUEDINGJIADAOYUNFANGTONGXIANGDUANDEJIZHUNDIANWEI。ANZHAOTUZHONGDECANSHU,T1DAOTONGSHI,DIAOZHENGRW1,SHIYUNFANGDETONGXIANGDUANDEJIZHUNDIANWEIWEI0.4V,XIANRANT1JIEZHISHI,GAIJIZHUNDIANWEIDENGYU0V。T1DAOTONGSHI,RUOFUZAIDIANLIUDIYU4mA,QUYANGDIANZUR1SHANGDEDIANYAXIAJIANG,YUNFANGDEFANXIANGSHURUDUANDEDIANWEIXIAJIANG,YUNFANGDESHUCHUDIANWEISHANGSHENG,T2DEJIJIDIANWEIHEJIDIANJIDIANLIU(FUZAIDIANLIU)SHANGSHENG;FUZAIDIANLIUDAYU4mASHI,T2DEJIJIDIANWEIHEJIDIANJIDIANLIU(FUZAIDIANLIU)XIAJIANG,ZUIZHONGWEICHISHUCHUDIANLIUHENGDING。T1JIEZHISHI,YOUYUJIADAOYUNFANGTONGXIANGDUANDEJIZHUNDIANWEIJIANGDAO0V,YUNFANGDESHUCHUDIANYAXIAJIANG,T2JIEZHI,FUZAIZHONGMEIYOUDIANLIUTONGGUO。 

  KONGZHIT1DAOTONGHEJIEZHIDEMAICHONGXINHAOCONG89C2051DEP10KOUSHUCHU。CHANSHENGMAICHONGKONGZHIXINHAODERUANJIANZHUYAOYOUXUNHUANCHENGXUHEYANSHIZICHENGXUZUCHENG。 

辽宁快乐12走势图  RUGUOYAOKUODASHUCHUDIANLIUDEFANWEI,ZHIXUYONGGONGLVBIJIAODADEWENYAYUANBINGJIANGT2HUANCHENGDAGONGLVFUHEGUANBIANKE。 

  AT89CXILIEDANPIANJIJIAMIMOSHI 

  DANPIANJIJIEMIJIANDANJIUSHICACHUDANPIANJIPIANNEIDEJIAMISUODINGWEI。YOUYUAT89CXILIEDANPIANJICACHUCAOZUOSHIXUSHEJISHANGDEBUHELI。SHIZAICACHUPIANNEICHENGXUZHIQIANSHOUXIANCACHUJIAMISUODINGWEICHENGWEIKENENG。AT89CXILIEDANPIANJICACHUCAOZUODESHIXUWEI:CACHUKAISHI---->CACHUCAOZUOYINGJIANCHUSHIHUA(10WEIMIAO)---->CACHUJIAMISUODINGWEI(50----200WEIMIAO)--->CACHUPIANNEICHENGXUCUNCHUQINEIDESHUJU(10HAOMIAO)----->CACHUJIESHU。RUGUOYONGCHENGXUJIANKONGCACHUGUOCHENG,YIDANJIAMISUODINGWEIBEICACHUJIUZHONGZHICACHUCAOZUO,TINGZHIJINYIBUCACHUPIANNEICHENGXUCUNCHUQI,JIAGUOMIDEDANPIANJIJIUBIANCHENGMEIJIAMIDEDANPIANJILE。PIANNEICHENGXUKETONGGUOZONGXIANBEIDUCHU。DUIYUAT89CXILIEDANPIANJIYOULIANGZHONGBUKEPOJIEDEJIAMIFANGFA。 

  YI、YONGJIUXINGDIPOHUAIDANPIANJIDEJIAMIWEIDEJIAMIFANGFA。JIANCHENGOTPJIAMIMOSHI。 

  ER、YONGJIUXINGDIPOHUAIDANPIANJIDESHUJUZONGXIANDEJIAMIFANGFA。JIANCHENGSHAOZONGXIANJIAMIMOSHI。 

  AT89CXILIEDANPIANJIOTPJIAMIMOSHIYUANLI 

 ZHEIZHONGBIANCHENGJIAMISUANFASHAOHUAIJIAMISUODINGWEI(BAXINPIANNEIDEGUIPIANJICHUAN),MIANBUPOHUAIQITABUFEN,BUZHANYONGDANPIANJIRENHEZIYUAN。JIAMISUODINGWEIBEISHAOHUAIHOUBUZAIJUYOUCACHUTEXING,89C51/52/55YOU3GEJIAMIWEIJINYIBUZENGJIALEJIAMIDEKEKAOXING。YIDANYONGOTPMOSHIJIAMIHOU,DANPIANJIPIANNEIDEJIAMIWEIHECHENGXUCUNCHUQINEIDESHUJUJIUBUNENGBEIZAICICACHU,89C51/52/55DANPIANJIJIUHAOXIANGBIANCHENGLEYICIXINGBIANCHENGDEOTPXINGDANPIANJIYIYANG。RUGUOYONGHUCHENGXUZHANGDUDAYU89C51DANPIANJIPIANNEICUNCHUQIDERONGLIANG,YEKESHIYONGOPTMOSHIZUOJIAMI,JUTIFANGFARUXIA: 

辽宁快乐12走势图1、ANCHANGGUIKUOZHANYIPIANDARONGLIANGCHENGXUCUNCHUQI,RU27C512(64K)。

辽宁快乐12走势图2、BAGUANJIANDECHENGXUBUFENANPAIZAICHENGXUDEQIAN4KZHONG。

3、BAZHENGGECHENGXUXIERU27C512,ZAIBA27C512DEQIAN4KTIANCHONGWEI0。

4、BACHENGXUDEQIAN4KGUHUADAOAT89C51ZHONG,YONGOPTMOSHIZUOJIAMI。

辽宁快乐12走势图5、BADANPIANJIDEEAJIAOJIEGAODIANPING。

辽宁快乐12走势图ZHEIYANGCHENGXUDEQIAN4KZAIDANPIANJINEIBUYUNXING,HOU60KZAIPIANWAIYUNXING。DAOBANZHEWUFADUCHUCHENGXUDEQIAN4KCHENGXU,JISHIZHIDAOHOU60KYEWUJIYUSHI

辽宁快乐12走势图  AT89CXILIEDANPIANJILIANZONGXIANJIAMIMOSHIYUANLI 

  YINWEIDANPIANJIPIANNEIDECHENGXUDAIMAZUIZHONGDOUYAOTONGGUOSHUJUZONGXIANDUCHU,RUGUOZHIDAODANPIANJIDESHUJUZONGXIANDEQIZHONGYITIAOXIANYONGJIUXINGDIPOHUAI,JIEMIZHEJISHICACHULEJIAMIWEI,YEWUFADUCHUPIANNEIDECHENGXUDEZHENGQUEDAIMA。89C1051/2051DESHUJUZONGXIANWEIP1KOUSHAOZONGXIANMOSHISHAOHUAI89C2051DEP1.0DUANKOU,YUANCHENGXUDAIMAWEI02H、01H、00H。DUCHUDESHUJUZEWEI03H,01H,00H。QIZHONGZUIDIWEISHIZHONGWEI1,DUCHUDECHENGXUDAIMAXIANRANWEICUOMA。ZHEIZHONGJIAMIMOSHIYONGYUJIAMI89C1051/2051DANPIANJI。QUEDIANSHIZHANYONGDANPIANJIDEZIYUAN。KAIFASHEJIRENYUANZAISHEJIDANPIANJIYINGJIANXITONGSHIZHIYAOYULIUCHUKOUXIANP1.0BUYONG,YIHOUJIUKEYONGSHAOZONGXIANMOSHIDUIDANPIANJIJIAMI。