基于中穎88F58主控和FM1702射頻IC卡讀寫IC的模塊,使用UART通訊接口進行外部通訊。設(shè)計成熟可靠,已經(jīng)商業(yè)化應(yīng)用,平均每月3K以上用量
附件是原理圖,PCB圖紙和源代碼(IAR51平臺開發(fā))
Altium Designer畫的原理圖和PCB圖如下:(51hei附件中可下載工程文件)
單片機源程序如下:
- #include <ioAT89S52.h>
- #include "IO.h"
- //#include "FM1702NL.h"
- #include "FSM_CORE.h"
- #include "MSG_LIST.h"
- #include "DEBUG.h"
- #include <stdbool.h>
- #include "checksum.h"
- #include "input.h"
- #include "motor.h"
- #include "uart.h"
- //#include "keyCtrl.h"
-
- int main( void )
- {
- Port_Init();
- #ifdef DEBUG
- debug_init();
- #endif
- init_motor();
- init_uart();
- init_inp();
- fsm_core();
- //while(1);
- return 0;
- }
復(fù)制代碼
所有資料51hei提供下載:
IC卡讀寫模塊源碼.rar
(130.36 KB, 下載次數(shù): 39)
2019-8-30 14:00 上傳
點擊文件名下載附件
PCB圖.rar
(580.26 KB, 下載次數(shù): 29)
2019-8-30 14:00 上傳
點擊文件名下載附件
原理圖.rar
(32.47 KB, 下載次數(shù): 34)
2019-8-30 14:00 上傳
點擊文件名下載附件
|