好文档 - 专业文书写作范文服务资料分享网站

基于光敏器件的打卡器设计

天下 分享 时间: 加入收藏 我要投稿 点赞

基于光敏器件的打卡器设计

摘 要

随着经济的发展,现今的企业越来越大,员工也越来越多,单靠简单的签到来记录员工的出勤情况已经很难达到目的,现在管理者们都选择了用智能打卡器来帮他们解决这个难题。本文介绍的系统就是一个基于光敏器件和单片机采集并存储信息的打卡器。整个系统以控制器AT89S52为核心,通过C语言编程控制着五个子模块,分别是显示模块、控制模块、存储模块、通信模块和状态指示模块,通过对这五个模块的控制记录员工的出勤情况。

本设计是对51单片机功能的一个完美体现,展现了51单片机强大的数据存储、数据运算和数据传输功能。当无人打卡的时候,由单片机AT89S52控制数码管显示当前时间,实现时钟功能;在有人打卡时,单片机通过八个光敏器件采集打卡人的身份信息,将信息存储在存储单元EEPROM里面并从数码管上显示,通过状态指示模块告知打卡人是否打卡成功,是否迟到,如果管理者需要查看无员工的出勤情况,可以从数码管上直接读出记录,也可以选择通过有线的或无线的方式将数据传输到电脑上读取并显示,极大地方便了管理者的管理。

关键字 单片机/打卡器/光敏器件/EEPROM

基于光敏器件的打卡器设计

Photosensor-based design of clocking

ABSTRACT

With the economic’s development, the enterprise is growing nowadays, the number of employees are become larger day by day, a simple sign to record staff attendance has been very difficult to achieve the purpose, and now the owners have opted for clocking device to help intelligence.They solve this crisis. This article describes the system is a single-chip devices and photo-based acquisition and storage device clocking information. AT89S52 in the entire system as the core controller, controls the five sub-modules, namely modules, control modules, memory modules, communication modules, and module status indication through the control of the five modules of the attendance records of employees. The 51 single-chip design is a perfect embodiment of function, demonstrating the powerful single-chip microcomputer 51 of data storage, data computing and data transmission functions. When no time clock, by the single-chip digital control AT89S52 control displays the current time, the realization of the clock function; it was clocking in, the single-chip photosensor through the acquisition of eight clocking the identity information, the information stored in the EEPROM memory cell inside the tube from the digital display through the module status indication whether this clocking clocking successful, whether or not late, if the boss need to see without the attendance of staff, you can control directly from a digital read out the records, also have the option of wired or wireless way data transfer to your computer to read and display, which greatly facilitated the management of the boss.

KEY WORDS Single-chip / clocking device / photosensitive device / EEPROM

II

基于光敏器件的打卡器设计

目 录

摘要 ........................................................................................................................................................ I ABSTRACT ........................................................................................................................................... II 目 录 ............................................................................................................................................. III 第一章 绪论 ..................................................................................................................................... 1 第二章 功能原理........................................................................................................................... 2

2.1方案论证 ............................................................................................................................ 2 2.2功能介绍 ............................................................................................................................ 2 第三章 硬件设计........................................................................................................................... 4

3.1系统硬件总体设计 ....................................................................................................... 4 3.2芯片介绍 ............................................................................................................................ 4

3.2.1 AT89s52芯片功能介绍 ............................................................................... 4

3.2.1.1 功能特性描述 ..................................................................................... 4 3.2.1.2 引脚介绍 ................................................................................................ 5 3.2.1.3 特殊功能寄存器 ................................................................................ 8 3.2.2 液晶显示简介 ................................................................................................. 10

3.2.2.1 液晶显示原理 ................................................................................... 10 3.2.2.2 液晶显示器的分类 ......................................................................... 10 3.2.2.3 液晶显示器各种图形的显示原理 ......................................... 10 3.2.2.4 1602字符型LCD简介 .................................................................. 11 3.2.2.5 1602LCD的指令说明及时序 ..................................................... 12 3.2.3时钟芯片DS1302介绍 ............................................................................... 15

III

基于光敏器件的打卡器设计

基于光敏器件的打卡器设计摘要随着经济的发展,现今的企业越来越大,员工也越来越多,单靠简单的签到来记录员工的出勤情况已经很难达到目的,现在管理者们都选择了用智能打卡器来帮他们解决这个难题。本文介绍的系统就是一个基于光敏器件和单片机采集并存储信息的打卡器。整个系统以控制器AT89S52为核心,通过C语言编程控制着五个子模块,分
推荐度:
点击下载文档文档为doc格式
3s7so6ecef207lq1bbd16zh7s4eqd201d36
领取福利

微信扫码领取福利

微信扫码分享