摘要“考勤管理系统”是以RFID射频卡为信息识别载体的适用于企业单位或学校的考勤管理系统。本系统可使用人单位摆脱繁琐、低效的签到模式。识别工作不受环境的影响,操作方便快捷,具有防污、防水、加密存储等优点。结合网络通信技术和单片机技术,实现了企业和单位的自动考勤和对考勤数据的分析处理,节约了考勤时间,提高了考勤效率并提高了考勤的准确率,促进了企业单位的考勤管理信息化水平的发展。硬件部分我们采用瑞士微电生产的EM4095构成的射频读卡电路。该芯片具有成本低,工作稳定,精确的采样点等优点。单片机采用51系列。通过CAN总线方式与单片机互相通信。读卡电路输出信号有单片机识别出卡号利用单片机与上位机之间进行232通信,实时上传数据,传送到PC机行处理。PC主要实现功能进行检测卡号数据。硬件部分我们采用瑞士微电生产的EM4095构成的射频读卡电路。该芯片具有成本低,工作稳定,精确的采样点等优点。单片机采用51系列的AT89C52。软件部分分为读卡识别、CAN通信、AT89C52单片机与上位机通信、报警,PC方检测处理等。本设计采用的单片机开发环境为:AVR开发环境为CodeVisionAVRCCompiler,AT89C52开发环境为KeiluVision2。关键词:考勤管理系统;射频技术;单片机;CAN通信;232通信;SPI通信。Abstract"AttendanceManagementSystem"isbasedonRFIDradiofrequencyidentificationcardinformationcarrierforbusinessorschoolattendancemanagementsystem.Thesystemcanuseoneunittogetridofcumbersome,inefficientattendancepatterns.Identificationworkfromtheenvironment,easytooperate,withastainresistant,waterproof,encryptedstorageandsoon.Combinedwithnetworkcommunicationtechnologyandsingle-chiptechnology,theenterprisesandunitsofautomaticattendanceandattendancedataanalysisandprocessing,savingtimeandattendancetime,improveefficiencyandincreaseattendanceattendanceaccuracy,promotetheenterpriseinformationmanagementunitsattendancelevelofdevelopment.WeusethehardwarepartoftheSwissmicro-electricproductionconstitutedEM4095RFreadercircuitry.Thechiphasalowcost,stable,accuratesamplingpoints,andsoon.Microcontrollerwith51series.WaywiththemicrocontrollerthroughtheCANbuscommunicatewitheachother.Readercircuitoutputsignalsusingmicrocontrollermicrocontrolleridentifiesthecardnumberbetween232andPCcommunication,real-timeuploaddatatransfertoaPCforprocessing.ThemainachievementoffunctionaltestingPCcarddata.WeusethehardwarepartoftheSwissmicro-electricproductionconstitutedEM4095RFreadercircuitry.Thechiphasalowcost,stable,accuratesamplingpoints,andsoon.SCMSeries51AT89C52.Softwarepartisdividedintoreaderidentification,CANcommunication,AT89C52microcontrollerandPCcommunication,alarm,PCsidedetectionprocessing.Thisdesignusesamicrocontrollerdevelopmentenvironment:AVRdevelopmentenvironmentforCodeVisionAVRCCompiler,AT89C52developmentenvironmentfortheKeiluVision2.Keywords:AttendanceManagementSystem;RFTechnology;SCM;CANCommunication;232;SPICommunication.目录摘要...........................................................IAbstract..........................................................II第一章绪论....................................................1第二章硬件部分设计................................................32.1EM4095射频芯片部分..........................................32.1.1射频芯片选型依据......................................32.1.2EM4095射频芯片简介....................................42.1.3EM4095结构原理.......................................52.1.4磁卡与EM4095之间ISO14443协议.........................72.1.5EM4095与单片机连接原理图.............................142.2AVR单片机部分...........................