摘要考勤管理一直是各种企业、事业机构重视的管理工作,一款良好的考勤系统带给企业、事业机构无形中的帮助,可以提高管理效率,有助于端正职员工作态度。在所有的考勤方式中,指纹考勤因具有高效、可靠的特点被人们广泛接受。68851
本课题就是设计一款功能良好的考勤系统,对于现阶段各种考勤系统存在的功耗大、低实时性、操作不便等缺陷做出一些改进。在总体上,本设计采用意法半导体STM32单片机作为系统核心,移植μC/OS-III操作系统用于管理系统中各个资源,利用emWin图形库创建操作性良好的可视化界面,最终实现一款嵌入式考勤系统。本课题主要研究内容包含硬件与软件两个方面:
在硬件电路方面,主要包括了电源电路、单片机最小系统、电阻液晶屏、指纹传感器等。1. 采用5V电源给指纹传感器和液晶屏供电,通过ASM1117电压转换芯片将5V电压降为3V给单片机供电。2. 单片机最小系统包括STM32芯片、BOOT设置电路、复位电路、晶振电路。3. 采用秉火3.2寸触摸液晶屏,通过ILI9341芯片控制液晶屏,通过XPT2046芯片控制触摸屏。4. 指纹模块采用型号为FM-180光学指纹传感器,主要由指纹头、DSP芯片和FLASH组成。
在软件设计方面,首先将μC/OS-III以及emWin基于Keil、STM32平台进行移植;其次是任务程序的编写,主要包括起始任务、GUI界面任务、按键截图任务、键盘任务、添加指纹任务、考勤任务等;最后,将GUI界面与其他任务联系起来,点击界面上的图标可以触发图形界面,点击按钮还可以触发任务。
在完成设计之后,通过测试检验了本设计的所有功能,验证了系统的高效可靠性,对于学校、企业考勤系统的研究具有借鉴意义。
该论文有图32幅,表7个,参考文献23篇。
毕业论文关键词:μC/OS-III emWin STM32 指纹考勤
Design of fingerprint recognition attendance machine based on μC/OS-III
Abstract
Attendance management is always attaching great importance in the aspect of the management for all kinds of enterprises and public institutions.A good attendance system give enterprises and public institutions invisible help.It can improve the efficiency of management and help the staff correct work attitude.In all the ways of check on work attendance, fingerprint attendance due to an efficient, reliable characteristics are widely accepted.
The task is to design a attendance system with well function.To make some improvements on defects of present attendance system such as big power consumption, low real-time,inconvenient operation and so on.In general,This design uses STM32 microcontroller which is produced by STMicroelectronics as the core of the system.Transplanting μC/OS-III operating system to manage the various resources. Taking advantage of emWin graphics library to create a good visual interface .Implement an embedded attendance system finally .The main content of this paper includes two aspects of hardware and software:
In terms of hardware circuit, including the power supply circuit, the smallest single-chip system, the LCD screen, fingerprint sensors. 1.Using 5V power supply to power fingerprint sensor and LCD screen.Through the voltage conversion chip ASM1117 to drop the 5V voltage to 3V and power the MCU. 2.The smallest single-chip system including STM32 chip, BOOT setting circuit, reset circuit, crystal oscillator circuit. 3.Using 3.2 inch binghuo touch LCD screen.Through the ILI9341 chip to control the LCD screen, through the XPT2046 chip to control touch screen.4.Fingerprint module adopts the model of FM - 180 optical fingerprint sensor, which is mainly composed of fingerprint head, DSP chip and FLASH.
In the aspect of software design,first,transplant μC/OS-III and emWin based on Keil, STM32 platform.The second step is the task program writing,including the initial task, GUI interface tasks, button screenshot task, keyboard tasks, add fingerprint tasks, attendance tasks, etc.Finally,linking the GUI interface with other tasks.Clicking the icon on the interface can trigger a graphical interface, you can also click the button to trigger the task.