資源簡介
資料內(nèi)附源碼及原理圖:本設(shè)計(jì)是由STC89C52 單片機(jī)為控制核心,射頻卡信息由MFRC522模塊讀出,通過MCU在LCD12864上顯示,通過按鍵完成密碼驗(yàn)證和修改密碼的功能

代碼片段和文件信息
#include?“reg52.h“
#include?“timer.h“
#define?uchar?unsigned?char
#define?uint??unsigned?int
sbit?beep??=?P2^3; //蜂鳴器
sbit?led???=?P3^2;
sbit?relay?=?P3^3; //繼電器
void??beep1() ?
{ ??
????unsigned?int?ij;
for(i=0;i<600;i++)
{
??????for(j=80;j>0;j--); ??
??????beep=~beep;
}
}
void?LED_blink_1()
{
???led?=?0;
???Delay_ms(500);
???led?=?1;
}
void?LED_blink_2()
{
???led?=?0;
???Delay_ms(250);
???led?=?1;
???Delay_ms(250);
???led?=?0;
???Delay_ms(250);
???led?=?1;
}??
void?relay_OFF()??//關(guān)繼電器
{
??relay=1;
}
void?relay_ON()??//開繼電器
{
??relay=0;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????118045??2019-04-20?22:52??智能門禁系統(tǒng)\原理圖\6106?RC522門禁卡.pdf
?????文件?????137216??2019-04-20?22:52??智能門禁系統(tǒng)\原理圖\6106?RC522門禁卡.SchDoc
?????文件?????????44??2018-12-07?00:00??智能門禁系統(tǒng)\原理圖\更多單片機(jī)例程.txt
?????文件?????????44??2018-12-07?00:00??智能門禁系統(tǒng)\更多單片機(jī)例程.txt
?????文件????????622??2018-04-24?23:16??智能門禁系統(tǒng)\源程序\code\beep.c
?????文件????????233??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\beep.h
?????文件???????5055??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\code\ctrl.c
?????文件????????783??2018-04-24?23:16??智能門禁系統(tǒng)\源程序\code\ctrl.h
?????文件???????5424??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\code\EEPROM.C
?????文件????????165??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\EEPROM.h
?????文件???????2140??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\code\key.c
?????文件?????????86??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\key.h
?????文件???????8442??2018-04-24?22:57??智能門禁系統(tǒng)\源程序\code\lcd12864.c
?????文件????????286??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\lcd12864.h
?????文件???????1322??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\code\main.c
?????文件????????817??2018-04-25?15:59??智能門禁系統(tǒng)\源程序\code\main.h
?????文件??????18997??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\code\rc522.c
?????文件???????6014??2018-04-24?22:55??智能門禁系統(tǒng)\源程序\code\rc522.h
?????文件????????987??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\timer.c
?????文件????????244??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\timer.h
?????文件???????1672??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\uart.c
?????文件????????343??2017-10-28?20:16??智能門禁系統(tǒng)\源程序\code\uart.h
?????文件?????????44??2018-12-07?00:00??智能門禁系統(tǒng)\源程序\code\更多單片機(jī)例程.txt
?????文件????????423??2017-10-28?20:14??智能門禁系統(tǒng)\源程序\keilkilll.bat
?????文件???????2245??2019-04-20?21:22??智能門禁系統(tǒng)\源程序\prj\beep.lst
?????文件???????2953??2019-04-20?21:22??智能門禁系統(tǒng)\源程序\prj\beep.obj
?????文件????????113??2019-04-20?21:22??智能門禁系統(tǒng)\源程序\prj\beep.__i
?????文件??????10477??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\prj\ctrl.lst
?????文件??????24347??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\prj\ctrl.obj
?????文件????????113??2019-04-20?22:50??智能門禁系統(tǒng)\源程序\prj\ctrl.__i
............此處省略48個文件信息
評論
共有 條評論